[syslog-ng] Not able to set source IP in syslog-ng.conf.

Fabien Wernli wernli at in2p3.fr
Tue Mar 1 16:42:21 CET 2016


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



More information about the syslog-ng mailing list