[syslog-ng] Re-Starting syslog servicesio.c: bind_inet_socket() bind failed

abhay singh abhay.asingh at gmail.com
Wed Apr 14 07:58:08 CEST 2010

Hi All
I am configuring syslog-ng confile to receive logs from different m/c of
I have added these in my syslog-ng.conf file
source s_external {
        udp(ip("xxx.xxx.xxx.xxx") port(514));
destination s_external { file("/mydir/syslogs/$HOST_syslog.log" \
    owner(user) group(group) perm(0600) dir_perm(0700) create_dirs(yes));

log { source(s_external); destination(s_external); };

Also made entry in iptable
iptables -A INPUT -p udp -i eth1 -s xxx.xxx.xxx.xxx -d yyy.yyy.yyy.yyy
--dport 514 -j ACCEPT

When i restart syslog service it gives this error
 /etc/init.d/syslog restart
Shutting down syslog services                                         done
Re-Starting syslog servicesio.c: bind_inet_socket() bind failed
xxx.xxx.xxx.xxx:514 Cannot assign requested address
Error initializing configuration, exiting.
\\startproc <file://startproc/>:  exit status of parent of /sbin/syslog-ng:
1        failed

What is wrong in this?
Abhay Singh..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100414/aa9c5148/attachment.htm 

More information about the syslog-ng mailing list