加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 无法启动auditd

发布时间:2020-12-13 16:33:36 所属栏目:Linux 来源:网络整理
导读:我在CentOS 5.8决赛 我最近通过yum install audit安装了auditd但是我无法启动它. 我编辑了配置文件,给出了它在启动时收到的错误的详细输出,这是输出: # service auditd startStarting auditd: Config file /etc/audit/auditd.conf opened for parsinglog_fi
我在CentOS 5.8决赛

我最近通过yum install audit安装了auditd但是我无法启动它.

我编辑了配置文件,给出了它在启动时收到的错误的详细输出,这是输出:

# service auditd start
Starting auditd: Config file /etc/audit/auditd.conf opened for parsing
log_file_parser called with: /var/log/audit/audit.log
log_format_parser called with: RAW
log_group_parser called with: root
priority_boost_parser called with: 4
flush_parser called with: INCREMENTAL
freq_parser called with: 20
num_logs_parser called with: 4
qos_parser called with: lossy
dispatch_parser called with: /sbin/audispd
name_format_parser called with: NONE
max_log_size_parser called with: 5
max_log_size_action_parser called with: ROTATE
space_left_parser called with: 75
space_action_parser called with: SYSLOG
action_mail_acct_parser called with: root
admin_space_left_parser called with: 50
admin_space_left_action_parser called with: SUSPEND
disk_full_action_parser called with: SUSPEND
disk_error_action_parser called with: SUSPEND
tcp_listen_queue_parser called with: 5
tcp_max_per_addr_parser called with: 1
tcp_client_max_idle_parser called with: 0
enable_krb5_parser called with: no
GSSAPI support is not enabled,ignoring value at line 30
krb5_principal_parser called with: auditd
GSSAPI support is not enabled,ignoring value at line 31
Started dispatcher: /sbin/audispd pid: 3097
type=DAEMON_START msg=audit(1339336882.187:9205): auditd start,ver=1.8 format=raw kernel=2.6.32-042stab056.8 auid=4294967295 pid=3095 res=success
config_manager init complete
Error setting audit daemon pid (Connection refused)
type=DAEMON_ABORT msg=audit(1339336882.189:9206): auditd error halt,auid=4294967295 pid=3095 res=failed
Unable to set audit pid,exiting
The audit daemon is exiting.
Error setting audit daemon pid (Connection refused)
                                                           [FAILED]

我可以在网上找到的唯一信息是这可能是由于SELinux,但是SELinux给了我自己的问题.无论我做什么,它似乎被禁用(我想启用它).配置设置为强制执行,服务器已多次重启,但sestatus仍返回SELinux状态:已禁用.

任何人都可以对这个问题有所了解吗?

编辑:我不知道它是否相关,但我注意到我的/ var / log / messages中出现以下消息

Jun 10 16:25:22 s1 iscsid: iSCSI logger with pid=2056 started!
Jun 10 16:25:22 s1 iscsid: Missing or Invalid version from /sys/module/scsi_transport_iscsi/version. Make sure a up to date scsi_transport_iscsi module is loaded and a up todate version of iscsid is running. Exiting...

我尝试自己启动iSCSI守护进程(我不知道它做了什么;我是一个linux新手)我得到以下错误:

Starting iSCSI daemon: FATAL: Could not load /lib/modules/2.6.32-042stab056.8/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.32-042stab056.8/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.32-042stab056.8/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.32-042stab056.8/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.32-042stab056.8/modules.dep: No such file or directory
                                                           [FAILED]

如果我去/ lib / modules /我注意到该目录存在但是完全为空.

解决方法

看来我使用的内核2.6.32-042stab056.8与OpenVZ一起打包的SMP不支持auditd.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读