We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
升级的prepare过程中"禁止rsyslog获取journald日志"时, 将/etc/rsyslog.conf中的以下一行注释掉了:
$ModLoad imjournal # provides access to the systemd journal
但是, 这样改rsyslog重启会失败.
检查rsyslog.conf文件, 发现还有相关以下配置:
# File to store the position in the journal $IMJournalStateFile imjournal.state
尝试把这一行也注释掉, 重启才能成功.
The text was updated successfully, but these errors were encountered:
我新装的集群,如下日志,不知道是否相关:
Apr 24 18:08:09 VM_8_96_centos rsyslogd[26941]: [origin software="rsyslogd" swVersion="8.24.0-34.el7" x-pid="26941" x-info="http://www.rsyslog.com"] start Apr 24 18:08:09 VM_8_96_centos rsyslogd[26941]: invalid or yet-unknown config file command 'IMJournalStateFile' - have you forgotten to load a module? [v8.24.0-34.el7 try http://www.rsyslog.com/e/3003 ]
Sorry, something went wrong.
感谢指出,我再自己测试看看
fix: centos7 rsyslog服务启动错误 #538
a193907
已修复提交 a193907
No branches or pull requests
升级的prepare过程中"禁止rsyslog获取journald日志"时, 将/etc/rsyslog.conf中的以下一行注释掉了:
但是, 这样改rsyslog重启会失败.
检查rsyslog.conf文件, 发现还有相关以下配置:
尝试把这一行也注释掉, 重启才能成功.
The text was updated successfully, but these errors were encountered: