From: Beserko <beserkobob@yahoo.ca>
Subject: Re: .bash_logout + Oracle shutdown
Newsgroups: comp.databases.oracle
Message-ID: <pan.2003.03.03.00.20.05.316984.14283@yahoo.ca>
References: <pan.2003.02.28.02.31.57.934839.3131@yahoo.ca> <92eeeff0.0302281011.40c62943@posting.google.com> <pan.2003.02.28.20.42.56.598047.7579@yahoo.ca> <92eeeff0.0303012237.4f21a86f@posting.google.com>
User-Agent: Pan/0.11.4 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "Rauf Sarwar" <rs_arwar@hotmail.com>
Lines: 23
Date: Sun, 02 Mar 2003 19:20:06 -0500
NNTP-Posting-Host: 24.201.26.236
X-Complaints-To: abuse@videotron.ca
X-Trace: weber.videotron.net 1046650902 24.201.26.236 (Sun, 02 Mar 2003 19:21:42 EST)
NNTP-Posting-Date: Sun, 02 Mar 2003 19:21:42 EST


Ok.  Thanks for the advice.

On Sun, 02 Mar 2003 01:37:22 -0500, Rauf Sarwar wrote:

> Beserko <beserkobob@yahoo.ca> wrote in message
> news:<pan.2003.02.28.20.42.56.598047.7579@yahoo.ca>...
>> Will it work if I only want to shut it down when I logout, not when I
>> shutdown ?  I only want to shutdown the database after I logout from
>> the user profile.
>> 
>> 
>> 
> No. rc0.d scripts run at system shutdown/reboot and rc3.d run at system
> startup. .bash_logout script that you referred to runs at ssh or telnet
> logout. If you have an Oracle shutdown script, you should be able to run
> it from there. I am not a Linux admin so I would suggest you should post
> this in comp.os.linux.redhat for a better response.
> 
> You should, however, create your generic Oracle startup/shutdown script
> which you may be able to call at different times.
> 
> Regards
> /Rauf Sarwar

