I Love Thecus
[Rsyslog] Mod ommysql failed to load - Printable Version

+- I Love Thecus (https://forum.thecus.com)
+-- Forum: Modules (https://forum.thecus.com/forumdisplay.php?fid=13)
+--- Forum: Third party modules (https://forum.thecus.com/forumdisplay.php?fid=33)
+--- Thread: [Rsyslog] Mod ommysql failed to load (/showthread.php?tid=13851)



[Rsyslog] Mod ommysql failed to load - ehfred10 - 02-02-2018

Hi everyone,

I have a problem with the Rsyslog module.

I tried to put all logs on a Mysql DB but the module failed to load. I got this warning:

Code:
2018-02-01T20:06:05.778319+01:00 N5550 rsyslogd: [origin software="rsyslogd" swVersion="5.10.1" x-pid="24662" x-info="http://www.rsyslog.com"] start
2018-02-01T20:06:05.749889+01:00 N5550 rsyslogd-2066: could not load module '/raid/data/module/rSyslog/system/lib64/rsyslog/ommysql.so', dlopen: /raid/data/module/rSyslog/system/lib64/rsyslog/ommysql.so: undefined symbol: mysql_options
[try http://www.rsyslog.com/e/2066 ]
2018-02-01T20:06:05.750035+01:00 N5550 rsyslogd: the last error occured in /raid/data/module/rSyslog/system/etc/rsyslog-user.conf, line 17:"$ModLoad ommysql"
2018-02-01T20:06:05.750220+01:00 N5550 rsyslogd: the last error occured in /raid/data/module/rSyslog/system/etc/rsyslog-user.conf, line 34:"*.* :ommysql:127.0.0.1,Rsyslogdb,sysloguser,syslogpassw"
2018-02-01T20:06:05.764123+01:00 N5550 rsyslogd: warning: selector line without actions will be discarded
2018-02-01T20:06:05.764206+01:00 N5550 rsyslogd: the last error occured in /raid/data/module/rSyslog/system/etc/rsyslog.conf, line 11:"$IncludeConfig /raid/data/module/rSyslog/system/etc/rsyslog-user.conf"
2018-02-01T20:06:05.778092+01:00 N5550 rsyslogd-2124: CONFIG ERROR: could not interpret master config file '/raid/data/module/rSyslog/system/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]

Did i missed something?

Thank you