io.c: bind_inet_socket() bind failed Address already in use
Hi, We use syslog-ng 1.6.12 in RHEL4. As part of our system testing we restart syslog-ng 150 times in a loop along with other services in the server. syslog-ng fails to come up 3/4 times with the error : "io.c: bind_inet_socket() bind failed 192.168.128.1:601 Address already in use". Is this a known problem in syslog-ng 1.6.12 ? Or is it a configuration problem ? Part of the syslog-ng.conf : # Options ######################################################## options { log_fifo_size(15000); stats(86400); time_reopen(5); log_msg_size(65536); }; # Source definitions ############################################## source src { tcp(ip("Server") port(601) keep-alive(yes) max-connections(100)); udp(ip("Server") port(514)); unix-stream("/dev/master_log"); internal(); };
Hi,
Hi,
We use syslog-ng 1.6.12 in RHEL4. As part of our system testing we restart syslog-ng 150 times in a loop along with other services in the server.
syslog-ng fails to come up 3/4 times with the error : "io.c: bind_inet_socket() bind failed 192.168.128.1:601 Address already in use".
How do you restart syslog-ng? It takes some time to close sources/ destinations and there is a chance that the new syslog-ng instance tries to bind to the same address the not-yet-stopped instance still uses. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
participants (2)
-
Geller, Sandor (IT)
-
Lucky Y