Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 启动审核守护程序时出错_Linux_Logging_Audit - Fatal编程技术网

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
如果有更多输出,则显示完整日志这是@Jaay
auditd.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)