Operating System - HP-UX
1825795 Members
2825 Online
109687 Solutions
New Discussion

Re: syslogd not able to resolve hostname

 
SOLVED
Go to solution
KPS
Super Advisor

syslogd not able to resolve hostname

Hi,

We just built a new server via Ignite and the syslogd daemon is running, but not able to understand what the hostname is. We have changed the hostname and made respective changed in /etc/hosts. Here is the message that we get in the syslog.log:

May 2 10:38:32 syslogd: unknown host loghost

Anything else that we're missing here???
4 REPLIES 4
Mel Burslan
Honored Contributor

Re: syslogd not able to resolve hostname

did you do an interactive ignite install, i.e., at the install time, were you asked what the new IP address and the hostname will be for the new host or just dumped the image onto the new server and changed the ip address and name in hosts file only ? If the latter is the case, there are some more steps to be taken care of. Best remedy is to use the /sbin/set_parms utility. Note that when it completes, it will require a reboot.

HTH
________________________________
UNIX because I majored in cryptology...
Rick Garland
Honored Contributor

Re: syslogd not able to resolve hostname

There are other places in which the hostname plays a role, example, in the networking setup.

Run the 'set_parm' executable and this will catch all the places where hostname needs to be changed
harry d brown jr
Honored Contributor
Solution

Re: syslogd not able to resolve hostname


You need to change the 127.0.0.1 entry in /etc/hosts to this:

127.0.0.1 localhost loopback loghost localhost.yourdomain.com loopback.yourdomain.com loghost.youromain.com


live free or die
harry d brown jr
Live Free or Die
KPS
Super Advisor

Re: syslogd not able to resolve hostname

adding the loghost entry to my 127.0.0.1 line in /etc/hosts did the trick.


Thanks everyone,
KPS