Displaying 1 result from an estimated 1 matches for "stopdb".
Did you mean:
stepdb
2008 Nov 15
1
Oracle start up script issue with RHEL3 Cluster
...## Sleep for 2 Minuts ####
# sleep 120
# echo " reStarting app"
# clusvcadm -R application
# echo " app restarted"
RETVAL=$?
return $RETVAL
}
stop() {
echo "Stopping Database"
su -l oracle -c "sh stopdb.sh"
RETVAL=$?
return $RETVAL
}
status() {
#DBUP=`ps -ef | grep oracle | grep -v grep | grep -c ora_pmon `
DBUP=`ps -ef | grep -c ora_pmon `
#LSNRUP=`ps -ef | grep oracle | grep 9.2.0 | grep -v grep | grep -c lsnrctl`
LSNRUP=`ps -ef | grep -c lsnrctl`
if [ ${DBUP} -ge 1 ]
then...