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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-18-2005, 01:13 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2005
Location: Kuala Lumpur
Posts: 12
Rep:
|
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
|
|
|
|
04-18-2005, 01:27 PM
|
#2
|
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,575
|
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.
|
|
|
|
04-19-2005, 06:51 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2005
Location: Kuala Lumpur
Posts: 12
Original Poster
Rep:
|
/var/log/messages
Hi,
In Linux Enterprise server ... in /var/log ... there's a 'secure' file. What does this file for?
Regards,
kamal
|
|
|
|
04-19-2005, 07:58 PM
|
#4
|
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,575
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|