1827234 Members
2493 Online
109716 Solutions
New Discussion

Hostname Problem

 
vselvaraj
Advisor

Hostname Problem

Hi,

In our HP servers(L1000 and A class) having HP 11.00 and 10.20, we are running Check Point Firewall. In that we changed the Hostname through SAM. But while the server is getting rebooted, the hostname reverts back to the old name.

This has happened for 3 times.
Can anyone tell why its happening?
Also how to avoid this in future?

Thanks in Advance.
4 REPLIES 4
Alex Glennie
Honored Contributor

Re: Hostname Problem

whatch out for multiple / old copies of /etc/rc.config.d/netconf in the /etc/rc.config.d directory ?
Marcel Boon
Trusted Contributor

Re: Hostname Problem

Hi,

Did you tried command "/sbin/set_parms hostname" ?
This is used for permantly change the hostname.

see man hostname.

Marcel
See the man pages
melvyn burnard
Honored Contributor

Re: Hostname Problem

Check to see if the new hostname is set in the /etc/rc.config.d/netconf file, as well as the /etc/hosts file, and if necessary edit these and remove any entry pointing to th eold name.
But the best way is to use the set_parms hostname utility

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Doug Wheeler_1
Frequent Advisor

Re: Hostname Problem

I had the same problem and not even set_parms would clean it up. In my case it appeared to be a corrupt nettl log. HP support had me issue the command
netfmt -f /var/adm/nettl.LOG00 > /tmp/log

That cleared it up.

Doug