无法启动ceph服务

问题描述 投票:1回答:3

我在CentOS7上工作,我通过手动构建安装ceph

./autogen.sh 
./configure 
make 
make install 

按照此链接http://ceph.com/docs/master/install/manual-deployment/手动部署

但是目录/etc/rc.d/init.d/中不存在ceph

无法发出方法调用:单元ceph.service无法加载:没有这样的文件或目录

所以,我无法开始服务。

在手动部署文档中,我说我必须使用命令

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

systemd ceph
3个回答
3
投票

在CentOS 7中使用qazxsw poi

所以,使用命令systemd将工作!


2
投票

您可以运行sudo systemctl start ceph-osd@0作为快速显示框中的任何服务或systemctl status ceph*服务名称语法是systemctl list-units --type=service | grep cephceph-mon@<hostname>.service


0
投票

请运行ceph-osd@<osd_num>.service,你可以列出所有ceph服务,你必须找到与systemctl list-unit-files的OSD号码并输入此命令ceph osd tree

© www.soinside.com 2019 - 2024. All rights reserved.