ORACLE Linux auto startup
Tested for ORACLE 10g + RHEL 5.5 and ORACLE 11g + RHEL 5.5
Set the database startup automatically when the system startup (root account)
Change /etc/oratab last line
sid:/oracle/product/10.2.0.1:N
=>sid:/oracle/product/10.2.0.1:Y
Change /etc/rc.local
echo "su - oracle -c 'lsnrctl start'" >> /etc/rc.local
echo "su - oracle -c 'dbstart'" >> /etc/rc.local
ORACLE XE
service oracle-xe start|stop|status
Comments
Post a Comment