This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: RHEL5 - rgmanager: Check for all ORA- errors on start/stop


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=210681e5612703a5b9f3e578db31e234cf58cb6d
Commit:        210681e5612703a5b9f3e578db31e234cf58cb6d
Parent:        c582b8ad491784775c9ef193beeadad2dda58306
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Thu May 21 09:51:00 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Thu May 21 10:27:58 2009 -0400

rgmanager: Check for all ORA- errors on start/stop

Resolves: 471066
---
 rgmanager/src/resources/oracledb.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/resources/oracledb.sh b/rgmanager/src/resources/oracledb.sh
index 5c7b15c..137289f 100755
--- a/rgmanager/src/resources/oracledb.sh
+++ b/rgmanager/src/resources/oracledb.sh
@@ -299,7 +299,7 @@ start_db()
 	#
 
 	rm -f $tmpfile
-	grep -q "failure" $logfile
+	grep -q "^ORA-" $logfile
 	if [ $? -eq 0 ]; then
 		rm -f $tmpfile
 	echo "ORACLE_SID Incorrectly set?"
@@ -343,7 +343,7 @@ stop_db()
 	# If we see 'failure' in the log, we're done.
 	#
 	rm -f $tmpfile
-	grep -q failure $logfile
+	grep -q "^ORA-" $logfile
 	if [ $? -eq 0 ]; then
 		echo_failure
 		echo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]