how to update system time?

Bill Moran wmoran at potentialtech.com
Fri Sep 10 11:09:22 PDT 2004


"Matthias F. Brandstetter" <haimat at lame.at> wrote:

> ---------- quoting Shantanoo ----------
> > Is the computer properly networked? can it ping yahoo.com?
> 
> Yeah it is properly networked. I am connected via SSH now.
> And of course I can ping yahoo.com and other sites.
> 
> > the computer is not able to reach the ntp server. try pool.ntp.org
> 
> The computer _is_ able to reach the ntp server.
> See this example:
> 
> [ 17:34 mx2 at ebox ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 mx2 at ebox ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 mx2 at ebox ~ ] rdate -s time.fu-berlin.de
> [ 17:35 mx2 at ebox ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 mx2 at ebox ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 mx2 at ebox ~ ]
> 
> 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?

Is your securelevel set very high?  A high securelevel will prevent
drastic changes to the system clock (although I don't remember what is
specifically considered "drastic")

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


More information about the freebsd-questions mailing list