On 02/27/2012 12:12 PM, John Oliver wrote:
CentOS 5.7, sysklogd 1.4.1-46
I added "-r" to /etc/sysconfig/syslog and restarted the syslog service.
With tcpdump, I can see that other devices are sending traffic to UDP
514, but nothing is showing up in /var/log/messages, which is where
Googling suggests they'll end up without changing /etc/syslogd.conf I'm
not finding any other troubleshooting pointers... by all indications,
it's supposed to "just work" at this point. Any ideas?
No, there is no firewall.
Yes, syslogd is listening on UDP 514
Yes, I know sysklogd sucks and we need to use rsyslog or syslog-ng
I was able to add a -r and then use logger on another machine to send it
a message, this is RHEL 5.8 but the same version of sysklogd
#on system1:
$ grep -v "^#" /etc/sysconfig/syslog
SYSLOGD_OPTIONS="-m 0 -r"
KLOGD_OPTIONS="-x"
SYSLOG_UMASK=077
$ service syslog restart
# on system2:
$ logger -n system1 test
# back on system1
$ grep system2 /var/log/messages
Feb 28 20:12:09 system2 hbrown: test
So, I'd make sure that syslog.conf is configured to capture output (you
could temporarily add a line to capture *.* to a file). You could also
check to see if logging is buffered.
Hugh
_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list