Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 10:43:17 -0400
From:      "MikeM" <myraq@mgm51.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: time off by 30 minutes
Message-ID:  <200209211043170534.007CCCDA@home.24cl.com>
In-Reply-To: <5.1.0.14.2.20020920172257.04ac5568@mail.Go2France.com>
References:  <5.1.0.14.2.20020920091303.04382968@mail.Go2France.com> <5.1.0.14.2.20020920083918.03223cf0@mail.Go2France.com> <5.1.0.14.2.20020920091303.04382968@mail.Go2France.com> <5.1.0.14.2.20020920172257.04ac5568@mail.Go2France.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/20/2002 at 5:28 PM Len Conrad wrote:

>> >>I think the problem could be the -d (debug) option to ntpdate.
Try
>> >
>> ># rm /etc/localtime
>> ># ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
>> ># ntpdate time.nist.gov
>> >20 Sep 08:42:52 ntpdate[71492]: step time server 192.43.244.18
offset
>> >1784.223346 sec
>>  ^^^^^^^^^^^^^^^
>
># rm /etc/localtime
>
># ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
>
># date
>Fri Sep 20 16:54:07 CDT 2002    (wall clock is + 30 minutes from this
time)
>
># date 1723
>Fri Sep 20 17:23:00 CDT 2002
>
># ntpdate -b tock.jrc.us
>20 Sep 16:55:49 ntpdate[8172]: step time server 65.211.109.11 offset 
>1780.396309 sec
>
># date
>Fri Sep 20 16:56:00 CDT 2002
>
>Is the peecee's hardware messed up?
 =============


Probably not, the error is too consistent to be the type of hardware
errors I've seen.  

"Something" is preventing ntpdate from setting the clock.  I know that
ntpd has a 1000 second maximum on clock adjustments, but I do not think
that ntpdate has a similar limit.   My next step would be to take
ntpdate completely out of the picture.

Try running date to set the clock to the correct time, then run date
without any parameters to see what the time is.  If you still have the
1/2 hour differential, then you have eliminated ntpdate from the mix.
If you still have the error, then I would start looking at the
clock-setting process within FreeBSD to see if that may be blocking the
adjustment for some reason.






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209211043170534.007CCCDA>