Networking Problem cont.



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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: Trojan Downloader - Clean, But One Last Task
    ... Also reset the permissions so that there is only read only permissions for ... My local host is redirected with a different ... I've attempted to open the HOSTS ... file in Windows\System32 and Drivers\etc to delete the redirect. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Can not ping localhost -- all looks correct...
    ... > ping: unknown host localhost ... What are permissions to /etc/host.conf ... Make sure that /etc/nsswitch.conf has a line referring to hosts: ...
    (comp.os.linux.networking)
  • Re: Security settings
    ... is this proof that the hosts FP ... the FP permissions, ... >> Paul M ... >> access to your database, ...
    (microsoft.public.frontpage.client)
  • Re: Permissions with Postgresql
    ... > I'm very new to Postgres so I'm not sure if this is a Debian issue or not. ... Seems like I need to grant on ... > I created a database under my user id, ... If your permissions structures are likely to be complicated, ...
    (Debian-User)
  • Bind Question
    ... change my folder write permissions? ... This is the second or third time this has happened. ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (Fedora)