unable to syslog from one computer to another
Posted on 2007-04-03
I am trying to send log messages from a Linux box named longstreet to another Linux box named venus. They are on the same subnet. The messages never show up on venus. I am using a logger command on longstreet such as the following to send the message:
tayloe@longstreet$ logger -p mail.info "This is a test"
I happen to use mail.info, but it could be any facility or severity level.
The relevant line in the /etc/syslog.conf file on longstreet is:
The relevant line in the /etc/syslog.conf file on venus is:
The message never shows up in /var/log/mail.test on venus. The message does, however, show up on longstreet in the correct file for mail.info messages. So I know the message is going out.
I started the syslog program on venus with the -r option so I think it is accepting logs from other hosts. Below is the output from "ps -e | grep 514" on venus, so I think venus is listening on udp 514 which is apparently the correct default port.
udp 0 0 0.0.0.0:514 0.0.0.0:*
udp 0 0 :::514 :::*
I don't think iptables is running on venus. That might prevent venus from getting log messages from another host.
I am able to go the other way. That is, I am able to log messages on longstreet that are sent from venus. So the computers are able to talk OK.
Can someone tell me what might be wrong?