LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-06-2009, 09:41 AM   #1
HelpMe2877
Member
 
Registered: May 2008
Location: USA
Distribution: CentOS, RHEL, Windows
Posts: 54

Rep: Reputation: 15
Location of messages other than /var/log/messages?


Hello,

Right now i'm trying to track a bug on our Kerio mail server and didn't see anything relevant in the /var/log/messages file, so I was wondering if a controller card might place messages in a different location? If so, where?
Thanks in advance!
 
Old 07-06-2009, 09:52 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
/var/log/messages is used by syslogd. Syslogd logfile locations are configured in /etc/syslog.conf. Also, for instance if you think a logfile resides somewhere in /var, you could run 'lsof' as in 'lsof -P -w -n +D/var'. Or, if you know you run only one syslogd process you could find files it opens with 'lsof -P -w -n -p `pgrep syslogd`'.
* The "-P -w -n " isn't essential but speeds up running lsof because it needs to do less lookups.
 
  


Reply



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
what does messages suppressed in /var/log/messages mean saavik Linux - Networking 2 05-07-2008 02:31 PM
sym0:4:0 messages in /var/log/messages smallbook Linux - Newbie 0 02-20-2008 07:35 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:20 PM.

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