From owner-freebsd-questions Wed Apr 24 23:46:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailc.telia.com (mailc.telia.com [194.22.190.4]) by hub.freebsd.org (Postfix) with ESMTP id CD20D37B41B for ; Wed, 24 Apr 2002 23:45:46 -0700 (PDT) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailc.telia.com (8.11.6/8.11.6) with ESMTP id g3P6jir01807 for ; Thu, 25 Apr 2002 08:45:45 +0200 (CEST) Received: from falcon.midgard.homeip.net (h53n2fls20o913.telia.com [212.181.163.53]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id IAA25539 for ; Thu, 25 Apr 2002 08:45:44 +0200 (CEST) Received: (qmail 88422 invoked by uid 1001); 25 Apr 2002 06:45:43 -0000 Date: Thu, 25 Apr 2002 08:45:43 +0200 From: Erik Trulsson To: johann@broadpark.no Cc: questions@freebsd.org Subject: Re: ntpd + ntpdate Message-ID: <20020425064543.GA88388@student.uu.se> Mail-Followup-To: johann@broadpark.no, questions@freebsd.org References: <1019716572.3cc7a3dce3351@mail.broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1019716572.3cc7a3dce3351@mail.broadpark.no> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Apr 25, 2002 at 08:36:12AM +0200, johann@broadpark.no wrote: > Hi. > > 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 ntpdate does not look at the ntp.conf file. You must specify the server(s) to use directly on the command line. > > 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 It looks like you are trying to start ntpd while another copy of ntpd is already running. (You will get similar errors if you try to run ntpdate with ntpd already running.) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message