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

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error