Date: Thu, 25 Apr 2002 16:50:07 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: johann@broadpark.no Cc: questions@freebsd.org Subject: Re: ntpd + ntpdate Message-ID: <20020425165007.S56548@k7.mavetju.org> In-Reply-To: <1019716572.3cc7a3dce3351@mail.broadpark.no>; from johann@broadpark.no on Thu, Apr 25, 2002 at 08:36:12AM %2B0200 References: <1019716572.3cc7a3dce3351@mail.broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 25, 2002 at 08:36:12AM +0200, johann@broadpark.no wrote: > I have enabled ntpdate and xntpd in rc.conf and created a ntp.conf hoping > it would keep my clock correct: > > server ntp.online.no prefer > server ntp.uio.no > server timehost.ifi.uio.no > server ntp.tiscali.no > > All these servers are valid, yet I get this when I type 'ntpdate': > > 25 Apr 07:34:43 ntpdate[294]: no servers can be used, exiting > > And when I tail messages: > > Apr 25 07:17:28 ninja ntpd[257]: ntpd 4.1.0-a Fri Apr 5 10:02:24 CEST 2002 > (1) > Apr 25 07:17:28 ninja ntpd[257]: bind() fd 4, family 2, port 123, addr > 0.0.0.0, in_classd=0 flags=1 fails: Address already in use This is a strange one, I have multiple servers too but don't get that one. Maybe it's because you tried to start it twice (it will explain it because there is one with PID 70 and 257). Just adding 'xntpd_enable="YES"' in /etc/rc.conf hsould be enough to start it at run-time. > Apr 25 07:17:53 ninja ntpd[70]: time correction of 3633 seconds exceeds > sanity limit (1000); set clock manually to the correct UTC time. This means that the initial adjustment is too big. Run 'ntpdate ntp.online.no' once, it will set the clock right. After that, the daemon can do it itself with minor adjustments (i.e. less than 1000 seconds :-) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ 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?20020425165007.S56548>