Script

pchero on November 9th, 2010

#!/bin/bash## Run-level Startup script for the Oracle Instance and Listener## chkconfig: 345 91 19# description: Startup/Shutdown Oracle listener and instanceORA_HOME=”/u01/app/oracle/product/9.2.0.1.0″ORA_OWNR=”oracle”# if the executables do not exist — display errorif [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]then echo “Oracle startup: cannot start” exit 1fi# depending on parameter — startup, shutdown, restart # of the […]

Continue reading about ORACLE – init script