Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Autostarting Oracle 8.0.5 for Linux
On other ports
scripts in rc0.d and rc2.d should be sufficient.
The only thing that needs to go in the script are the following two lines
su -c oracle dbstartup
su -c oracle lsnrctl start
(for startup)
and
su -c oracle dbshutdown
su -c oracle lnsrctl stop
(for shutdown)
The crucial thing is the scripts do not run as root, but as oracle.
Hth,
Sybrand Bakker, Oracle DBA
Greg Akins <gakinsNOgaSPAM_at_gatewayhealthplan.com.invalid> wrote in message
news:14da8ef5.d642ed39_at_usw-ex0108-063.remarq.com...
> I had asked this before and got a nod towards a Debian linux
> package. However, I'm not running Debian (Redhat5.2)
>
> I followed the Oracle Post-installation documentation. Which
> meant creating a dbora with startup info and linking that file
> to the following...
>
> # ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
> # ln -s /etc/rc.d/init.d/dbora /etc/rc2.d/S99dbora
>
> Unfortunately it doesn't see to be executing the shell (I put
> echo "bla, bla, bla" in the first line and I never see that.
>
> I'm pretty new to *nix and don't really understand the startup
> path. Could somebody help clear this up for me.
>
>
>
>
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
*
> The fastest and easiest way to search and participate in Usenet - Free!
>
Received on Fri Mar 17 2000 - 00:00:00 CST