From: ginger@pcm.ultranet.com (Ron Ginger)
Subject: Re: Oracle shutdown ?!
Date: Wed, 23 Nov 1994 20:02:45 [thread overview]
Message-ID: <ginger.20.00140C50@pcm.ultranet.com> (raw)
In-Reply-To: 19dvbisINN6kk@ofelia.avancer.fi
In article <19dvbisINN6kk@ofelia.avancer.fi> eklund@ofelia.avancer.fi (Juha Eklund) writes:
>From: eklund@ofelia.avancer.fi (Juha Eklund)
>Subject: Oracle shutdown ?!
>Date: 22 Nov 1994 23:20:49 +0200
>Howdy Netters,
>I have an AXP system with Oracle database. SO I need to start
>the database when the machine starts up and stop it when the
>machine stops ( sounds like trivial task ). So I make a file
>( S99oracle ) which have the following line
> su - oracle -c "dbstart"
>in it and the file is placed in the /sbin/rc3.d directory and
>it works. *But* where the shutdown-file ( K01oracle ?! ) should
>be placed ?!?! I tried to place it in the /sbin/rc2.d -directory
>but when I'm doing shutdown -r now, the output isn't shown in
>the console ?!?! Should the file be in another place or is there
>some additional things to do ?!!?
>PS: When I'm doing init 2, it works ?!?!
>
This is one of those feature/bug things. If you do shutdown with -r or -h is
DOES NOT run thru the /sbin/rc0.d directory as you would think. If you do
init , then all scripts in rc0.d get executed.
If you read the man page on shutdown very carefully, it does say this. Most
people thinks its dumb, but this is how it works.
So you must do init to get everything stopped, then do manual reboot from the
console. Or manually shutdown oracle, then do shutdown -r .
ron ginger
prev parent reply other threads:[~1994-11-24 1:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-11-22 21:20 Oracle shutdown ?! Juha Eklund
1994-11-24 1:02 ` Ron Ginger [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox