<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [Pacemaker] Could not connect to the CIB service: connection failed</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
I don't know if it is just my versions or my configuration but use_mgmtd and/or use_logd cause pacemaker to<BR>
fail to start with the following configurations and RPMs (I'm running RHEL 5.5 with clusterlabs repo)<BR>
Let me know if you spot something amiss<BR>
<BR>
Thanks,<BR>
<BR>
Brett<BR>
<BR>
<BR>
RPMS:<BR>
corosync-1.2.7-1.1.el5<BR>
corosync-libs-1.2.7-1.1.el5<BR>
cluster-glue-1.0.6-1.6.el5<BR>
cluster-glue-libs-1.0.6-1.6.el5<BR>
heartbeat-3.0.3-2.el5.x86_64.rpm<BR>
heartbeat-libs-3.0.3-2.el5.x86_64.rpm<BR>
openais-1.1.3-1.6.el5.x86_64.rpm<BR>
openaislib-1.1.3-1.6.el5.x86_64.rpm<BR>
pacemaker-1.0.9.1-1.15.el5<BR>
pacemaker-libs-1.0.9.1-1.15.el5<BR>
resource-agents-1.0.3-2.6.el5<BR>
<BR>
Configuration:<BR>
/etc/corosync/corosync.conf:<BR>
compatibility: none<BR>
aisexec {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user: root<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group: root<BR>
}<BR>
<BR>
totem {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version: 2<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # How long before declaring a token lost (ms)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; token:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5000<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # How many token retransmits before forming a new configuration<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; token_retransmits_before_loss_const: 20<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # How long to wait for join messages in the membership protocol (ms)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; join:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # How long to wait for consensus to be achieved before starting a new round of membership configuration (ms)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; consensus:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7500<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Turn off the virtual synchrony filter<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vsftype:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; none<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Number of messages that may be sent by one processor on receipt of the token<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max_messages:&nbsp;&nbsp; 20<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Disable encryption<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secauth:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; off<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # How many threads to use for encryption/decryption<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; threads:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Limit generated nodeids to 31-bits (positive signed integers)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; clear_node_high_bit: yes<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Optionally assign a fixed node id (integer)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # nodeid:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1234<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; interface {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ringnumber: 0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bindnetaddr: 10.16.2.0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mcastaddr: 239.255.5.2<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mcastport: 694<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>
}<BR>
<BR>
logging {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fileline: off<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_stderr: no<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_logfile: yes<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_syslog: no<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logfile: /var/log/corosync.log<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug: off<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; timestamp: on<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logger_subsys {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subsys: AMF<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug: off<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>
}<BR>
<BR>
amf {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mode: disabled<BR>
}<BR>
<BR>
--END--<BR>
<BR>
/etc/corosync/service.d/pcmk:<BR>
service {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Load the Pacemaker Cluster Resource Manager<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name: pacemaker<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ver:&nbsp; 0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Either of these causes pacemaker to fail to start<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #use_mgmtd: yes<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #use_logd: yes<BR>
}<BR>
<BR>
--END--<BR>
<BR>
-----Original Message-----<BR>
From: Dejan Muhamedagic [<A HREF="mailto:dejanmm@fastmail.fm">mailto:dejanmm@fastmail.fm</A>]<BR>
Sent: Tue 17/08/2010 13:01<BR>
To: The Pacemaker cluster resource manager<BR>
Subject: Re: [Pacemaker] Could not connect to the CIB service: connection failed<BR>
<BR>
Hi,<BR>
<BR>
On Tue, Aug 17, 2010 at 10:28:01AM +0100, Brett Delle Grazie wrote:<BR>
&gt; Hi,<BR>
&gt;<BR>
&gt; Are you using backports or the madkis repository?<BR>
&gt; For lenny you should be using backports.<BR>
&gt;<BR>
&gt; I had a similar problem, remove the 'use_logd' and 'use_mgmtd' lines from your<BR>
&gt; service entry for pacemaker.&nbsp; Try just removing the use_logd first.<BR>
&gt;<BR>
&gt; I think the current version(s) of pacemaker no longer use logd or the service<BR>
&gt; definition in corosync no longer supports it.<BR>
<BR>
Really? Hmm, nobody told me. At any rate, that'd be a serious<BR>
regression and would break some existing installations.<BR>
Otherwise, it could be that it's unintentionally broken. If so,<BR>
then the packages need to be fixed.<BR>
<BR>
&gt; btw, my service definition for pacemaker is in a separate file in /etc/corosync/services.d/<BR>
&gt;<BR>
&gt; (or some similar directory - I can't quite remember and I'm not at my system at the moment).<BR>
<BR>
/etc/corosync/service.d<BR>
<BR>
Thanks,<BR>
<BR>
Dejan<BR>
<BR>
&gt;<BR>
&gt; Hope this helps.<BR>
&gt;<BR>
&gt; Brett<BR>
&gt;<BR>
&gt;<BR>
&gt; -----Original Message-----<BR>
&gt; From: Bastian Schern [<A HREF="mailto:ml04@reventix.de">mailto:ml04@reventix.de</A>]<BR>
&gt; Sent: Tue 17/08/2010 10:08<BR>
&gt; To: The Pacemaker cluster resource manager<BR>
&gt; Subject: [Pacemaker] Could not connect to the CIB service: connection failed<BR>
&gt;&nbsp;<BR>
&gt; Hallo,<BR>
&gt;<BR>
&gt; I tried to install Pacemaker with Corosync on Debian Lenny based on the<BR>
&gt; HowTo: <A HREF="http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo">http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo</A><BR>
&gt;<BR>
&gt; Some month ago I already set up my first working Cluster on Lenny<BR>
&gt; without any problems.<BR>
&gt;<BR>
&gt; But now on two new hosts I'm not able to get the CRM working. Corosync<BR>
&gt; itself seems to work.<BR>
&gt;<BR>
&gt; I attached my corosync.conf and the corresponding log lines.<BR>
&gt;<BR>
&gt; Does anybody know what's going wrong?<BR>
&gt;<BR>
&gt; Thanks<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bastian<BR>
&gt;<BR>
</FONT>
</P>

<BR>
______________________________________________________________________<BR>
This email has been scanned by the MessageLabs Email Security System.<BR>
For more information please visit http://www.messagelabs.com/email <BR>
______________________________________________________________________<BR>
</BODY>
</HTML>