Can't start ceph service

SilverIce picture SilverIce · Sep 4, 2015 · Viewed 7.4k times · Source

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

Answer

SilverIce picture SilverIce · Sep 9, 2015

In CentOS7 use systemd

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