Operating System - HP-UX
1833751 Members
2378 Online
110063 Solutions
New Discussion

Failed to start hostagent after rebooting

 
jhuihuihi
Contributor

Failed to start hostagent after rebooting

Dear all,

I've just rebooted my server, then i see that hostagent failed to start, and the hostname become unknown.
Pls help me to resolve the problem

thanks,

Sam
4 REPLIES 4
K.Vijayaragavan.
Respected Contributor

Re: Failed to start hostagent after rebooting

Ensure HOSTNAME=" " parameter is set with the actual host name in the /etc/rc.config.d/netconf file.
"Let us fine tune our knowledge together"
V.Tamilvanan
Honored Contributor

Re: Failed to start hostagent after rebooting

Hi,
Boot through single user mode and set your hostname once agai by using set_parms initial.

#set_parms initial

See man pages of set_parms.

HTH
Enrico P.
Honored Contributor

Re: Failed to start hostagent after rebooting

Hi,
if you not solved check if there is some file in the /etc/rc.config.d directory that not should be or that hold the HOSTNAME variable.
Check for the correct hostname in the /etc/rc.config.d/netconf and in the /etc/hosts file an try:

/sbin/init.d/net stop
/sbin/init.d/net start

Good luck.

Enrico.
Caesar_3
Esteemed Contributor

Re: Failed to start hostagent after rebooting

Hello!

Check the /etc/rc.config.d/netconf and see
what's your hostname there.
Probably some problem with the variable,
does the other network parameters are ok?
like ip.
Also could be problem with the file,
you can find template for the file in:
/usr/newconfig/etc/rc.config.d/netconf

Caesar