Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 08:45:43 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        johann@broadpark.no
Cc:        questions@freebsd.org
Subject:   Re: ntpd + ntpdate
Message-ID:  <20020425064543.GA88388@student.uu.se>
In-Reply-To: <1019716572.3cc7a3dce3351@mail.broadpark.no>
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:
> 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.)

-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

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?20020425064543.GA88388>