LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-18-2005, 01:13 PM   #1
kamalsharif
LQ Newbie
 
Registered: Apr 2005
Location: Kuala Lumpur
Posts: 12

Rep: Reputation: 0
log in /var/log/messages


Hi,

I have a Linux Enterprise Server 2.1 running on my server.

Did the installation sometime around Nov 2004. When I view the log in /var/log/messages I can't see any logs that was recorded since Nov 2004.

In /var/log I see messages, messages.1 , messages.2, messages.3 and messages.4 ...

When I vi file messages.4, the log was recorded sometime around March 2005 ... this means that all the "messages" file in /var/log will have is the latest log, which is today, and the first log that was recorded sometime around March 2005.

This also means that I can't view any log before March 2005 ... is this normal ?


How can I get any logs that was recorded since day 1 the server started to run?
Need advice.

Regards,
Kamal
 
Old 04-18-2005, 01:27 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,770

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Somewhere in your system, logrotate has been set to rotate logs at specified intervals. The interval may be file size or number of days of use. Then logrotate will close the log file and add an extension, such as .1, .2, and so on. Logrotate will also create a new messages file to begin logging anew.
The oldest saved log should be messages.1; the most recent messages in the current messages file.
You should check your system to see if you have anything running to automatically delete files after a specified period of time.
 
Old 04-19-2005, 06:51 AM   #3
kamalsharif
LQ Newbie
 
Registered: Apr 2005
Location: Kuala Lumpur
Posts: 12

Original Poster
Rep: Reputation: 0
/var/log/messages

Hi,

In Linux Enterprise server ... in /var/log ... there's a 'secure' file. What does this file for?


Regards,
kamal
 
Old 04-19-2005, 07:58 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,770

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
I respectfully suggest that you start a new thread with your most recrent question.
My Linux distros don't have such a file. Other users of Linux may be able to help, if you re-post the question as a new thread.
 
  


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
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
Error log in /var/log/messages raymond117 Linux - Security 9 01-26-2005 07:17 AM
How to log conversation between server in /var/log/messages? juris Linux - Software 1 11-23-2004 09:54 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration