rgerhards at hq
Jun 5, 2012, 11:11 PM
Post #2 of 2
Looks like in some remote spot the actual message is not emitted. Please post your complete config file, so that I can run it and see the same problem.
Re: Error message with no error ?? Or I'm misinterpreting it?
[In reply to]
> -----Original Message-----
> From: rsyslog-bounces [at] lists [mailto:rsyslog-
> bounces [at] lists] On Behalf Of Jason Marshall
> Sent: Wednesday, June 06, 2012 5:36 AM
> To: rsyslog [at] lists
> Subject: [rsyslog] Error message with no error ?? Or I'm misinterpreting it?
> I tried looking through the archives, but didn't find what I was looking
> for. I'm having issues with my rsyslog.conf file, and when I run rsyslogd
> -N 1 (or any other number) I get the nebulous message "rsyslogd: the last
> error occured in /etc/rsyslog.conf, line 29:...............". BUT, there
> is no "last message":
> -bash-3.2# rsyslogd -f /etc/rsyslog.conf -N 9 -c5
> rsyslogd: version 6.2.1, config validation run (level 9), master config
> rsyslogd: the last error occured in /etc/rsyslog.conf, line 29:"if $hostname ==
> "172.23.48.14" then
> rsyslogd: warning: selector line without actions will be discarded
> I compiled rsyslogd-6.2.1 from source, and don't believe I got any
> warnings during the process... Kind of scratching my head here because my
> syntax appears to match that of the examples I've found online... Any
> ideas? Thanks in advance!!
> Jason Marshall
> rsyslog mailing list
> What's up with rsyslog? Follow https://twitter.com/rgerhards
rsyslog mailing list
What's up with rsyslog? Follow https://twitter.com/rgerhards