On Wed, 3 Jun 2015, Tim Eifler wrote:
Hi all,
under some versions we're experiencing a strange problem if rsyslog should
use the write to database action. The strange thing is that this error
first occurs under the version v8.10.0 but we've not changed anything
related to MySQL.
Below you can find the error message:
Jun 3 12:15:06 localhost rsyslogd-2007: can not initialize MySQL handle
[v8.11.0.master try http://www.rsyslog.com/e/2007 ]
The error occurs at the mysql_init:
https://mariadb.com/kb/en/mariadb/mysql_init/
I was able to produce this problem under RHEL 7 with the following versions:
v8-stable - (Official Repository)
v8.11.0.master - (Tarball of the master - Official Git) - I create a
tarball via make dist and compiled it as the normal git version
v8.10.0 - (Tarball)
It works under the following versions:
v8.11.0.master - (Master Branch - Official Git)
V8.9.0 - (Tarball)
I can't explain why it not works with the tarball of the git master
version.. Please let us know if you have an idea why this error occurs.
to troubleshoot this, please look in the MySQL logs and see if it reports an
error when rsyslog connects.
If that doesn't give us enough info, we may need to have you run rsyslog in
debug mode and see what it logs as it tries to deliver a message to the database
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.