一、 问题起源
Failed to get D-Bus connection: Operation not permitted
注意:只能安装 ceph hammer 或更低版本,因为新版本采用 systemd 管理服务,老版本使用的 chkconfig。无奈 Ubuntu 14.04 默认没有安装 chkconfig,于是有了本篇文章。
二、 chkconfig 安装
2.1 安装 sysv-rc-conf
# apt-get install sysv-rc-conf
2.2 链接 chkconfig
# cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig
三、测试
执行 chkconfig 命令
# chkconfig
扫描二维码关注公众号,回复:
1957029 查看本文章