> -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of C. L. Martinez > Sent: Monday, February 18, 2013 8:11 AM > To: rsyslog-users > Subject: Re: [rsyslog] Recovering queues > > On Mon, Feb 18, 2013 at 7:09 AM, Soham Chakraborty > <[email protected]> wrote: > > On Mon, Feb 18, 2013 at 12:28 PM, C. L. Martinez > <[email protected]>wrote: > > > >> Hi all, > >> > >> This morning I met with this unpleasant surprise: > >> > >> Feb 16 16:58:05 syslogsrv02 kernel: Out of memory: Kill process > >> 23495 > >> (rsyslogd) score 880 or sacrifice child > >> > >> > >> This problem was generated due to a failure in our central syslog > >> server. Now, I have a lot of files in rsyslog queues directories > >> stored. I have tried to flush them restarting rsyslog, without luck. > >> Can I recover these files?? How can I fix this situation?? > >> > > > > You mean you have tried to restart rsyslogd on the central server > > itself and still logs from the clients are not being dumped into the > > central server. Is that the correct assumption. > > > > Nop, rsyslog is a client. I have restarted rsyslog and queued logs files are > not > forwarded to central syslog server (central syslog server is syslog-ng).
The queue had a dirty shutdown, so the .qi file is either non-existant or damaged. There is a user-contributed fixup script under ./tools/recover_qi.pl HTH Rainer _______________________________________________ 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.

