shutdown.exe does not shut down Oracle service cleanly

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On an Oracle list, we discovered that GUI shutdown (Start -> Shutdown)
of the computer correctly runs the group policy shutdown scripts
including "net stop oracleservice". But the command shutdown.exe does
not run it, or does not run it completely, which in Oracle's term
crashes the Oracle instance. Details are in the thread "Auto shutdown
of Oracle for Windows reboot".

http://www.freelists.org/archives/oracle-l/05-2008/threads.html#00263

Is there a way to let shutdown.exe behave exactly the same as GUI
shutdown? How can I find the difference? I can't watch files or
registry keys accessed with filemon or regmon because these programs
are immediately closed when the shutdown command is issued.

Yong Huang
yong321 @ yahoo.com
.



Relevant Pages

  • Re: Is it possible to use "Run As" in a shutdown script?
    ... manager signals it to shutdown it would do its thing with Oracle. ... This would mean it would have to have a dependency on Oracle ... >> We are trying to execute a script that gently shuts down some Oracle ... >> Unfortunately our Oracle support is all handled by a database group ...
    (microsoft.public.security)
  • SUMMARY: Solaris 8 init0.d Kill script
    ... In my oracle shutdown commands I had to take out the '&' signs. ... I then added a process check before the diskset is umounted that looks like ... I have a problem with running a kill script for a database. ...
    (SunManagers)
  • Re: Problemx IPC + Oracle + AIX 5.2ML04
    ... Try to use 'shutdown immediate' for Oracle instead of just shutdown. ... Oracle shutdown will wait for all user thread to disconnect and then it will ... You should never kill an oracle process with -9. ...
    (AIX-L)
  • Re: Is it possible to use "Run As" in a shutdown script?
    ... I find it hard to believe that graceful shutdown of Oracle database ... > We are trying to execute a script that gently shuts down some Oracle ...
    (microsoft.public.security)
  • Re: Is it possible to use "Run As" in a shutdown script?
    ... Oracle provides instructions on graceful shutdowns. ... > and/or database applications requires reinvention of the wheel. ... >> databases before a shutdown or reboot. ...
    (microsoft.public.security)