<div>Hi All<br clear="all"></div>
<div>I am configuring syslog-ng confile to receive logs from different m/c of network.</div>
<div>I have added these in my syslog-ng.conf file</div>
<div>source s_external {<br>        udp(ip(&quot;xxx.xxx.xxx.xxx&quot;) port(514));</div>
<div>};</div>
<div>destination s_external { file(&quot;/mydir/syslogs/$HOST_syslog.log&quot; \<br>    owner(user) group(group) perm(0600) dir_perm(0700) create_dirs(yes)); </div>
<div>};</div>
<div> </div>
<div>log { source(s_external); destination(s_external); };</div>
<div> </div>
<div>Also made entry in iptable </div>
<div>iptables -A INPUT -p udp -i eth1 -s xxx.xxx.xxx.xxx -d yyy.yyy.yyy.yyy --dport 514 -j ACCEPT<br></div>
<div> </div>
<div>When i restart syslog service it gives this error</div>
<div> /etc/init.d/syslog restart<br>Shutting down syslog services                                         done<br>Re-Starting syslog servicesio.c: bind_inet_socket() bind failed xxx.xxx.xxx.xxx:514 Cannot assign requested address<br>
Error initializing configuration, exiting.<br><a href="file://startproc/">\\startproc</a>:  exit status of parent of /sbin/syslog-ng: 1        failed</div>
<div> </div>
<div> </div>
<div>What is wrong in this?</div>
<div>-- <br>Regards..<br>Abhay Singh..<br></div>