Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-23-2013, 04:33 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 11

Rep: Reputation: Disabled
remote logging problem with syslog utility

I am using centOS 4.x and using syslog 1.4.1
I am redirecting a syslog messages to host1. After that i have changed the host1 to host2 in /etc/syslog.conf. The syslog messages are redirecting to host2.
After rebooting the system i am getting some syslog messages in host1.
I can able to reproduce this issue few times.

Is this the cache problem in syslog or some other problem in linux?
Old 01-23-2013, 04:57 AM   #2
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Typically a host logs some syslog messages to itself. Maybe what you can see in host1 originates on host1?

Are you using 3 hosts? "centos", "host1", "host2" and logs from "centos" are unexpectedly arriving at "host1"?
If so show the syslog.conf here and how the hostname resolution is done.
Old 01-23-2013, 05:29 AM   #3
LQ Newbie
Registered: Jan 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
I am using Two centOS linux machines. From the third machine (CentoOS_Main) i am redirecting syslog messages to centoOS_1 . After some time i am redirecting syslog messages to CentOS_2. It works fine. After sometime i rebooted my CentOS_Main machine and i am observing very few syslog messages sent to centOS_1. Actually nothing has to sent to centOS_1.
I have observed this by capturing packets by tcpdump.

In /etc/syslog.conf i have used the ip of the centOS_1 machine. After that manually edited the syslog.conf by deleting the centOS_1 ip and entering centOS_2 ip.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[syslog-ng] logging remote server by IP address noir911 Linux - Server 4 06-22-2018 08:01 AM
[SOLVED] syslog remote logging with rsyslog server Chenchu Linux - Newbie 3 09-17-2011 01:34 PM
syslog-ng trying for remote logging sir-lancealot Linux - Server 0 06-26-2009 11:03 AM
Remote syslog logging for apache logs linuxfia Linux - Software 2 02-02-2009 06:14 PM
SYSLOG - logging to Remote Host dvong3 Linux - Networking 4 09-24-2002 07:14 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:22 PM.

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