How to config Database 10g? [message #120570] |
Fri, 20 May 2005 08:59 |
zaxone
Messages: 3 Registered: May 2005
|
Junior Member |
|
|
I install Oracle Database 10g on a linux pc but i don't know how can i start up automatically the database at the linux startup
Please teach the steps after the Oracle Database Installation
Thank you all,
zaxone
|
|
|
Re: How to config Database 10g? [message #121828 is a reply to message #120570] |
Wed, 01 June 2005 04:34 |
girish.rohini
Messages: 744 Registered: April 2005 Location: Delhi (India)
|
Senior Member |
|
|
on unix environment u can follow this procedure:
Make sure the entry for your database SID in the ORATAB file ends in a capital "Y". Eg:
# $ORACLE_SID:$ORACLE_HOME:[N|Y]
#
ORCL:/u01/app/oracle/product/8.0.5:Y
#
The scripts for starting and stopping databases are: $ORACLE_HOME/bin/dbstart and dbshut. SQL*Net (or Net8) is started with the lsnrctl command. Add the following entries to your /etc/rc2.d/S99dbstart (or equivalent) file:
su - oracle -c "/path/to/$ORACLE_HOME/bin/dbstart" # Start DB's
su - oracle -c "/path/to/$ORACLE_HOME/bin/lsnrctl start" # Start listener
su - oracle -c "/path/tp/$ORACLE_HOME/bin/namesctl start" # Start OraNames (optional)
Regds
Girish
|
|
|