I have many RHEL 6 servers set up to use disk assisted queues to forward
logs via tcp to a central server.  This is working, but for several
reasons, on a good many of the systems, I have several (on some over 8k)
files stuck in the queue.  Stopping/restarting the rsyslog daemon doesn't
clear them out.  I can dump the network traffic and see that new logs are
being sent.  I found a perl script at:

https://github.com/mcarpenter/rsyslog/blob/master/tools/recover_qi.pl

that suggests it would rebuild the index file if missing.  I thought maybe
that is why these files aren't forwarding.  So, I downloaded and attempted
to use it.  However, I am getting a "bareword" error on "value."  It is
pointing in the serialize subroutine to the "$x .= join" line.  It says
compilation aborted and points to the "use base
qw(Rsyslog::Serialiazable):" in "package Rsyslog::OPB;"

First, is recovering the index file the correct way to get these stuck
files forwarded?
Second, any idea why perl thinks "value" is a bareword?

I'm using perl v5.10.1.

Thanks!
_______________________________________________
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.

Reply via email to