[syslog-ng]bind_inet_socket() error

Walt Rich syslog-ng@lists.balabit.hu
Sat, 23 Oct 2004 17:36:30 -0500


This is a multi-part message in MIME format.

------_=_NextPart_001_01C4B951.66A512F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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
#=20

I've turned off regular syslog on this box..=20

-----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
=20
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:
> =20
>=20
> I'm getting the following error when attempting to start syslog-ng:
> =20
>  # ./S74syslog start=20
>  io.c: bind_inet_socket() bind failed 172.16.65.61:514 Cannot assign
> requested address
>  Error initializing configuration, exiting.
> =20
>  here is the line in the syslog-ng.conf file that is setting up a the
> corresponcidg source:
> =20
>  source net_tcp { tcp( ip(172.16.65.61) port(514) ); };
> =20
>  Does anyone know what the error means and how I can get around it?=20
> =20
>  I appreciate any help you can provide.
> =20
>  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





------_=_NextPart_001_01C4B951.66A512F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.6944.0">
<TITLE>RE: [syslog-ng]bind_inet_socket() error</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Response to a) shows:<BR>
# ifconfig -a | grep 172<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet 172.16.100.202 netmask =
ffffff00 broadcast 172.16.100.255<BR>
<BR>
all of which is correct.<BR>
<BR>
Response to b) is nothing:<BR>
<BR>
# netstat -an | grep 514<BR>
#<BR>
<BR>
I've turned off regular syslog on this box..<BR>
<BR>
-----Original Message-----<BR>
From: syslog-ng-admin@lists.balabit.hu on behalf of Dave Johnson<BR>
Sent: Sat 10/23/2004 11:15 AM<BR>
To: syslog-ng@lists.balabit.hu<BR>
Subject: Re: [syslog-ng]bind_inet_socket() error<BR>
<BR>
a) ifconfig -a |grep 172<BR>
&nbsp; this shows you have that ip address on that machine?<BR>
b) netstat -an |grep 514<BR>
&nbsp; is there something already listening on 514 tcp?<BR>
<BR>
On Fri, 22 Oct 2004 17:54:39 -0500, Walt Rich =
&lt;walt.rich@parago.com&gt; wrote:<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt; I'm getting the following error when attempting to start =
syslog-ng:<BR>
&gt;&nbsp;<BR>
&gt;&nbsp; # ./S74syslog start<BR>
&gt;&nbsp; io.c: bind_inet_socket() bind failed 172.16.65.61:514 Cannot =
assign<BR>
&gt; requested address<BR>
&gt;&nbsp; Error initializing configuration, exiting.<BR>
&gt;&nbsp;<BR>
&gt;&nbsp; here is the line in the syslog-ng.conf file that is setting =
up a the<BR>
&gt; corresponcidg source:<BR>
&gt;&nbsp;<BR>
&gt;&nbsp; source net_tcp { tcp( ip(172.16.65.61) port(514) ); };<BR>
&gt;&nbsp;<BR>
&gt;&nbsp; Does anyone know what the error means and how I can get =
around it?<BR>
&gt;&nbsp;<BR>
&gt;&nbsp; I appreciate any help you can provide.<BR>
&gt;&nbsp;<BR>
&gt;&nbsp; Thanks!<BR>
_______________________________________________<BR>
syslog-ng maillist&nbsp; -&nbsp; syslog-ng@lists.balabit.hu<BR>
<A =
HREF=3D"https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://list=
s.balabit.hu/mailman/listinfo/syslog-ng</A><BR>
Frequently asked questions at <A =
HREF=3D"http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/s=
yslog-ng/faq.html</A><BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C4B951.66A512F0--