On 17/09/2013, at 3:42 AM, Саша Александров <shurr...@gmail.com> wrote:

> Hi, everyone!
> 
> I have a pretty strange issue. When starting pacemaker, I get
> 
> Sep 16 21:21:03 premium2 cib[27510]:   notice: main: Using new config 
> location: /var/lib/pacemaker/cib
> Sep 16 21:21:03 premium2 cib[27510]:    error: crm_is_writable: 
> /var/lib/pacemaker/cib must exist and be a directory
> Sep 16 21:21:03 premium2 cib[27510]:    error: main: Bad permissions on 
> /var/lib/pacemaker/cib. Terminating
> 
> However,
> 
> [root@premium2 cib]# ls -l /var/lib/pacemaker/cib

You forgot -a on this one, so we can't see the directory itself.

> total 196
> -rw------- 1 hacluster root  232 Jul 14 18:17 cib-0.raw
> -rw------- 1 hacluster root   32 Jul 14 18:17 cib-0.raw.sig
> skip-skip-skip
> -rw-r----- 1 hacluster root    2 Jul 21 22:04 cib.last
> -rw------- 1 hacluster root 6676 Jul 21 22:04 cib.xml
> -rw------- 1 hacluster root   32 Jul 21 22:04 cib.xml.sig
> 
> 
> Moreover, on the first server I have the same rights (and versions):
> 
> [root@premium1 ~]# ls -la /var/lib/pacemaker/cib
> total 240
> drwxr-x---. 2 hacluster haclient 4096 Sep 13 22:13 .
> drwxr-x---. 6 root      root     4096 Jul 14 17:54 ..
> -rw-------  1 hacluster root      232 Jul 14 18:13 cib-0.raw
> -rw-------  1 hacluster root       32 Jul 14 18:13 cib-0.raw.sig
> skip-skip-skip
> -rw-r-----  1 hacluster root        2 Sep 13 22:13 cib.last
> -rw-------  1 hacluster root     6656 Sep 13 22:13 cib.xml
> -rw-------  1 hacluster root       32 Sep 13 22:13 cib.xml.sig
> 
> [root@premium1 ~]# pacemakerd -$
> Pacemaker 1.1.8
> 
> [root@premium2 ~]# pacemakerd -$
> Pacemaker 1.1.8
> 
> It is my own rpms, build from sources. However, they were installed 
> identically on both nodes. How can I trace down this problem?
> 
> -- 
> Best regards,
> AAA
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to