Ubuntu18.04 修复 Syslog“rsyslogd‘action 8’暂停模块(模块‘builtin:omfile’)”错误

Ubuntu18.04 修复 Syslog“rsyslogd‘action 8’暂停模块(模块‘builtin:omfile’)”错误

日志指向 上的权限/var/log/apache2/error.log。它们是 root:adm 0640。授予 Group adm 写权限(更改为 0644)解决了该问题。

Apr 30 09:57:00 openemr0 rsyslogd:  [origin software="rsyslogd" swVersion="8.32.0" x-pid="9117" x-info="http://www.rsyslog.com"] start
Apr 30 09:57:00 openemr0 rsyslogd: file '/var/log/apache2/error.log': open error: Permission denied [v8.32.0 try http://www.rsyslog.com/e/2433 ]
Apr 30 09:57:00 openemr0 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Apr 30 09:57:00 openemr0 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Apr 30 09:57:00 openemr0 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Apr 30 09:57:00 openemr0 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Apr 30 09:57:00 openemr0 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]

相关内容