Networking Problem cont.

From: Michael Manring (gamingfan2001@yahoo.com)
Date: Thu Aug 24 2006 - 09:24:25 EDT


Hi all,

Thanks for all your quick responses. I believe I am
answering all of your questions with this post. I am
including my original message at the bottom. The
posted files are as they appear without comments.
Directory permissions of /etc are 755.

nsswitch.conf (permissions 644):
passwd: files
group: files
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
printers: user files
auth_attr: files
prof_attr: files
project: files

resolve.conf (permissions 644):
domain rtpnc.epa.gov
nameserver 134.67.xxx.xxx
nameserver 134.67.xxx.xxx
search rtpnc.epa.gov rtp.epa.gov epa.gov

hosts (symlink to /etc/inet/hosts;
       permissions: link - 777, /etc/inet/hosts -
755):
127.0.0.1 localhost loghost
134.67.xxx.xxx legba.rtp.epa.gov legba loghost

Running "ifconfig -a" I get both a loopback device and
an ethernet device. The loopback has 127.0.0.1 and
the ethernet has the correct IP as well.

Also tried executing the command "truss -o /tmp/log -f
ping localhost". This output:
"truss: cannot trace set-id or unreadable object file
/usr/sbin/ping"
Permissions on /usr/sbin/ping are 4555.

As for running "netstat -l", it is saying that l is an
illegal option. I'm assuming that is a lowercase L.
If its not, let me know.

Michael Manring wrote:
> 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