* Oracle shutdown ?!
@ 1994-11-22 21:20 Juha Eklund
1994-11-24 1:02 ` Ron Ginger
0 siblings, 1 reply; 2+ messages in thread
From: Juha Eklund @ 1994-11-22 21:20 UTC (permalink / raw)
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 ?!?!
--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Juha Eklund Avancer Ltd
mail: eklund@avancer.fi OR eklund@atkk.ptl.fi ( Internet )
C=FI AD=MAILNET PR=MEMOGW O=ATKK S=EKLUND G=JUHA (X.400)
address: Kumpulantie 11, PL 156, 00521 Helsinki, Finland
Disclaimer: I speak only for myself, no warranty given !!!!
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Oracle shutdown ?!
1994-11-22 21:20 Oracle shutdown ?! Juha Eklund
@ 1994-11-24 1:02 ` Ron Ginger
0 siblings, 0 replies; 2+ messages in thread
From: Ron Ginger @ 1994-11-24 1:02 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-11-24 1:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-22 21:20 Oracle shutdown ?! Juha Eklund
1994-11-24 1:02 ` Ron Ginger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox