Automatically launch Oracle on Solaris

zhaozj2021-02-12  156

Under /etc/init.d Next, a file DBORA, content: #! / Bin / shora_home = / oracle / product / 9.2.0ora_owner = oraclesu - $ ora_owner -c "lsnrctl start" su - $ ora_owner -c "SQLPLUS / NOLOG @ $ ora_home / dbstart.sql "

$ ORA_HOME / DBSTART.SQL content: conn / as sysdbastartupexit

Change DBORA to executable CHMOD 744 DBORA

Change dbStart.sql to Oracle All Chown Oracle / Oracle/Product/9.2.0/dbStart.sql

Then make a connection ln -s /etc/init.d/dbora /etc/rc2.d/s99dbora ln -s /etc/init.d/dbora /etc/rc0.d/k10dbora

转载请注明原文地址:https://www.9cbs.com/read-6922.html

New Post(0)