[syslog-ng] Not able to set source IP in syslog-ng.conf.
Girish Kumar
girish.kumar at al-enterprise.com
Tue Mar 1 16:36:34 CET 2016
Hi All,
I have set the source IP to client address. This is at syslog-ng.conf file at server
On spawning the syslog-ng following error is seen . Could you please help me on this
[root at localhost cert.d]# /sbin/syslog-ng
[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;
10.135.83.104 is reachable from server
My conf file
------------------
@version:3.6
@include "scl.conf"
source s_local {
internal();
};
source d_source {
syslog(ip("10.135.83.104") port(514)
transport("udp")
);
};
destination d_local {
file("/var/log/messagesgiri");
};
log {
source(s_local);
source(d_source);
destination(d_local);
};
Regards,
Girish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160301/9eed1a06/attachment.htm
More information about the syslog-ng
mailing list