Displaying 1 result from an estimated 1 matches for "dbup".
Did you mean:
dbuf
2008 Nov 15
1
Oracle start up script issue with RHEL3 Cluster
...t; 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
if [ ${LSNRUP} -ge 1 ]
then
echo "D...