Home » RDBMS Server » Networking and Gateways » Aoto Start Database
Aoto Start Database [message #66936] Wed, 19 March 2003 07:02 Go to next message
Velu Natararaj
Messages: 12
Registered: March 2003
Junior Member
Hello Guru's,
I have installed Oracle Database in Sun Solaris system. It's work fine. But every time i want to start manually. Is there is any way to auto start the service while the system loges in, what NT & Advance Server does...

Waiting for you'r reply,

Velu N
Re: Aoto Start Database [message #66942 is a reply to message #66936] Thu, 20 March 2003 05:51 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
set your TNS_ADMIN
make entries in your oratab file.
there are two scripts (dbstart and dbshut) in $ORACLE_HOME/bin.
call these scripts from your regular system startup/shutdown scripts located in init.d or rc direcotories.
NOTE THAT, system restart can be done only by ROOT.
so write a script so that root su's (switches) to oracle user and execute the dbstart/dbshut script
and these scripts take care of only database services.
u can inlcude 
lsnrctl start
lnnrctl stop 
to start/shut your listener also respectively.

Previous Topic: db link problem
Next Topic: can't install oracle9iAS on pentium4 machine
Goto Forum:
  


Current Time: Thu Nov 28 05:12:04 CST 2024