Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to reboot my server, strucks while stopping oracle

daffodil
Occasional Advisor

Unable to reboot my server, strucks while stopping oracle

While rebooting the server HPUX 11.31. It strucks here and it wont skip or go further..
System shutdown in progress
___________________________

Stopping Control Daemon ......................................... OK
Stopping OVTrcSrv... ............................................ N/A
Stop Radia inventory daemons .................................... OK
Stop kwdbd ...................................................... N/A
Stopping HP-UX Apache-based Web Server .......................... OK
Stopping HP-UX Tomcat-based Servlet Engine. ..................... N/A
Stopping HP-UX Webmin-based Admin ............................... OK
Stopping the HPUX Webproxy subsystem ............................ OK
Stopping HP-UX XML Web Server Tools ............................. OK
Stop ESM network daemon ......................................... OK
Stop NFS server subsystem ....................................... OK
Stopping the ORACLE subsystem ...................................

When i checked rclog... it hungs ...here..

Stopping Oracle Enterprise manager 10g AS console
-------------------------------------------------
Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.3.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://cbpux30.ipcbpr.com:1156/emd/console/aboutApplication

Stopping Oracle Enterprise Manager 10g Application Server Control ...
Cannot determine Oracle Enterprise Manager 10g Application Server Control process; /oracle_base/oas/bin/emctl.pid does not exist.
Oracle Enterprise Manager 10g Application Server Control may not be running.
-----------------------------
Stopping 10g IAS
-----------------------------
opmnctl: stopping opmn and all managed processes...

______________

I'm not sure this infos will be enough to anwer or not...but i can provide you the logs for more investigation.... Thanks in advance...
_____________________
3 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: Unable to reboot my server, strucks while stopping oracle

Hi:

See TG Manikandan's response in this thread:

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1315491

Regards!

...JRF...
TTr
Honored Contributor

Re: Unable to reboot my server, strucks while stopping oracle

First of all oracle should be the first one to shutdown before ANY of the other OS services. If there is an oracle dependancy to any of the services that shutdown already, oracle will either hang or crash.
Then if oracle is in the middle of a large job, it will not shutdown until the big job is finished or you force it to shutdown with a "shutdown abort" method which is brute force and needs special treatment. You or your DBA should connect to oracle and see what it is doing in the database to determine why it is not shutting down.
Bill Hassell
Honored Contributor

Re: Unable to reboot my server, strucks while stopping oracle

The ordering of Oracle shutdown very wrong. As mentioned above, all applications that depend on Oracle must be stopped first, then Oracle shutdown, then the rest of the items. This is controlled by the symlinks in /etc/rc*.d and can be seen (in shutdown order by init state) with the command:

ll /sbin/rc?.d/K*

The "K" links point to the shutdown scripts in /sbin/init.d and the first item in the list will be the first to be shutdown when changing to the specified init state. So the number should be low (like K002oracle) in rc2.d. The "K" specifies a stop link and the 3 digits will order the steps regardless of the name of the script.

This is opposite to "S" links which are run at startup. The highest numbers (S998oracle) are run last during bootup.


Bill Hassell, sysadmin