LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-05-2003, 10:23 AM   #1
nadnodbe
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Red Hat 8.0
Posts: 2

Rep: Reputation: 0
Exclamation Logs + Unknown Restats


Late last night I checked my apache log remotely and access_log was only showing logs from early morning on the 4th of May, whereas previously it had been showing logs going back to the 26 or28th. I checked my security log and saw my ssh version had been scanned, I took heed of the "don't panic" message, and didn't:

Instead I decided to power off the box until I could be in front of it. When I got back I saw that all of my logs had started again from early (0400) 4th.
I don't know what's happened.
Have the logs simply started again for the new week? I would think this first only why not file off days and allow a backlog of 6 days instead of cleaning out the logs and starting again? If not this, what else could it be?

This was in my system log:
May 4 04:02:03 localhost syslogd 1.4.1: restart.

And this was in my Apache error log:
[Sun May 04 04:02:04 2003] [notice] Digest: generating secret for digest authentication ...
[Sun May 04 04:02:04 2003] [notice] Digest: done
[Sun May 04 04:02:05 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations

I really would like to know what's happened here, if anything?
 
Old 05-05-2003, 11:36 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Looks like logrotation! Did you configure weekly log rotation ? Check /etc/logrotate.d
 
Old 05-05-2003, 01:32 PM   #3
nadnodbe
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Red Hat 8.0
Posts: 2

Original Poster
Rep: Reputation: 0
Yeah thanks mate, I figured it out eventually. A cron process. I thought I would have had to setup such a process but apparently not! Also I was looking for a windows style archive file such as access_log-may2003 but instead were access_log.2 (which was there already, only now, it has data in it!)
Thanks again
 
Old 05-05-2003, 04:08 PM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Well you can always use piped log files with Apache v2 this works very well.
 
  


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
Ubuntu logs on, then logs back off generallee5686 Ubuntu 0 10-20-2005 01:11 PM
Firewall logs in logs and terminal... robbow52 Debian 7 11-20-2004 07:13 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM
Apache logs - ???Linux logs??? mylo2003 Linux - General 3 08-07-2003 04:49 PM

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

All times are GMT -5. The time now is 04:44 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