<div dir="ltr">Hi!<div><br></div><div>I had to add additional logging to sources and build a custom version to figure out what is the problem. </div><div>It turned out that on the problem node root user had GID not 0 but 501. </div>
<div>Very odd. :-)<br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/19 Andrew Beekhof <span dir="ltr">&lt;<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On 17/09/2013, at 4:30 PM, Саша Александров &lt;<a href="mailto:shurrman@gmail.com">shurrman@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Andrew,<br>
&gt;<br>
&gt; Sorry, here it is:<br>
&gt; [root@premium2 ~]# ls -la /var/lib/pacemaker/cib<br>
&gt; total 204<br>
&gt; drwxrwxr-x. 2 hacluster haclient 4096 Jul 21 22:04 .<br>
&gt; drwxr-x---. 6 root      root     4096 Jul 14 18:02 ..<br>
&gt; -rw-------  1 hacluster root      232 Jul 14 18:17 cib-0.raw<br>
&gt; -rw-------  1 hacluster root       32 Jul 14 18:17 cib-0.raw.sig<br>
&gt;<br>
&gt; Best regards,<br>
&gt; AAA<br>
&gt; This is the same and correct permissions.<br>
&gt; The only difference I see that hacluster user has different UIDs on these nodes. But my understanding is this should not affect the situation (the name is that matters)<br>
<br>
</div>That _might_ not be true for some older versions.<br>
I would definitely try making them the same<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt; 2013/9/17 Andrew Beekhof &lt;<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>&gt;<br>
&gt;<br>
&gt; On 17/09/2013, at 3:42 AM, Саша Александров &lt;<a href="mailto:shurrman@gmail.com">shurrman@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi, everyone!<br>
&gt; &gt;<br>
&gt; &gt; I have a pretty strange issue. When starting pacemaker, I get<br>
&gt; &gt;<br>
&gt; &gt; Sep 16 21:21:03 premium2 cib[27510]:   notice: main: Using new config location: /var/lib/pacemaker/cib<br>
&gt; &gt; Sep 16 21:21:03 premium2 cib[27510]:    error: crm_is_writable: /var/lib/pacemaker/cib must exist and be a directory<br>
&gt; &gt; Sep 16 21:21:03 premium2 cib[27510]:    error: main: Bad permissions on /var/lib/pacemaker/cib. Terminating<br>
&gt; &gt;<br>
&gt; &gt; However,<br>
&gt; &gt;<br>
&gt; &gt; [root@premium2 cib]# ls -l /var/lib/pacemaker/cib<br>
&gt;<br>
&gt; You forgot -a on this one, so we can&#39;t see the directory itself.<br>
&gt;<br>
&gt; &gt; total 196<br>
&gt; &gt; -rw------- 1 hacluster root  232 Jul 14 18:17 cib-0.raw<br>
&gt; &gt; -rw------- 1 hacluster root   32 Jul 14 18:17 cib-0.raw.sig<br>
&gt; &gt; skip-skip-skip<br>
&gt; &gt; -rw-r----- 1 hacluster root    2 Jul 21 22:04 cib.last<br>
&gt; &gt; -rw------- 1 hacluster root 6676 Jul 21 22:04 cib.xml<br>
&gt; &gt; -rw------- 1 hacluster root   32 Jul 21 22:04 cib.xml.sig<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Moreover, on the first server I have the same rights (and versions):<br>
&gt; &gt;<br>
&gt; &gt; [root@premium1 ~]# ls -la /var/lib/pacemaker/cib<br>
&gt; &gt; total 240<br>
&gt; &gt; drwxr-x---. 2 hacluster haclient 4096 Sep 13 22:13 .<br>
&gt; &gt; drwxr-x---. 6 root      root     4096 Jul 14 17:54 ..<br>
&gt; &gt; -rw-------  1 hacluster root      232 Jul 14 18:13 cib-0.raw<br>
&gt; &gt; -rw-------  1 hacluster root       32 Jul 14 18:13 cib-0.raw.sig<br>
&gt; &gt; skip-skip-skip<br>
&gt; &gt; -rw-r-----  1 hacluster root        2 Sep 13 22:13 cib.last<br>
&gt; &gt; -rw-------  1 hacluster root     6656 Sep 13 22:13 cib.xml<br>
&gt; &gt; -rw-------  1 hacluster root       32 Sep 13 22:13 cib.xml.sig<br>
&gt; &gt;<br>
&gt; &gt; [root@premium1 ~]# pacemakerd -$<br>
&gt; &gt; Pacemaker 1.1.8<br>
&gt; &gt;<br>
&gt; &gt; [root@premium2 ~]# pacemakerd -$<br>
&gt; &gt; Pacemaker 1.1.8<br>
&gt; &gt;<br>
&gt; &gt; It is my own rpms, build from sources. However, they were installed identically on both nodes. How can I trace down this problem?<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Best regards,<br>
&gt; &gt; AAA<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; С уважением, ААА.<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>С уважением, ААА.
</div></div></div>