1837689 Members
3570 Online
110117 Solutions
New Discussion

Server Shutdown

 
Cliff Lim Kok Hwee
Regular Advisor

Server Shutdown

Gd Day Forum,

Currently i need perform shutdown -ry 0 on HP-UX 11.11 server.

The shutdown process continue but hangs at
System shutdown in progress
___________________________

Stop SYSINFO .............................................. OK
Stop Highly Available cluster ............................. FAIL *
Stop SYSAV ................................................ OK
Stopping the Radia client subsystem ....................... OK
Stopping OpC agent proceses (opcagt). ..................... OK
Stop NFS server subsystem ................................. OK
Stop opendial ............................................. OK
Stop Hostagent ............................................


Need advice whether something is wrong? cliff
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: Server Shutdown

Looks like the system is having trouble bringing down "Hostagent" processes. What software is it?. If you have another window, look at /etc/rc.log and see if there are any error messages printed. Also looks like you didn't stop the packages in serviceguard. Serviceguard daemon didn't go down cleanly either.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: Server Shutdown

The shutdown script for the last item is hanging.

That script needs to be fixed.

Its in /sbin/init.d/

To bypass it and get a good shutdown, remove or rename the Kill script in /sbin/rc3.d or whereeveryou have it located.

The process will shutdown when all processes die.

For diagnostics put a set -x om the start/shut script in /sbin/init.d

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
Sunil Sharma_1
Honored Contributor

Re: Server Shutdown

Hi,

These services are related to comand view SDM. Do you have any VA/XP storage attached ? Is there command view SDM is installed and working ?

Look into rc.log for more details about error messages. Try to stop Hostagent and opendial services from # prompt and see what it says.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Cliff Lim Kok Hwee
Regular Advisor

Re: Server Shutdown

Guys, output of /etc/rc.log

Stop NFS server subsystem
Output from "/sbin/rc2.d/K900nfs.server stop":
----------------------------
NFS_SERVER not set to one in /etc/rc.config.d/nfsconf, exiting.

Stop opendial
Output from "/sbin/rc1.d/K013opendial stop":
----------------------------
NOTE: opendial stop

Stop Hostagent
Output from "/sbin/rc1.d/K014hostagent stop":
----------------------------
NOTE: hostagent stop

Any suggestions? cliff

Jeroen Peereboom
Honored Contributor

Re: Server Shutdown

You'll have to fix the shutdown script.
If you know that 'hostagent' may be stopped for testing purposes, execute the command manually:
/sbin/rc1.d/K014hostagent stop

Read the script (it is a link to /sbin/init/
By the way, you are not worried by the FAIL of stop Highly Available cluster?

JP.