[Pacemaker] pacemaker 2.3.3 and corosync 1.1

Stefan Bauer stefan.bauer at cubewerk.de
Thu Mar 27 12:54:06 EDT 2014


Hi Developers & Users,

I'm trying to use Corosync 2.3.3 in combination with pacemaker 1.1 to build new packages for Debian but have problems to start pacemaker:

Corosync is up and running:

Mar 27 17:27:52 debianbuild corosync[23019]:   [MAIN  ] Corosync Cluster Engine ('2.3.3'): started and ready to provide service.
Mar 27 17:27:52 debianbuild corosync[23019]:   [MAIN  ] Corosync built-in features: dbus testagents rdma watchdog augeas pie relro bindnow
Mar 27 17:27:52 debianbuild corosync[23020]:   [TOTEM ] Initializing transport (UDP/IP Multicast).
Mar 27 17:27:52 debianbuild corosync[23020]:   [TOTEM ] Initializing transmit/receive security (NSS) crypto: none hash: none
Mar 27 17:27:52 debianbuild corosync[23020]:   [TOTEM ] The network interface [127.0.0.1] is now up.
Mar 27 17:27:52 debianbuild corosync[23020]:   [SERV  ] Service engine loaded: corosync configuration map access [0]
Mar 27 17:27:52 debianbuild corosync[23020]:   [QB    ] server name: cmap
Mar 27 17:27:52 debianbuild corosync[23020]:   [SERV  ] Service engine loaded: corosync configuration service [1]
Mar 27 17:27:52 debianbuild corosync[23020]:   [QB    ] server name: cfg
Mar 27 17:27:52 debianbuild corosync[23020]:   [SERV  ] Service engine loaded: corosync cluster closed process group service v1.01 [2]
Mar 27 17:27:52 debianbuild corosync[23020]:   [QB    ] server name: cpg
Mar 27 17:27:52 debianbuild corosync[23020]:   [SERV  ] Service engine loaded: corosync profile loading service [4]
Mar 27 17:27:52 debianbuild corosync[23020]:   [WD    ] No Watchdog, try modprobe <a watchdog>
Mar 27 17:27:52 debianbuild corosync[23020]:   [WD    ] no resources configured.
Mar 27 17:27:52 debianbuild corosync[23020]:   [SERV  ] Service engine loaded: corosync watchdog service [7]
Mar 27 17:27:52 debianbuild corosync[23020]:   [SERV  ] Service engine loaded: corosync cluster quorum service v0.1 [3]
Mar 27 17:27:52 debianbuild corosync[23020]:   [QB    ] server name: quorum
Mar 27 17:27:52 debianbuild corosync[23020]:   [TOTEM ] A new membership (127.0.0.1:24) was formed. Members joined: 2130706433
Mar 27 17:27:52 debianbuild corosync[23020]:   [MAIN  ] Completed service synchronization, ready to provide service.

pacemaker is not able to connect:
root at debianbuild:/home/stefan# pacemakerd --verbose
Could not establish pacemakerd connection: Connection refused (111)
    info: crm_ipc_connect: 	Could not establish pacemakerd connection: Connection refused (111)
confdb connection setup failed: Try again.  Retrying in 1s
    info: mcp_read_config: 	confdb connection setup failed: Try again.  Retrying in 1s
confdb connection setup failed: Try again.  Retrying in 2s
    info: mcp_read_config: 	confdb connection setup failed: Try again.  Retrying in 2s


strace:
chdir("/var/lib/heartbeat/cores")       = 0
eventfd2(0, O_NONBLOCK|O_CLOEXEC)       = 3
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
rt_sigaction(SIGUSR1, {0x7f38899a75c0, [], SA_RESTORER|SA_RESTART, 0x7f3888754420}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR2, {0x7f38899a75c0, [], SA_RESTORER|SA_RESTART, 0x7f3888754420}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTRAP, {0x7f38899a75c0, [], SA_RESTORER|SA_RESTART, 0x7f3888754420}, {SIG_DFL, [], 0}, 8) = 0
futex(0x7f3888e2e6a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f388a7da000
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path=@"pacemakerd"}, 110) = -1 ECONNREFUSED (Connection refused)
close(4)                                = 0
shutdown(4294967295, 2 /* send and receive */) = -1 EBADF (Bad file descriptor)
close(4294967295)                       = -1 EBADF (Bad file descriptor)
write(2, "Could not establish pacemakerd c"..., 68Could not establish pacemakerd connection: Connection refused (111)
) = 68
munmap(0x7f388a7da000, 135168)          = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
dup(4)                                  = 5
connect(4, {sa_family=AF_FILE, path=@"corosync.ipc"}, 110) = -1 ECONNREFUSED (Connection refused)
close(4)                                = 0
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f388a815000
write(1, "confdb connection setup failed: "..., 59confdb connection setup failed: Try again.  Retrying in 1s
) = 59
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, 0x7ffffdaa9e30)       = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
dup(4)                                  = 6
connect(4, {sa_family=AF_FILE, path=@"corosync.ipc"}, 110) = -1 ECONNREFUSED (Connection refused)
close(4)                                = 0
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
munmap(0, 0)                            = -1 EINVAL (Invalid argument)
write(1, "confdb connection setup failed: "..., 59confdb connection setup failed: Try again.  Retrying in 2s
) = 59
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0


What do i miss? Do i have to specify something else?

Thank you.

Stefan




More information about the Pacemaker mailing list