Solved

syslog-ng error.

Posted on 2008-10-29
3
457 Views
Last Modified: 2013-12-16
I have configured openSuse syslog-ng to send logs to a remote windows server.
in /var/log/message file I get this error message every minute:
"Error connecting to remote host AF_INET(x.x.x.x:514) reopening in 60 seconds. "
does any body know what does it mean and how to resove it.

my entry in syslog-ng.conf
destination eventmanager { udp("x.x.x.x" port(514)); };
log { source(src); destination(eventmanager); };

there is a firewall between the client and the remote server.  

Thank you.
Abdellah
0
Comment
Question by:AbdellahT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Expert Comment

by:jools
ID: 22836400
Is the syslog server on the windows system accept remote connections?
0
 
LVL 7

Accepted Solution

by:
macker- earned 500 total points
ID: 22836773
Just to confirm, "x.x.x.x" is a correct and valid IP address, that you've obscured for the purposes of this question?

Have you verified that the firewall is not rejecting the packets, and that the Windows server is configured to accept them?

In Windows, you can do a basic test by opening the command prompt, and running the command "netstat -an"; you should see an entry, such as "UDP    0.0.0.0:514           *:*".  If there is no such entry, then the Windows server is not listening.

It wouldn't hurt to verify that packets are being sent out, and received.  On the Linux side, you can use tcpdump, e.g. `tcpdump -p udp port 514 and dst 1.2.3.4`, where 1.2.3.4 is the address of the Windows server, as defined in syslog-ng.conf.  Similar monitoring on the Windows side would be useful, using your favorite sniffer, if one is available and able to be run on this host.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question