Re: .bash_logout + Oracle shutdown
Date: 1 Mar 2003 22:37:22 -0800
Message-ID: <92eeeff0.0303012237.4f21a86f_at_posting.google.com>
Beserko <beserkobob_at_yahoo.ca> wrote in message news:<pan.2003.02.28.20.42.56.598047.7579_at_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