Date: Tue, 8 May 2007 14:48:57 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG, Martin Dieringer <martin.dieringer@gmx.de> Subject: Re: clock problem Message-ID: <200705081248.l48CmvBO083216@lurza.secnetix.de> In-Reply-To: <20070508140019.I839@thinkpad.dieringer.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin Dieringer wrote: > My clock is now _15 minutes_ late, after about 1 day with powerd > running. > ntpd is running also. > Can nobody tell where the problem is here? Are you sure that your /etc/ntp.conf ist correct? Are there any messages from ntpd in /var/log/messages? What's the output from "ntpq -p"? Make sure that you have these two lines in /etc/rc.conf: ntpd_enable="YES" ntpd_sync_on_start="YES" The second one is important -- it passes the -g option to ntpd. Without that option, ntpd refuses to perform an initial correction if the clock offset is too large. If there are still problems, please show us the contents of your /etc/ntp.conf file. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd PI: int f[9814],b,c=9814,g,i;long a=1e4,d,e,h; main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a) while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705081248.l48CmvBO083216>