<div style="font-family: Arial; font-size: 13;">Found the 2 reasons:<br><br>1) I had to use gcc 4.8 for libqb to use internal memory barries<br><br>this still did not solve the crash but changed the way it crashed the subdaemons<br><br>2) /usr/var/run is not writable to everyone, but pacemakerd subdaemons want to create socket files here with hacluster user, and fail!<br><br>I will see if I can create these files in advance with correct permission during installation, but : how can I change this directory? looks like its libqb, but how can I drive this folder from the daemons? This way I could create a /usr/var/run/cluster with permissions and let everything run there.<br><br>Thanks<br><br>Gabrele<br><br><div id="wt-mailcard"><div style="font-family: Arial;">----------------------------------------------------------------------------------------<br></div><div style="font-family: Arial;"><b>Sonicle S.r.l. </b>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></div><div style="font-family: Arial;"><b>Music: </b><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></div><div style="font-family: Arial;"><b>Quantum Mechanics : </b><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></div></div><br><hr><br><br><font face="Arial, Helvetica, sans-serif" size="2"><b>Da:</b> Gabriele Bulfon &lt;gbulfon@sonicle.com&gt;<br><b>A:</b> Cluster Labs - All topics related to open-source clustering welcomed &lt;users@clusterlabs.org&gt; kwenning@redhat.com <br><b>Data:</b> 23 agosto 2016 15.05.32 CEST<br><b>Oggetto:</b> Re: [ClusterLabs] pacemakerd quits after few seconds with some errors<br></font><br><br><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><div style="font-family: Arial; font-size: 13;">I found that pacemakerd leaves a core file where I launch it, nad here is the output from &quot;mdb core&quot;:<br><br>sonicle@xstorage1:/sonicle/etc/cluster/corosync# mdb core<br>Loading modules: [ libc.so.1 ld.so.1 ]<br>&gt; $C<br>08047a48 libqb.so.0.18.0`qb_thread_lock+0x16(0, feef9875, 8047a9c, fe9eb842, fe9ff000, 806fc78)<br>08047a68 libqb.so.0.18.0`qb_atomic_int_add+0x22(806fd84, 1, 8047a9c, 773)<br>08047a88 libqb.so.0.18.0`qb_ipcs_ref+0x23(806fc78, fea30960, feef9865, fe9de139, fede608f, 806fb58)<br>08047ab8 libqb.so.0.18.0`qb_ipcs_create+0x68(8057fd9, 0, 0, 8069470, 805302e, 20)<br>08047ae8 libcrmcommon.so.3.5.0`mainloop_add_ipc_server+0x77(8057fd9, 0, 8069470, 8047b64, 0, feffb0a8)<br>08047b28 main+0x18e(8047b1c, fef726a8, 8047b58, 8052d2f, 1, 8047b64)<br>08047b58 _start+0x83(1, 8047c70, 0, 8047c8c, 8047ca0, 8047cb4)<br><br><br><div id="wt-mailcard"><div style="font-family: Arial;">----------------------------------------------------------------------------------------<br></div><div style="font-family: Arial;"><b>Sonicle S.r.l. </b>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></div><div style="font-family: Arial;"><b>Music: </b><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></div><div style="font-family: Arial;"><b>Quantum Mechanics : </b><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></div></div><br><hr><br><br><font face="Arial, Helvetica, sans-serif" size="2"><b>Da:</b> Gabriele Bulfon &lt;gbulfon@sonicle.com&gt;<br><b>A:</b> kwenning@redhat.com Cluster Labs - All topics related to open-source clustering welcomed &lt;users@clusterlabs.org&gt; <br><b>Data:</b> 23 agosto 2016 14.30.20 CEST<br><b>Oggetto:</b> Re: [ClusterLabs] pacemakerd quits after few seconds with some errors<br></font><br><br><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><div style="font-family: Arial; font-size: 13;">About the hacluster/haclient user/group, I staft to think that cib can&#39;t connect because it&#39;s started by pacemakerd with user hacluster, even though pacemakerd is started as root.</div><div style="font-family: Arial; font-size: 13;">Instead, just before pacemakerd is able to connect with the same call, but that is the root user.</div><div style="font-family: Arial; font-size: 13;">So I tried to run pacemakerd as hacluster, and infact it can&#39;t start that way.</div><div style="font-family: Arial; font-size: 13;"><br></div><div style="font-family: Arial; font-size: 13;">I tried then to add the uidgid spec in the corosync.conf, but seems not to work anyway.</div><div style="font-family: Arial; font-size: 13;"><br></div><div style="font-family: Arial; font-size: 13;">So ...should I start also corosync as hacluster? Is it safe to run everything as root? How can I force pacemakerd to run every child as root?</div><div style="font-family: Arial; font-size: 13;"><br></div><div style="font-family: Arial; font-size: 13;">...if this is the problem...<br><br><div id="wt-mailcard"><div style="font-family: Arial;">----------------------------------------------------------------------------------------<br></div><div style="font-family: Arial;"><b>Sonicle S.r.l. </b>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></div><div style="font-family: Arial;"><b>Music: </b><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></div><div style="font-family: Arial;"><b>Quantum Mechanics : </b><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></div></div><tt><br><br><br>----------------------------------------------------------------------------------<br><br>Da: Klaus Wenninger &lt;kwenning@redhat.com&gt;<br>A: users@clusterlabs.org <br>Data: 23 agosto 2016 9.07.03 CEST<br>Oggetto: Re: [ClusterLabs] pacemakerd quits after few seconds with some        errors<br><br></tt><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>On 08/23/2016 08:50 AM, Gabriele Bulfon wrote:<br>&gt; Ok, looks like Corosync now runs fine with its version, but then<br>&gt; pacemakerd fails again with new errors on attrd and other daemons it<br>&gt; tries to fork.<br>&gt; The main reason seems around ha signon and cluster process group api.<br>&gt; Any idea?<br>Just to be sure: You recompiled pacemaker against your new corosync?<br><br>Klaus<br>&gt; Gabriele<br>&gt;<br>&gt; ----------------------------------------------------------------------------------------<br>&gt; *Sonicle S.r.l. *: http://www.sonicle.com &lt;http://www.sonicle.com/&gt;<br>&gt; *Music: *http://www.gabrielebulfon.com &lt;http://www.gabrielebulfon.com/&gt;<br>&gt; *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon<br>&gt;<br>&gt;<br>&gt;<br>&gt; ----------------------------------------------------------------------------------<br>&gt;<br>&gt; Da: Jan Pokorn&yacute; &lt;jpokorny@redhat.com&gt;<br>&gt; A: users@clusterlabs.org<br>&gt; Data: 23 agosto 2016 7.59.37 CEST<br>&gt; Oggetto: Re: [ClusterLabs] pacemakerd quits after few seconds with<br>&gt; some errors<br>&gt;<br>&gt;     On 23/08/16 07:23 +0200, Gabriele Bulfon wrote:<br>&gt;     &gt; Thanks! I am using Corosync 2.3.6 and Pacemaker 1.1.4 using the<br>&gt;     &quot;--with-corosync&quot;.<br>&gt;     &gt; How is Corosync looking for his own version?<br>&gt;<br>&gt;     The situation may be as easy as building corosync from GitHub-provided<br>&gt;     automatic tarball, which is never a good idea if upstream has its own<br>&gt;     way of proper release delivery:<br>&gt;     http://build.clusterlabs.org/corosync/releases/<br>&gt;     (specific URLs are also being part of the corosync announcements<br>&gt;     on this list)<br>&gt;<br>&gt;     The issue with automatic tarballs already reported:<br>&gt;     https://github.com/corosync/corosync/issues/116<br>&gt;<br>&gt;     -- <br>&gt;     Jan (Poki)<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;     _______________________________________________<br>&gt;     Users mailing list: Users@clusterlabs.org<br>&gt;     http://clusterlabs.org/mailman/listinfo/users<br>&gt;<br>&gt;     Project Home: http://www.clusterlabs.org<br>&gt;     Getting started:<br>&gt;     http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>&gt;     Bugs: http://bugs.clusterlabs.org<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list: Users@clusterlabs.org<br>&gt; http://clusterlabs.org/mailman/listinfo/users<br>&gt;<br>&gt; Project Home: http://www.clusterlabs.org<br>&gt; Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>&gt; Bugs: http://bugs.clusterlabs.org<br><br><br>_______________________________________________<br>Users mailing list: Users@clusterlabs.org<br>http://clusterlabs.org/mailman/listinfo/users<br><br>Project Home: http://www.clusterlabs.org<br>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://bugs.clusterlabs.org<br><br><br></tt></blockquote></div>

<pre>_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
</pre></blockquote></div>

<pre>_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
</pre></blockquote></div>