配置过程中,查看/var/log/meassage
有报错信息:
action '*' treated as ':omusrmsg:*' - please use ':omusrmsg:*' syntax instead, '*' will not be supported in the future [v8.17.0 try http://www.rsyslog.com/e/2184 ]
error during parsing file /etc/rsyslog.conf, on or before line 55: warnings occured in file '/etc/rsyslog.conf' around line 55 [v8.17.0 try http://www.rsyslog.com/e/2207 ]
处理:
*.emerg *
修改为
*.emerg :omusrmsg:*
使用#rsyslogd -f /etc/rsyslog.conf -N1检查配置文件,再次重启,问题解决