FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 06-28-2012, 07:57 PM
Ryan McCabe
 
Default rgmanager: Fix orainstance.sh error checking

Pull in the fixed error checking that was added to oracledb.sh as a fix for
rhbz#471066.

Resolves: rhbz#723819

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
---
rgmanager/src/resources/orainstance.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/resources/orainstance.sh b/rgmanager/src/resources/orainstance.sh
index 6f2ff15..a9f690d 100755
--- a/rgmanager/src/resources/orainstance.sh
+++ b/rgmanager/src/resources/orainstance.sh
@@ -105,7 +105,7 @@ start_db() {

# If we see:
# ORA-.....: failure, we failed
- grep -q "failure" $logfile
+ grep -q "^ORA-" $logfile
rv=$?

rm -f $logfile
@@ -155,7 +155,7 @@ stop_db() {
return 1
fi

- grep -q failure $logfile
+ grep -q "^ORA-" $logfile
rv=$?
rm -f $logfile

--
1.7.10.2
 

Thread Tools




All times are GMT. The time now is 03:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org