Re: [Linux-HA] Issues when running Heartbeat on FreeBSD 8.1 RELEASE
On Fri, Dec 10, 2010 at 4:26 PM, Kevin Mai k...@mrecic.gov.ar wrote: Hi folks, I'm trying to build a failover solution using FreeBSD 8.1-RELEASE and Heartbeat from ports (v2.1.4-10). I've already configured heartbeat in the two peers, but once I start the daemon using the /usr/local/etc/rc.d/heartbeat script, either CRM and CIB fail to start. I've already found out that the issue is appearing with CIB: when the daemon runs CIB it doesn't start, but if I run it using some flags, it starts, and them I'm able to run CRM too. Does uid 275 and gid 275 exist? Possibly you have some permission issues that go away when you run the daemons manually (since you're now running them as root). IE: heartbeat[12539]: 2010/12/10_14:22:14 info: Starting /usr/local/lib/heartbeat/cib as uid 275 gid 275 (pid 12539) heartbeat[12540]: 2010/12/10_14:22:14 info: Starting /usr/local/lib/heartbeat/attrd as uid 275 gid 275 (pid 12540) heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed /usr/local/lib/heartbeat/cib process 12539 exited with return code 2. heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client /usr/local/lib/heartbeat/cib respawning too fast heartbeat[12541]: 2010/12/10_14:22:14 info: Starting /usr/local/lib/heartbeat/crmd as uid 275 gid 275 (pid 12541) heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed /usr/local/lib/heartbeat/attrd process 12540 exited with return code 2. heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client /usr/local/lib/heartbeat/attrd respawning too fast heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed /usr/local/lib/heartbeat/crmd process 12541 exited with return code 2. heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client /usr/local/lib/heartbeat/crmd respawning too fast but if I run it from command line [root@mrefns09 /usr/ports]# /usr/local/lib/heartbeat/cib -s -VVV cib[13338]: 2010/12/10_14:30:49 info: main: Retrieval of a per-action CIB: disabled cib[13338]: 2010/12/10_14:30:49 info: retrieveCib: Reading cluster configuration from: /var/lib/heartbeat/crm/cib.xml (digest: /var/lib/heartbeat/crm/cib.xml.sig) cib[13338]: 2010/12/10_14:30:49 debug: debug3: file2xml: Reading 3538 bytes from file cib[13338]: 2010/12/10_14:30:49 WARN: validate_cib_digest: No on-disk digest present cib[13338]: 2010/12/10_14:30:49 debug: update_quorum: CCM quorum: old=(null), new=false cib[13338]: 2010/12/10_14:30:49 debug: update_counters: Counters updated by readCibXmlFile cib[13338]: 2010/12/10_14:30:49 notice: readCibXmlFile: Enabling DTD validation on the existing (sane) configuration cib[13338]: 2010/12/10_14:30:49 info: startCib: CIB Initialization completed successfully cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_callback cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_ro cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_rw cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_rw_syncronous cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_ro_syncronous cib[13338]: 2010/12/10_14:30:49 info: cib_init: Starting cib mainloop [root@mrefns09 /usr/local/lib/heartbeat]# /usr/local/lib/heartbeat/crmd -VVV crmd[14877]: 2010/12/10_15:14:28 debug: debug3: main: Enabling coredumps crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: digraph g { crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: size = 30,30 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: graph [ crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontsize = 12 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontname = Times-Roman crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontcolor = black crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: bb = 0,0,398.922306,478.927856 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: color = black crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: ] crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: node [ crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontsize = 12 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontname = Times-Roman crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontcolor = black crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: shape = ellipse crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: color = black crmd[14877]: 2010/12/10_15:14:28 debug:
[Linux-HA] Issues when running Heartbeat on FreeBSD 8.1 RELEASE
Hi folks, I'm trying to build a failover solution using FreeBSD 8.1-RELEASE and Heartbeat from ports (v2.1.4-10). I've already configured heartbeat in the two peers, but once I start the daemon using the /usr/local/etc/rc.d/heartbeat script, either CRM and CIB fail to start. I've already found out that the issue is appearing with CIB: when the daemon runs CIB it doesn't start, but if I run it using some flags, it starts, and them I'm able to run CRM too. IE: heartbeat[12539]: 2010/12/10_14:22:14 info: Starting /usr/local/lib/heartbeat/cib as uid 275 gid 275 (pid 12539) heartbeat[12540]: 2010/12/10_14:22:14 info: Starting /usr/local/lib/heartbeat/attrd as uid 275 gid 275 (pid 12540) heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed /usr/local/lib/heartbeat/cib process 12539 exited with return code 2. heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client /usr/local/lib/heartbeat/cib respawning too fast heartbeat[12541]: 2010/12/10_14:22:14 info: Starting /usr/local/lib/heartbeat/crmd as uid 275 gid 275 (pid 12541) heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed /usr/local/lib/heartbeat/attrd process 12540 exited with return code 2. heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client /usr/local/lib/heartbeat/attrd respawning too fast heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed /usr/local/lib/heartbeat/crmd process 12541 exited with return code 2. heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client /usr/local/lib/heartbeat/crmd respawning too fast but if I run it from command line [r...@mrefns09 /usr/ports]# /usr/local/lib/heartbeat/cib -s -VVV cib[13338]: 2010/12/10_14:30:49 info: main: Retrieval of a per-action CIB: disabled cib[13338]: 2010/12/10_14:30:49 info: retrieveCib: Reading cluster configuration from: /var/lib/heartbeat/crm/cib.xml (digest: /var/lib/heartbeat/crm/cib.xml.sig) cib[13338]: 2010/12/10_14:30:49 debug: debug3: file2xml: Reading 3538 bytes from file cib[13338]: 2010/12/10_14:30:49 WARN: validate_cib_digest: No on-disk digest present cib[13338]: 2010/12/10_14:30:49 debug: update_quorum: CCM quorum: old=(null), new=false cib[13338]: 2010/12/10_14:30:49 debug: update_counters: Counters updated by readCibXmlFile cib[13338]: 2010/12/10_14:30:49 notice: readCibXmlFile: Enabling DTD validation on the existing (sane) configuration cib[13338]: 2010/12/10_14:30:49 info: startCib: CIB Initialization completed successfully cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_callback cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_ro cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_rw cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_rw_syncronous cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening on: /var/run/heartbeat/crm/cib_ro_syncronous cib[13338]: 2010/12/10_14:30:49 info: cib_init: Starting cib mainloop [r...@mrefns09 /usr/local/lib/heartbeat]# /usr/local/lib/heartbeat/crmd -VVV crmd[14877]: 2010/12/10_15:14:28 debug: debug3: main: Enabling coredumps crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: digraph g { crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: size = 30,30 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: graph [ crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontsize = 12 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontname = Times-Roman crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontcolor = black crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: bb = 0,0,398.922306,478.927856 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: color = black crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: ] crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: node [ crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontsize = 12 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontname = Times-Roman crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontcolor = black crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: shape = ellipse crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: color = black crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: ] crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: edge [ crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: fontsize = 12 crmd[14877]: 2010/12/10_15:14:28 debug: debug2: