Hi Mayur,

I can't pinpoint where your problem comes from, but I would try two things:
1. Start rsyslog on debug mode on the syslog server. Send something from
your non-working machine to UDP 514 via netcat. Something like:
echo '<13>Oct 11 22:14:15 test-host test-app: hello world' | nc -w 0 -u
$REMOTEHOST 514

See if it gets something. If it doesn't, then your problem is likely to be
unrelated to rsyslog. Look for firewalls, routers, and other weird issues.
If you want to double-check, you can eliminate rsyslog from the loop
completely by stopping it and listening with netcat on the remote server:

nc -lvvu 0.0.0.0 514

2. Try to simplify the configuration, and add options once you get it
working.

I'd start with:
$ModLoad imuxsock
*.*                        @172.20.54.213:514

send a test message (eg: `logger bla`) and see if it works.

I hope this helps.

Best regards,
Radu


2013/7/2 Mayur Patil <[email protected]>

> hello,
>
>    I am trying to export logs to third machine but unable to get it.
>
>    I have 3 machines from which 2 clients and 1 server.
>
>    While one is sending logs fine way. So I copied configuration of 1st
> client to
>
>    2nd and restart rsyslog but no response from second. Instead, logs are
> going into
>
>    /var/log/messages than on the server machines.
>
> --
> *Cheers,
> Mayur*.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to