ORACLE DATABASE 10 or greater ORACLE SOLARIS SPARC 1. As "root" use create OSWatcher startup/stop script (startOSWbb.sh) # uname -a SunOS solaristest 5.10 Generic_150-400 # pwd /etc/init.d # cat OSW_init.sh OSW_SRC_DIR= <<<<----- Modify this to reflect your OS Watcher source directory echo $OSW_SRC_DIR echo "******************************************************" >> $OSW_SRC_DIR/init_osw.log case $1 in 'start') echo "...Starting OSWBB from init at `date` " >> $OSWBB_SRC_DIR/init_osw.log cd $OSWBB_SRC_DIR; ./startOSWbb.sh ;; 'stop') echo "...Stopping OSWBB from init at `date` " >> $OSWBB_SRC_DIR/init_osw.log cd $OSW_SRC_DIR; ./stopOSWbb.sh ;; *) echo "Usage: $0 start|stop" >&2 exit 1 ;; esac exit 0 2. Add "execute" permissions on this script: #chmod +x OSW_init.sh 3. Create a soft link to this script fr
The Oracle, Unix and Technology World