Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).

[root@7 ~]# systemctl stop auditd.service

Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).

See system logs and 'systemctl status auditd.service' for details.

解决:

>将/usr/lib/systemd/system/auditd.service的RefuseManualStop=yes,改成no

>systemctl daemon-reload

>systemctl stop auditd.service

结束。

posted @ 2023-10-18 15:27  巴州夜雨  阅读(450)  评论(0编辑  收藏  举报