Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-21-2007, 08:36 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Question Log File Date Oddness

Morning all...
Got a question about my messages log file. I hope this is the correct forum.

This morning I noticed that some entries in my /var/log/messages file are not chronological in order when I cat out the file... here is an example:

May 13 21:02:06 serverName udevsend[1574]: starting udevd daemon
May 13 21:02:08 serverName rc.sysinit: -e
May 14 01:03:01 serverName kernel: Initializing CPU#0
May 13 21:02:09 serverName scsi.agent[2391]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.2/1-1.2:1.1/host2/target2:0:0/2:0:0:0
May 14 01:03:01 serverName kernel: CPU 0 irqstacks, hard=c03ee000 soft=c03ce000
May 13 21:02:09 serverName scsi.agent[2382]: cdrom at /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.2/1-1.2:1.0/host1/target1:0:0/1:0:0:0
May 14 01:03:01 serverName kernel: PID hash table entries: 4096 (order: 12, 65536 bytes)

This doesn't happen througout the whole log file, but in different spots. I also checked in the rotated log files (messages.1, messages.2, etc.) and see sections in those files as well where this has happened..

Does anyone know what is going on and if it is something I should be concerned about?

Thanks in advance.
Old 05-22-2007, 01:39 AM   #2
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
It might be something to be concerned about, but I doubt it... I had this problem with an old server of mine when the battery died, therefor whenever it booted it thought it was 12:00 or 1:00 or something like that. Then while it was running it would sync with a time server, and be fine, until I exited out of X and started back up and the time would be messed up again and then it would fix itself after a few minutes.
I am not sure if this is your problem, but I had a problem with that once before. Have you ever had a problem with times before? And are the times that are messed up in messages.1 and 2 around the same time or different?



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
how to cat a log starting FROM a date TO a date graziano1968 Linux - General 7 03-21-2007 08:49 AM
any ideas to reduce log file size or make log file size managed? George2 Programming 2 08-13-2006 06:55 AM
Date in Log file name Runningonair Linux - General 8 06-02-2006 09:45 AM
Date issue with httpd log sopiaz57 Linux - Software 2 12-19-2003 08:27 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM > Forums > Linux Forums > Linux - Server

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