LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SYSLOG port issue (https://www.linuxquestions.org/questions/linux-networking-3/syslog-port-issue-541496/)

daldyr 03-28-2007 11:11 PM

SYSLOG port issue
 
I have a problem telling syslog to forward messages from a Linux box to a central logging box but not on the default port.

I can forward the messages from syslog on the default port 514 to the logging box but I cannot figure out how to tell syslog to send to port 518.
I've use the line
*.* @10.1.1.20
which works fine for the default port 514 and I've tried the following lines
*.* @10.1.1.20 518
*.* @10.1.1.20,518
*.* @10.1.1.20;518
*.* @10.1.1.20:518
to get syslog to send to port 518 on the logging server but it does not work. I've disabled the firewall on the Linux box. The central monitoring box is a windows 2003 r2 box and is receiving syslog messages from other windows servers. I have the constraints of not being able to change to from syslog to syslog-ng or change the logging server’s port.
Any help would be greatly appreciated

macemoneta 03-28-2007 11:16 PM

Have you tried updating the port 514 entry in /etc/services to 518 and restarting syslogd?

daldyr 03-29-2007 12:08 AM

It worked first off, I now feel stupid (but a little wiser).
I've spent most of the day searching around the net for the answer.
Many Thanks


All times are GMT -5. The time now is 07:55 PM.