Centos7执行systemctl start 服务报Centos7 Failed to start xxx.service: Unit not found

1585364631
2022-01-23 / 0 评论 / 308 阅读 / 正在检测是否收录...

Centos7执行systemctl start 服务报Centos7 Failed to start xxx.service: Unit not found

查看列表中是否有该服务

systemctl list-unit-files --type=service

可配合| grep搜索

systemctl list-unit-files --type=service | grep 服务

如果有则执行命令重新读取

systemctl daemon-reload

如果没有则自行重装

0

评论 (0)

取消