发新话题
打印

错误action 'action-9-builtin:omfile' suspended (module 'builtin:omfile')

错误action 'action-9-builtin:omfile' suspended (module 'builtin:omfile')

Ubuntu 24.04上出现错误:
action 'action-9-builtinmfile' suspended (module 'builtinmfile'), retry 0. There should be messages before this

解决办法:

# vi /etc/rsyslog.conf

注释掉
#$PrivDropToUser syslog
#$PrivDropToGroup syslog

或者注释掉
#$FileOwner syslog
#$FileGroup adm
#$FileCreateMode 0640
#$DirCreateMode 0755
#$Umask 0022
#$PrivDropToUser syslog
#$PrivDropToGroup syslog

再执行命令:
# systemctl restart rsyslog


参考:
https://www.cnblogs.com/densen2014/p/18238139

TOP

发新话题