kods.net » oracle,oracle user,oracle product » The easiest way to automatically start the ORACLE

The easiest way to automatically start the ORACLE

The easiest way to automatically start the ORACLE

Will launch the script into the system, rc.local, you will start.sql into / home / oracle / under, and modify permissions for the oracle user can read and execute on it.
Startup script:
#! / Bin / sh
su - oracle <<EOF
lsnrctl start
/ u01/oracle/product/10.2.0/db_1/bin/sqlplus / nolog @ / home / oracle / start.sql
EOF

start.sql content:
conn / as sysdba
startup
rn rn rn
Digg Technorati StumbleUpon Mixx del.icio.us Reddit BlinkList Furl YahooMyWeb

Tags: oracle, oracle user, oracle product, lt, conn, startup script

Permalink: http://www.kods.netwww.kods.net/the-easiest-way-to-automatically-start-the-oracle/

Leave a reply