在 centos 中, sbin 下没service 命令,就会报这个错误.
解决方法: 安装
yum list |grep initscripts
出现源文件
yum install initscripts 安装