[syslog-ng]Failed Assertion Error

Dennis Skinner syslog-ng@lists.balabit.hu
Tue, 09 Sep 2003 11:08:04 -0400


On Mon, 2003-09-08 at 12:51, Balazs Scheidler wrote:

> Hmm.. this means that an I/O callback adds another fd to the main poll loop.
> Can you show your config file?

I think I am no longer getting this error with 1.6.  (although I'm
almost positive I got it the first time I ran it).  Now it is working
fine for a few minutes and then just stops logging.  No error messages
and the process does not die.  It just stops functioning.  Will do
further testing tonight or tomorrow (got pulled away on another
project).

I am using same config file for 1.5 and 1.6.  Here it is:

######
options { long_hostnames(off); sync(0); };

source s_local {
        internal();
        unix-stream("/dev/log");
};
source s_kmsg {
        file("/proc/kmsg");
};
source s_beb_udp {
        udp(ip("10.1.2.3") port(514));
};

source s_feb_udp {
        udp(ip("192.168.1.2") port(514));
};

destination d_sort_program_host {
        file("/var/log/$HOST/$PROGRAM.$MONTH$DAY$YEAR"
                group("logs")
                perm(0640)
                create_dirs(yes)
                dir_perm(0750)
        );
};

destination d_sort_host {
        file("/var/log/$HOST/$MONTH$DAY$YEAR"
                group("logs")
                perm(0640)
                create_dirs(yes)
                dir_perm(0750)
        );
};

log {
      source(s_local);
      source(s_kmsg);
      destination(d_sort_program_host);
};

log {
      source(s_beb_udp);
      destination(d_sort_program_host);
};

log {
      source(s_feb_udp);
      destination(d_sort_host);
};

######

-- 
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com
-- 
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com