Package: syslog-ng Version: 2.0rc1-2 Severity: important Hi,
I've configured syslog-ng to log to a remote host using UDP: destination dh_loghost { udp("loghost.mydomain.com"); }; I've specified a static address for my eth0 device. At startup, it takes a while for the interface to come up (but ifup doesn't wait for it to come up). When I use the above statement in my configuration (and a log statement using this destination), syslog-ng starts up (at boot) but doesn't log anything to the remote host. It keeps on logging in the local file (every 10 seconds): Aug 21 13:32:32 mekong syslog-ng[3949]: Connection broken; time_reopen='10' Aug 21 13:32:42 mekong syslog-ng[3949]: I/O error occurred while writing; fd='20', error='Connection refused (111)' Aug 21 13:32:42 mekong syslog-ng[3949]: Connection broken; time_reopen='10' Aug 21 13:32:52 mekong syslog-ng[3949]: I/O error occurred while writing; fd='20', error='Connection refused (111)' Aug 21 13:32:52 mekong syslog-ng[3949]: Connection broken; time_reopen='10' Aug 21 13:33:02 mekong syslog-ng[3949]: I/O error occurred while writing; fd='20', error='Connection refused (111)' Aug 21 13:33:02 mekong syslog-ng[3949]: Connection broken; time_reopen='10' Aug 21 13:33:12 mekong syslog-ng[3949]: I/O error occurred while writing; fd='20', error='Connection refused (111)' I've used tcpdump to see if the machine tries to contact the remote host, but it doesn't. When I restart syslog-ng after bootup, it works OK. When I specify the IP address of the loghost in the configuration file, syslog-ng fails to start at startup. When I login after startup (using ssh) and restart syslog-ng, everything works ok. When I downgrade syslog-ng to the version in sarge, it works! So I guess this is a 2.0 bug? Greetings, Rik -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-amd64-k8-smp Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages syslog-ng depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii util-linux 2.12r-10 Miscellaneous system utilities Versions of packages syslog-ng recommends: ii logrotate 3.7.1-3 Log rotation utility -- no debconf information Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]