Networking problem

From: Michael Manring (gamingfan2001@yahoo.com)
Date: Wed Aug 23 2006 - 15:58:00 EDT


Hi,

I'm running Solaris 9 118558-06 on a Sun Ultra10 and
have something really interesting going on. It all
started when I installed PostgreSQL on the machine.
After getting it fully installed, I went to try and
start the postgres server using the following command:

/usr/local/pgsql/bin/postmaster -D
/usr/local/pgsql/data

Using this command (which is how the postgres manual
says to start it), I get the following errors:

LOG: could not translate host name "localhost",
service "5432" to address: DNS non-recoverable failure
WARNING: could not create listen socket for
"localhost"
FATAL: could not create any TCP/IP sockets

Seeing this I proceeded to check everything I could
possibly think of. The contents of the hosts,
nsswitch.conf, and resolv.conf are all correct and are
readable by everyone. I even checked the permissions
on the ethernet and ip devices and they are read/write
for everyone.

To further check this, I tried doing some simple
networking commands...thats when things got weird. As
root, I can ping, nslookup, netstat...whatever. But
when I try it as a regular user, the netstat and
nslookup work perfectly, but the ping returns "unknown
host" on anything I send it...even localhost.

I hope someone can help because three other UNIX SA's
here were completely stumped. Any help is much appreciated.
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:39 EDT