Re: Strange date problem


Subject: Re: Strange date problem
From: ke Svensson (aakesve@algonet.se)
Date: Mon Jan 28 2002 - 09:54:55 MST


Thanks a lot Ken! Your tip about logrotate solved a problem for me too!

Regards,

Ake Svensson
PS I didn't know that the cuda switch was so interesting...

> Från: Ken Schweigert <ken@byte-productions.com>
> Svara till: yellowdog-general@lists.yellowdoglinux.com
> Datum: Mon, 28 Jan 2002 10:26:31 -0500
> Till: yellowdog-general@lists.yellowdoglinux.com
> Ämne: Re: Strange date problem
>
> Zeke,
>
> This happened to me when I initially installed YDL and forgot to set the
> date and the cron.daily logrotate script ran before I remembered to set it.
>
> To keep from having this error in my logs, I just switched user to root,
> deleted the state file and re-ran the logrotate script.
> [ken@byte-8 ken]$ su -
> Password:
> [root@byte-8 /root]# rm /var/lib/logrotate.status
> rm: remove `/var/lib/logrotate.status'? y
> [root@byte-8 /root]# /etc/cron.daily/logrotate
> [root@byte-8 /root]#
>
> logrotate creates a new statefile if one doesn't exist.
>
> Hope this helps.
>
> --
> -Ken Schweigert, Aspiring Network Administrator
> Byte Productions, LLC
> http://www.byte-productions.com
>
> On Sat, Jan 26, 2002 at 10:53:31AM -0500, Zeke Runyon wrote:
>> When I run Pine as root to check it's mail, it says on startup: "[Unable
>> to parse internal date: 27-Aug-1956 21:16:38-LCL]". When I do pine as
>> another user, this doesn't happen. I've sync'ed my time with the
>> nist.gov server many times, with both the hardware clock and system
>> clock.
>>
>> I also get this message daily in root from the cron daemon:
>>
>> "/etc/cron.daily/logrotate:
>>
>> error: bad year 1956 for file /var/log/messages in state file
>> /var/lib/logrotate.status"
>>
>> How do I fix this? Is my hardware clock battery dead? How do I find that
>> out?
>>
>> :::
>>
>> # Zeke Runyon, zrunyon@mac.com
>> # web: communistsquirrel.home.dhs.org (formerly zekeworld)
>> # linux: gloin.dyn.dhs.org
>> # Mac OS X 10.1.2 5P48 | OS 9.2.1 | Yellow Dog Linux 2.1
>> # Communist squirrels shall rule the world.
>>
>>
>



This archive was generated by hypermail 2a24 : Mon Jan 28 2002 - 11:12:43 MST