Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: oratab

Re: oratab

From: Klaus Sonnenleiter <klaus_at_m-machine.com>
Date: Mon, 21 Jun 1999 13:08:19 GMT
Message-ID: <376E388D.EC53BBED@m-machine.com>


You probably don't have a script included in your /etc/rc.d/init.d folder. Technically, oratab will be read by the dbstart script in your Oracle home directory. But that still means you are using it manually. There is a howto on the linux.org site that describes pretty well how to create a startup script for Oracle. The steps are not much different from creating a script for any other daemon:

  1. create the script that starts, stops or restarts based on the runlevel. It should run dbstart, dbstop, and lsnrctl to start up, shut down or restart your database and to do the same for the listener.
  2. place the script in /etc/rc.d/oracle
  3. create a symbolic link in every runlevel folder (rc0.d, rc1.d ... rc6.d).
  4. test it.

Good luck

Klaus Sonnenleiter
The Media Machine, LLC

Robert Chung wrote:

> What program reads "/etc/oratab" and starts Oracle Server in Unix? My
> Oracle database on Linux does not start up automatically on machine
> start up. (I have to start it manually) Where should I look to fix
> it? Thank you in advance.
Received on Mon Jun 21 1999 - 08:08:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US