On Jan 17, 2008, at 6:40 PM, Serge Dubrouski wrote:
On Jan 17, 2008 10:14 AM, Andrew Beekhof <[EMAIL PROTECTED]> wrote:
On Jan 17, 2008, at 5:07 PM, Serge Dubrouski wrote:
I've got it starting all right,. now it complains on permissions:
Jan 17 11:00:16 fc-node1 crmd: [32197]: ERROR: socket_wait_conn_new:
unlink failure(/var/run/heartbeat/crm/crmd): Permission denied
Jan 17 11:00:16 fc-node1 cib: [32196]: ERROR: Could not open config
file /var/lib/heartbeat/crm/cib.xml.last for reading: Permission
denied
Jan 17 11:00:16 fc-node1 crmd: [32197]: ERROR: socket_wait_conn_new:
trying to create in /var/run/heartbeat/crm/crmd bind:: Address
already
in use
already in use?
you dont have heartbeat running too do you?
...................
All those files belong to hacluser:hacluster Do they need to
belong to
the other user?
assuming you're using the packages from the build service (and that
hacluser is missing a 't'), that should be right.
maybe delete /var/run/heartbeat/crm/crmd and see what perms it gets
recreated with?
Looks like you built Fedora packages for particular UID or so:
correct - the heartbeat package uses 24 (and pacemaker inherits that)
which is what the fedora guys use (apparently)
Jan 17 12:27:21 fc-node1 crmd: [323]: info: crmd_init: Starting crmd
Jan 17 12:27:21 fc-node1 attrd: [324]: ERROR: Cannot get name for uid
[24]: Success
Jan 17 12:27:21 fc-node1 cib: [322]: ERROR: Cannot get name for uid
[24]: Success
Then:
Jan 17 12:30:32 fc-node1 cib: [773]: info: retrieveCib: Reading
cluster configuration from: /var/lib/heartbeat/crm/cib.xml (digest:
/var/lib/heartbeat/crm/cib.xml.sig)
Jan 17 12:30:32 fc-node1 cib: [773]: ERROR: Could not open config file
/var/lib/heartbeat/crm/cib.xml for reading: Permission denied
Jan 17 12:30:32 fc-node1 cib: [773]: ERROR: retrieveCib:
/var/lib/heartbeat/crm/cib.xml exists but does NOT contain valid XML.
But:
# ls -l /var/lib/heartbeat/crm/cib.xml
-rw------- 1 hacluster hacluster 3158 Jan 10 16:08
/var/lib/heartbeat/crm/cib.xml
And crmd doesn't get created with the same error: permissions denied.
Changind uid for hacluster from 501 to 24 fixed the problem.
BTW: Stopping openais service leaves lrmd up:
[EMAIL PROTECTED] log]# service openais stop
Stopping OpenAIS daemon (aisexec): [ OK ]
[EMAIL PROTECTED] log]# ps -ef | grep heart
root 3444 1 0 12:37 pts/0 00:00:00 /usr/lib/heartbeat/
lrmd
root 3483 32732 0 12:39 pts/0 00:00:00 grep heart
Is it supposed to be like that?
no
logs?
_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker