LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-28-2007, 11:11 PM   #1
daldyr
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
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
 
Old 03-28-2007, 11:16 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Have you tried updating the port 514 entry in /etc/services to 518 and restarting syslogd?
 
Old 03-29-2007, 12:08 AM   #3
daldyr
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SYSLOG port issue daldyr Linux - Server 1 03-28-2007 11:18 PM
Telnet Port 25 Issue jmj99385 Red Hat 8 12-25-2006 07:46 AM
LXer: Centralized Syslog Server Using syslog-NG LXer Syndicated Linux News 0 04-28-2006 06:21 PM
Port Farwarding issue. Tux_Phoenix Linux - Networking 3 03-23-2006 03:35 AM
Serial Port issue w0und3d Mandriva 10 03-22-2005 01:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration