Package: syslog-ng Version: 1.6.5-2.2 Severity: grave Justification: renders package unusable
The syslog daemon randomly bug and log infinitely the same message in /var/log/syslog about a call to accept() on a non socket. This is a strace of the process when it bugs. poll([{fd=2, events=POLLOUT, revents=POLLOUT}, {fd=8, events=0}, {fd=6, events=0}, {fd=7, events=0}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=1, events=POLLIN, revents=POLLIN}], 7, 100 ) = 2 write(2, "<43>Jun 13 10:59:36 smtp03 syslo"..., 97) = 97 accept(1, 0xbfffda90, [256]) = -1 ENOTSOCK (Socket operation on non-socket) getpid() = 573 time(NULL) = 1150189176 time(NULL) = 1150189176 poll([{fd=2, events=POLLOUT, revents=POLLOUT}, {fd=8, events=0}, {fd=6, events=0}, {fd=7, events=0}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=1, events=POLLIN, revents=POLLIN}], 7, 100 ) = 2 write(2, "<43>Jun 13 10:59:36 smtp03 syslo"..., 97) = 97 accept(1, 0xbfffda90, [256]) = -1 ENOTSOCK (Socket operation on non-socket) getpid() = 573 time(NULL) = 1150189176 time(NULL) = 1150189176 With lsof, I can see that the file descriptor "1" is open on /dev/null. I have in my configuration only one source without /dev/null: source s_all { internal(); unix-stream("/dev/log"); file("/proc/kmsg" log_prefix("kernel: ")); udp(); }; And there is no reference ton /dev/null in my configuration file so i don't know why it tries to use it. Moreover 16 servers have the same configuration file and 4 an other one but the bug happens on the 20 machines newly installed. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.29-1-p4-smp-ole Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages syslog-ng depends on: ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an ii util-linux 2.12p-4sarge1 Miscellaneous system utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]