[syslog-ng] Not able to set source IP in syslog-ng.conf.
Girish Kumar
girish.kumar at al-enterprise.com
Tue Mar 1 17:47:51 CET 2016
Thank you.
Regards,
Girish
-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Fabien Wernli
Sent: Tuesday, March 01, 2016 9:12 PM
To: syslog-ng at lists.balabit.hu
Subject: Re: [syslog-ng] Not able to set source IP in syslog-ng.conf.
Hi Girish,
On Tue, Mar 01, 2016 at 03:36:34PM +0000, Girish Kumar wrote:
> [2016-03-01T10:27:06.128929] Error binding socket; addr='AF_INET(10.135.83.104:514)', error='Cannot assign requested address (99)'
> [2016-03-01T10:27:06.128983] Error initializing message pipeline;
You're trying to bind a foreign address.
What you probably want is:
source d_source {
syslog("0.0.0.0"
…
}
or the local IP on the interface from where 10.135.83.104 is reachable
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
More information about the syslog-ng
mailing list