RE: [syslog-ng]bind_inet_socket() error
Response to a) shows: # ifconfig -a | grep 172 inet 172.16.100.202 netmask ffffff00 broadcast 172.16.100.255 all of which is correct. Response to b) is nothing: # netstat -an | grep 514 # I've turned off regular syslog on this box.. -----Original Message----- From: syslog-ng-admin@lists.balabit.hu on behalf of Dave Johnson Sent: Sat 10/23/2004 11:15 AM To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng]bind_inet_socket() error a) ifconfig -a |grep 172 this shows you have that ip address on that machine? b) netstat -an |grep 514 is there something already listening on 514 tcp? On Fri, 22 Oct 2004 17:54:39 -0500, Walt Rich <walt.rich@parago.com> wrote:
I'm getting the following error when attempting to start syslog-ng:
# ./S74syslog start io.c: bind_inet_socket() bind failed 172.16.65.61:514 Cannot assign requested address Error initializing configuration, exiting.
here is the line in the syslog-ng.conf file that is setting up a the corresponcidg source:
source net_tcp { tcp( ip(172.16.65.61) port(514) ); };
Does anyone know what the error means and how I can get around it?
I appreciate any help you can provide.
Thanks!
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
On Sun, 2004-10-24 at 00:36, Walt Rich wrote:
Response to a) shows: # ifconfig -a | grep 172 inet 172.16.100.202 netmask ffffff00 broadcast 172.16.100.255
but you are trying to bind to 172.16.65.61, which is not local. (your local IP is .202) (for TCP sources you are specifying the bind IP and not the IP address you want to receive messages from) -- Bazsi
participants (2)
-
Balazs Scheidler
-
Walt Rich