[Cluster-devel] [PATCH] Cman: Handle "another instance running" error code

Fabio M. Di Nitto fabbione at fabbione.net
Thu Jan 6 10:37:30 UTC 2011


Re-iterating the patch for ACK to go in RHEL6.

Fabio

On 1/6/2011 11:28 AM, Fabio M. Di Nitto wrote:
> From: Jan Friesse <jfriesse at 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;




More information about the Cluster-devel mailing list