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 01-06-2011, 09:28 AM
"Fabio M. Di Nitto"
 
Default Cman: Handle "another instance running" error code

From: Jan Friesse <jfriesse@redhat.com>

Related: rhbz#617247, rhbz#617234
---
cman/cman_tool/join.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/cman/cman_tool/join.c b/cman/cman_tool/join.c
index 60460d5..caa5bf6 100644
--- a/cman/cman_tool/join.c
+++ b/cman/cman_tool/join.c
@@ -85,6 +85,12 @@ static const char *corosync_exit_reason(signed char status)
case 16:
return "Required directory not present /var/lib/corosync.";
break;
+ case 17:
+ return "Could not acquire lock";
+ break;
+ case 18:
+ return "Another Corosync instance is already running";
+ break;
default:
sprintf(reason, "Error, reason code is %d", status);
return reason;
--
1.7.2.3
 

Thread Tools




All times are GMT. The time now is 07:14 PM.

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