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 07-04-2012, 11:04 AM
"Fabio M. Di Nitto"
 
Default rgmanager: Fix orainstance.sh error checking

ACK

On 6/28/2012 9:57 PM, Ryan McCabe wrote:
> 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
>
>
 

Thread Tools




All times are GMT. The time now is 10:11 PM.

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