[Debian-ha-maintainers] Bug#752512: corosync: Corosync doesn't start at reboot

Tapio Salonsaari tapio at tietovirta.fi
Tue Jun 24 01:24:15 UTC 2014


Package: corosync
Version: 1.4.2-3
Severity: normal

Dear Maintainers,

I ran into problem with corosync on one of our servers. Our corosync daemon doesn't
start at boot, but after the host is back online again 'service corosync start' fixes
the issue just fine until next reboot.

Unfortunately I don't have exact time when the issue came up nor even a confirmation 
that it's an problem with corosync, but as far as I can tell it's at least related with
corosync.

Steps to reproduce:
- Reboot host
- Observe that corosync isn't running
- Start corosync with 'service' or directly via /etc/init.d/ without issues

I attempted to place some debugging messages to init-script, but it looks like that 
host doesn't even attempt to run init-script, even if symlinks and everything are
in place:
# ls -l /etc/rc2.d/
total 4
-rw-r--r-- 1 root root 677 Jul 14  2013 README
lrwxrwxrwx 1 root root  20 Feb 14 02:09 S01fancontrol -> ../init.d/fancontrol
lrwxrwxrwx 1 root root  14 Jan 28  2013 S01motd -> ../init.d/motd
lrwxrwxrwx 1 root root  20 Feb 14 02:09 S01munin-node -> ../init.d/munin-node
lrwxrwxrwx 1 root root  17 Feb 14 02:09 S01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root  15 Feb 21 03:22 S02acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root  13 Feb 21 03:22 S02atd -> ../init.d/atd
lrwxrwxrwx 1 root root  14 Feb 21 03:22 S02cron -> ../init.d/cron
lrwxrwxrwx 1 root root  14 Feb 21 03:22 S02dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root  17 Feb 21 03:22 S02hddtemp -> ../init.d/hddtemp
lrwxrwxrwx 1 root root  17 Feb 21 03:22 S02ipmievd -> ../init.d/ipmievd
lrwxrwxrwx 1 root root  21 Feb 21 03:22 S02libvirt-bin -> ../init.d/libvirt-bin
lrwxrwxrwx 1 root root  14 Feb 21 03:22 S02logd -> ../init.d/logd
lrwxrwxrwx 1 root root  28 Feb 21 03:22 S02megaclisas-statusd -> ../init.d/megaclisas-statusd
lrwxrwxrwx 1 root root  13 Feb 21 03:22 S02ntp -> ../init.d/ntp
lrwxrwxrwx 1 root root  18 Feb 21 03:22 S02openhpid -> ../init.d/openhpid
lrwxrwxrwx 1 root root  17 Feb 21 03:22 S02postfix -> ../init.d/postfix
lrwxrwxrwx 1 root root  15 Feb 21 03:22 S02rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root  23 Feb 21 03:22 S02smartmontools -> ../init.d/smartmontools
lrwxrwxrwx 1 root root  13 Feb 21 03:22 S02ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root  18 Feb 21 03:22 S02stunnel4 -> ../init.d/stunnel4
lrwxrwxrwx 1 root root  17 Feb 21 03:22 S02winbind -> ../init.d/winbind
lrwxrwxrwx 1 root root  14 Feb 21 03:22 S03drbd -> ../init.d/drbd
lrwxrwxrwx 1 root root  18 Feb 21 03:22 S04bootlogs -> ../init.d/bootlogs
lrwxrwxrwx 1 root root  18 Jun 24 03:19 S04corosync -> ../init.d/corosync
lrwxrwxrwx 1 root root  24 Feb 14 02:09 S04libvirt-guests -> ../init.d/libvirt-guests
lrwxrwxrwx 1 root root  17 Jan 28  2013 S14portmap -> ../init.d/portmap
lrwxrwxrwx 1 root root  17 Jan 28  2013 S14rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root  20 Jan 28  2013 S15nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root  27 Feb 14 02:09 S16nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root  18 Feb 21 03:22 S17rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root  19 Feb 21 03:22 S17rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root  23 Feb 21 03:22 S17stop-bootlogd -> ../init.d/stop-bootlogd

I even tried to add line '/usr/sbin/service corosync start' into /etc/rc.local but
(yet again for some reason I can't figure out) daemon still didn't start during
boot.

I omitted configuration files, since I highly doubt that they aren't an issue,
since the very script which should start service at boot works, it just doesn't run.
Obviously, I've got 'START=yes' on /etc/default/corosync, but other than that 
configuration files should be in order.

Either there's something wrong on corosync, or my host has something messed up which 
I can't spot, but at this point it seems that the setup should work flawlessly. 
Obviously, if (when) it's an error on my side, I sincerely apologize for wasting your
precious time.

-- System Information:
Debian Release: 7.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages corosync depends on:
ii  adduser         3.113+nmu3
ii  libc6           2.13-38+deb7u1
ii  libcfg4         1.4.2-3
ii  libconfdb4      1.4.2-3
ii  libcoroipcc4    1.4.2-3
ii  libcoroipcs4    1.4.2-3
ii  libcpg4         1.4.2-3
ii  libevs4         1.4.2-3
ii  liblogsys4      1.4.2-3
ii  libpload4       1.4.2-3
ii  libquorum4      1.4.2-3
ii  libsam4         1.4.2-3
ii  libtotem-pg4    1.4.2-3
ii  libvotequorum4  1.4.2-3
ii  lsb-base        4.1+Debian8+deb7u1

corosync recommends no packages.

corosync suggests no packages.

-- Configuration Files:
/etc/corosync/corosync.conf changed [not included]
/etc/default/corosync changed [not included]
/etc/init.d/corosync changed [not included]

-- no debconf information



More information about the Debian-ha-maintainers mailing list