Translated message

A translation of this page exists in English.

在 RHEL 中无法使用 systemctl 命令重启/停止 auditd 服务

Solution In Progress - Updated -

Issue

  • systemctl restart auditd 命令失败并显示以下错误

    # systemctl restart auditd
    Failed to restart auditd.service: Operation refused, unit auditd.service may be requested by dependency only.
    
  • systemctl stop auditd 命令失败并显示以下错误

    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.
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat Enterprise Linux (RHEL) 9
  • audit-2.8.5 和 audit-3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content