linux - 启动审计守护程序时出错
问题描述
我已经安装了审计守护进程。现在我试图启动它。这个错误不断出现。
Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xe" for details.
这是什么错误?我怎样才能摆脱它?
现在我也重新安装了软件包,但仍然有同样的错误。请帮我。
安装软件包时,出现新错误:
Errors were encountered while processing:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)
这是什么错误?
解决方案
跑
ls -RZa /var/log/audit
restorecon -vr /var/log/audit
ls -RZa /var/log/audit -- 现在比较差异
service auditd start -- 启动审计服务
推荐阅读
- vue.js - 如何删除 *.vue 文件中的所有注释和/或空格和/或空行
- r - 从数据框中的特定列中选择奇数行
- javascript - 将回调的结果按顺序沿链向下传递到外部回调
- sql - 为什么ROWNUM <=,左外连接和子查询的这种组合有时会给出null
- c# - 如何在 C# 中的多个 XML 文件中搜索 XElement 属性值?
- php - 使用 foreach 循环添加 DateTime 间隔
- ios - SwiftUI 中的 CALayer 等效项
- asterisk - “请选择 PBX 的默认区域设置”页面在 FreePBX 中经常出现
- reactjs - 生产模式风格的组件缩小导致类型错误
- python - Flask 返回重复列表