Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RSyslog: users

Error message with no error ?? Or I'm misinterpreting it?

 

 

RSyslog users RSS feed   Index | Next | Previous | View Threaded


jasonm at kelman

Jun 5, 2012, 8:35 PM

Post #1 of 2 (119 views)
Permalink
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 /etc/rsyslog.conf
rsyslogd: the last error occured in /etc/rsyslog.conf, line 29:"if $hostname == "172.23.48.14" then
:ommysql:localhost,Syslog,syslog,xxxxxxxx"
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
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards


rgerhards at hq

Jun 5, 2012, 11:11 PM

Post #2 of 2 (108 views)
Permalink
Re: Error message with no error ?? Or I'm misinterpreting it? [In reply to]

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.

Thanks,
Rainer

> -----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
> /etc/rsyslog.conf
> rsyslogd: the last error occured in /etc/rsyslog.conf, line 29:"if $hostname ==
> "172.23.48.14" then
> :ommysql:localhost,Syslog,syslog,xxxxxxxx"
> 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
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
_______________________________________________
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

RSyslog users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.