Search code examples
systemdceph

Can't start ceph service


I working on CentOS7 and I install ceph by manual build

./autogen.sh 
./configure 
make 
make install 

and manual deploy by follow this link http://ceph.com/docs/master/install/manual-deployment/

but ceph doesn't exist in directory /etc/rc.d/init.d/

Failed to issue method call: Unit ceph.service failed to load: No such file or directory

So, I can't start service.

In document of manual deploy it's said I have to use command

sudo /etc/rc.d/init.d/ceph start mon.node1


Solution

  • In CentOS7 use systemd

    So, use command sudo systemctl start ceph-osd@0 will work!!!