Linux 启动审核守护程序时出错
我已经安装了审计守护程序。现在我试着开始。这个错误不断发生Linux 启动审核守护程序时出错,linux,logging,audit,Linux,Logging,Audit,我已经安装了审计守护程序。现在我试着开始。这个错误不断发生 Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xe" for details. 这个错误是什么?我怎样才能摆脱它呢 现在我也重新安装了软件包,仍然有相同的错误。请帮帮我 安装程序包时,出现新错误: Errors
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--start audit service您是否遵循了错误消息中的说明?我运行了
systemctl status auditd.service
并获得了此● auditd.service-安全审计服务已加载:已加载(/lib/systemd/system/auditd.service;已启用;供应商预置:e活动:自2018-06-11周一17:47:21 IST以来失败(结果:退出代码);21s前进程:9793 ExecStartPost=/sbin/auditctl-R/etc/audit/audit.rules(代码=exi进程:9791 ExecStart=/sbin/auditd-n(代码=退出,状态=6)主PID:9791(代码=退出,状态=6)第1-6/6行(结束)
当我运行journalctl-xe
时,我得到了一个提示:您当前没有看到来自其他用户和系统的消息。“systemd journal”组中的用户可以看到所有消息。“systemd journal”组中的用户可以看到所有消息。通过-q关闭此通知。由于权限不足,没有打开任何日志文件。
您好,可以尝试systemct吗l status auditd.service-l
如果有更多输出,则显示完整日志这是@Jaayauditd.service-安全审核服务加载:加载(/lib/systemd/system/auditd.service;启用;供应商预设:e活动:失败(结果:退出代码)自2018年6月11日星期一18:29:11 IST;2分钟6秒进程:17742 ExecStartPost=/sbin/auditctl-R/etc/audit/audit.rules(code=ex进程:17739 ExecStart=/sbin/auditd-n(code=exited,status=6)主PID:17739(code=exited,status=6)