Re: Can smf shutdown oracle at reboot/shutdown?



Andrew Gabriel wrote:
In article <gbut2k$j1s$1@xxxxxxxxxxxxxxxxxx>,
"Mr. Chow Wing Siu" <wschow@xxxxxxxxxxxxxxxx> writes:
Gary Mills <mills@xxxxxxxxxxxxxxx> wrote:
That looks okay, although I've never specified dependancies like that.
The next thing is to examine the logfile to see what happens when the
machine is stopped and started. Also, look at the methods to
determine if they are actually stopping and starting the Oracle
service.
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-

I get the reason. It is because I do a "reboot" command only.

"reboot" does syslog, sync, reboot and doesn't run any rc scripts
or smf actions. Therefore I need to do "init 6" instead forever.

When Oracle 10g in Linux before, Linux makes me feel "reboot" is
pretty good enough because "reboot" equals "init 6". Solaris does not.
Well, I do not mean to complaint Solaris. Just a different thing.

reboot (and halt and poweroff) are specifically to avoid the
shutdown scripts. They're fine if you aren't running an app
which needs careful taking down, but as you are, you should be
using init (or shutdown which calls init under the covers).

If you want the machine to stop fast, use 'uadmin 2 0'.
.



Relevant Pages

  • Keyboard not responding
    ... I've just started using Linux in the last week or so. ... INIT: ... Try to reboot and system hangs again. ...
    (Fedora)
  • Re: Can smf shutdown oracle at reboot/shutdown?
    ... It is because I do a "reboot" command only. ... Therefore I need to do "init 6" instead forever. ... When Oracle 10g in Linux before, Linux makes me feel "reboot" is ... shutdown scripts. ...
    (comp.unix.solaris)
  • Re: reboot -- -r
    ... It's a reconfiguration reboot. ... Except the 'init 6' will run shutdown scripts. ...
    (comp.unix.solaris)
  • XP SP2 reboot problem - looks like microsofts fault
    ... reloading and trying to fix Microsoft OS failures, hangs, blue screens, ... Microsoft has been out since late 80's? ... Linux seems to be pretty stable and isnt a 'company' as such. ... I hardly reboot the thing (unless things get slow which ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: GRRRR!!!
    ... I have a linux system, and generally> it doesn't need rebooting. ... apparently it's time for me to just set up a> completely separate box...with Windows. ... Meaning that when you plug the computer back in and reboot it, it needs to be reset from the router to assign it an internal ip. ...
    (alt.2600)