HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

hostname is not changing

Occasional Visitor

hostname is not changing



I am trying to change the hostname for my HP-UX server (HP-UX 11.31), but the change is not happening as a permanent one.


everytime after rebooting the system i see the old hostname is getting reflected.


can you please help me out in finding out what could be the problem.






Patrick Wallek
Honored Contributor

Re: hostname is not changing

I would guess that you are just running the 'hostname' command to change the hostname, correct?


You need to change /etc/rc.config.d/netconf to permanently change the hostname on a server.


Also make sure you do not have something like /etc/rc.config.d/netconf.bak as that can cuase problems as well.