Rsyslog error

Hi,

I downloaded rsyslog and installed it. Then it will show many errors and also my date format was not like before now like this (2014-09-29T22:46:00.348883+00:00 freebsd rsyslogd:) and also no ommysql.so so the log cannot import to MySQL.Other errors please see below picture;



Do you know why? How can I fix it?
 

Attachments

  • 1.PNG
    1.PNG
    41.1 KB · Views: 431
Build it from ports. The MySQL option is turned off by default:
Code:
MYSQL=off: MySQL output module for rsyslog
All the other errors and warnings seem to be configuration issues.
 
SirDice said:
Build it from ports. The MySQL option is turned off by default:
Code:
MYSQL=off: MySQL output module for rsyslog
All the other errors and warnings seem to be configuration issues.

Here is my configuration file, how can I modify?
Code:
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog   # provides kernel logging support (previously done by rklogd)
#$ModLoad immark  # provides --MARK-- message capability
$ModLoad imudp
$UDPServerRun 514

*.*     /var/log/messages
*.*     ~
$ModLoad ommysql # load MySQL functionality
local0.*       :ommysql:localhost,Syslog,sysloguser,syslogpass
 
Back
Top