Bug #3771
closedceph does not have startup scripts in Centos
0%
Description
I did a basic ceph v0.56 installation on Centos 6.3
I have rebooted my nodes, and find that ceph is not startup up after reboot.
ceph: v0.56
centos: CentOS release 6.3 (Final)
I have checked to make sure i have initscripts and chkconfig installed:
initscripts.x86_64 9.03.31-2.el6.centos @anaconda-CentOS-201207061011.x86_64/6.3
chkconfig.x86_64 1.3.49.3-2.el6 @anaconda-CentOS-201207061011.x86_64/6.3
the only ceph startup script in Centos installation is under /etc/rc.d/init.d/ceph
the chkconfig does not have ceph listed.
- chkconfig
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ip6tables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off
there is no link from init.d/ceph to an rc#.d directory.
CentOS uses the /etc/rc#.d directories to determine the startup order.
also, there is no ceph files in /etc/initd for upstart to work.
Updated by Anonymous over 11 years ago
Gary found that the installation script was commented out 2011-10-17
commit 9baf5ef4f35c38d7fbaa70bde8f2c9383b2f5163
Author: Sage Weil <sage@newdream.net>
Date: Mon Oct 17 08:51:47 2011 -0700ceph.spec: don't chkconfig
This was fighting with suse insserv. Still needs some cleanup.
we will need to have chkconfig run if it is a centos box....
Updated by Sage Weil over 11 years ago
- Target version set to v0.57a
- Backport set to bobtail
Updated by Greg Farnum over 11 years ago
- Project changed from CephFS to Ceph
- Target version deleted (
v0.57a)
Not an FS bug! :)
Updated by Sage Weil almost 11 years ago
- Status changed from In Progress to Resolved