Operating System - HP-UX
1819803 Members
2903 Online
109607 Solutions
New Discussion юеВ

Restart any sercive after any changes in the hosts-file?

 
ekke2
Occasional Advisor

Restart any sercive after any changes in the hosts-file?

If I change something with the context in the
hosts file, must I restart any services?
If I must, which services, must I restart?
Operating systenm is HP-Ux ver 11.00
4 REPLIES 4
spex
Honored Contributor

Re: Restart any sercive after any changes in the hosts-file?

ekke2,

In general, changes to /etc/hosts take effect immediately. However, a reboot will be required if you change your server's hostname or IP address through /sbin/set_parms.

Check out:

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1002717

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=7300

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=886276

PCS
Steven E. Protter
Exalted Contributor

Re: Restart any sercive after any changes in the hosts-file?

Shalom ekke2,

Short answer: no.

Serviceguard can go crazy if hostnames it expects to be there suddenly are not. Oracle may not like that much either.

You will need to look at what services use /etc/hosts to accurately answer your question.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: Restart any sercive after any changes in the hosts-file?

Shalom ekke2,

Short answer: none.

Serviceguard can go crazy if hostnames it expects to be there suddenly are not. Oracle may not like that much either.

You will need to look at what services use /etc/hosts to accurately answer your question.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mustafa Gulercan
Respected Contributor

Re: Restart any sercive after any changes in the hosts-file?

hi;
i think you should check /etc/rc.confgi.d/netconf,and you may /sbin/init.d/net stop and start.
if you use service guard check /etc/cmclnodelist

regards;
mustafa