[syslog-ng]syslog-ng to mysql

Balazs Scheidler syslog-ng@lists.balabit.hu
Wed, 26 Nov 2003 10:17:45 +0100


On Tue, Sep 23, 2003 at 01:49:11PM +0200, Ali, Tahir wrote:
> Hey,
> 
> I'am running syslog-ng Version: 1.5.15-1. I pipe all the syslog messages to a mysql database. Every thing works fine, but some times it stop logging to the database.
> 
> I run mysql Version: 3.23.49-8. 
> 
> When i restart syslog-ng it work fine again. It can work fine for weeks. 
> 
> Have any else experience the same problem ?

Maybe you are using klogd and syslog-ng is reading /proc/kmsg? I've added a
workaround for this problem to 1.6.0rc4 (making /proc/kmsg nonblocking)

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1