Skip site navigation (1)Skip section navigation (2)
Date:      10 Sep 2004 15:11:08 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Matthias F. Brandstetter" <haimat@lame.at>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to update system time?
Message-ID:  <448ybiq6r7.fsf@be-well.ilk.org>
In-Reply-To: <200409102000.52343.haimat@lame.at>
References:  <200409101942.51769.haimat@lame.at> <2301747004091010514a3271d@mail.gmail.com> <200409102000.52343.haimat@lame.at>

next in thread | previous in thread | raw e-mail | index | archive | help
"Matthias F. Brandstetter" <haimat@lame.at> writes:

> The computer _is_ able to reach the ntp server.
> See this example:
> 
> [ 17:34 mx2@ebox ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 mx2@ebox ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 mx2@ebox ~ ] rdate -s time.fu-berlin.de
> [ 17:35 mx2@ebox ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 mx2@ebox ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 mx2@ebox ~ ]

time.fu-berlin.de is not an ntp server, so that's a different problem
than rdate.

> I really wonder why system time isn't set, because as said I use the rdate 
> tool on another FreeBSD machine and the same time server w/o any 
> problems...
> 
> Any other ideas?

I seem to recall that rdate isn't very good at giving error
information.  Are the two systems configured identically?  A raised
securelevel(8) (level 2 or higher) will keep the time from getting
changed by more than 1 second...



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