1754016 Members
7826 Online
108811 Solutions
New Discussion юеВ

rc.log

 
Hyun Ju Kim
Occasional Contributor

rc.log

Hi,
I have old HP-UX machine (9000/755, 9.5).
When I rebooting the workstation, I get the error message the network is failed and this machine couldn't get "hostname".
I look the "rc.log" file and found something wrong, but I coundn't fix it.
The router(hh13-router) is right address and ping is O.K.
TELNET or FTP is working but "NSLOOKUP" or "NETSTAT" didn't work.
Could you examine the rc.log attached.
Thank you in advance.
4 REPLIES 4
Insu Kim
Honored Contributor

Re: rc.log

Just check a file, /etc/nsswitch.conf, out to see if it has a proper policy.

If nsswitch.conf exists and you don't use DNS server to resolve hostname to ip address, simply move that file to nsswitch.conf.prev and try again.
Never say "no" first.
Insu Kim
Honored Contributor

Re: rc.log

Sorry that I didn't see attached.

Get hosts file in the /etc to make sure that
127.0.0.1 localhost loopback is there!
Never say "no" first.
Antoanetta Naghiu
Esteemed Contributor

Re: rc.log

Hi,
Run #hostname box_name
and after just #hostname
the box should return the_host_name.
Modify the /etc/nsswitch.conf for hosts put files first
Edit /etc/hosts having the first line the 127.0.0.1 localhost
Any better?
Berlene Herren
Honored Contributor

Re: rc.log

In order to use the nsswitch.conf for 9.05, you need to apply PHNE_4563...

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm