当 rsyslog (v8.39.0) 无法识别 mmnormalize 时。这怎么能解决?
When rsyslog (v8.39.0) mmnormalize is not recognized. How can this be fixed?
我正在尝试使用 mmnormalize 来构建文本日志。当尝试使用 mmnormalize 作为操作日志时,rsyslog 8.16.x 和 8.39.0 均显示无法识别该模块。以下是详细信息。
如何设置将 mmnormalize 与 rsyslog 一起使用?
已尝试修复
- 单独安装liblognorm,libstr,json-c,libfastjson
- rsyslog 从 8.16.x 升级到 8.39.0
rsyslog.conf
module(load="mmnormalize") # text parsing
syslog 日志消息
Dec 3 11:33:55 sys1 systemd[1]: Starting System Logging Service...
Dec 3 11:33:55 sys1 systemd[1]: Started System Logging Service.
Dec 3 11:33:55 sys1 rsyslogd: could not load module 'mmnormalize',
errors: trying to load module /usr/lib/rsyslog/mmnormalize.so:
/usr/lib/rsyslog/mmnormalize.so: cannot open shared object file: No
such file or directory [v8.39.0 try http://www.rsyslog.com/e/2066 ]
Dec 3 11:33:55 sys1 rsyslogd: module name 'mmnormalize' is unknown
[v8.39.0 try http://www.rsyslog.com/e/2209 ]
Dec 3 11:33:55 sys1 rsyslogd: error during parsing file
/etc/rsyslog.d/52-tomcat.conf, on or before line 52: errors occured in
file '/etc/rsyslog.d/52-tomcat.conf' around line 52 [v8.39.0 try
http://www.rsyslog.com/e/2207 ]
以下安装 mmnormalize 的方法对我有用。我在 Ububutu (Xenial)运行
sudo apt-get install rsyslog-mmnormalize
Rich Megginson(谢谢)对我发布到 rsyslog 邮件列表 (rsyslog@lists.adiscon.com) 的相同问题的回答如下。如上所述,它对我有用。
“在 RHEL/CentOS/Fedora 和类似平台上,rsyslog-mmnormalize 是一个单独的 RPM,必须单独安装,例如
yum install rsyslog rsyslog-mmnormalize ....
我正在尝试使用 mmnormalize 来构建文本日志。当尝试使用 mmnormalize 作为操作日志时,rsyslog 8.16.x 和 8.39.0 均显示无法识别该模块。以下是详细信息。
如何设置将 mmnormalize 与 rsyslog 一起使用?
已尝试修复
- 单独安装liblognorm,libstr,json-c,libfastjson
- rsyslog 从 8.16.x 升级到 8.39.0
rsyslog.conf
module(load="mmnormalize") # text parsing
syslog 日志消息
Dec 3 11:33:55 sys1 systemd[1]: Starting System Logging Service...
Dec 3 11:33:55 sys1 systemd[1]: Started System Logging Service.
Dec 3 11:33:55 sys1 rsyslogd: could not load module 'mmnormalize', errors: trying to load module /usr/lib/rsyslog/mmnormalize.so: /usr/lib/rsyslog/mmnormalize.so: cannot open shared object file: No such file or directory [v8.39.0 try http://www.rsyslog.com/e/2066 ]
Dec 3 11:33:55 sys1 rsyslogd: module name 'mmnormalize' is unknown [v8.39.0 try http://www.rsyslog.com/e/2209 ]
Dec 3 11:33:55 sys1 rsyslogd: error during parsing file /etc/rsyslog.d/52-tomcat.conf, on or before line 52: errors occured in file '/etc/rsyslog.d/52-tomcat.conf' around line 52 [v8.39.0 try http://www.rsyslog.com/e/2207 ]
以下安装 mmnormalize 的方法对我有用。我在 Ububutu (Xenial)运行
sudo apt-get install rsyslog-mmnormalize
Rich Megginson(谢谢)对我发布到 rsyslog 邮件列表 (rsyslog@lists.adiscon.com) 的相同问题的回答如下。如上所述,它对我有用。
“在 RHEL/CentOS/Fedora 和类似平台上,rsyslog-mmnormalize 是一个单独的 RPM,必须单独安装,例如
yum install rsyslog rsyslog-mmnormalize ....