rpm -qf /etc/init.d/functions
查找到
[xx@ ~]$ rpm -qf /etc/init.d/functions
initscripts-9.03.40-2.el6.centos.4.x86_64
[xx@ ~]$ rpm -qf /sbin/service
initscripts-9.03.40-2.el6.centos.4.x86_64
yum 安装即可:
yum install initscripts
文章链接:https://www.updateweb.cn/zwfec/item-132.html