Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 12:39:56 -0600
From:      Chris <racerx@makeworld.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ntpd
Message-ID:  <200402251239.56975.racerx@makeworld.com>
In-Reply-To: <BAY15-F27xJJRRBItJg00006099@hotmail.com>
References:  <BAY15-F27xJJRRBItJg00006099@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 25 February 2004 12:33 pm, Brian H wrote:
> Greetings:
> I am trying to setup my bsd box as a ntp server.
> I basically want all machines on my local network to
> sync times with this bsd time server. I start the server
> with the command `ntpd -A -l /var/log/ntpd.log`. I verify
> that the server is running with ps and `netstat -na | grep udp`,
> but when I look in the logs i see the following
>
> /var/log/ntpd.log
> ----
> ntpd 4.1.0-a Mon Oct 27 14:55:18 GMT 2003 (1)
> kernel time discipline status 2040
> Un-parsable frequency in /etc/ntp.drift
>
>
> Any thoughts on what I can do to get this server working.
> when i try to sync from another machine on the network
> I get the following error: no servers can be used, exiting.
>
> Thanks,
>
> Brian

My /etc/rc.conf looks like this - Compare it to yours.

ntpd_enable="YES"  
ntpd_program="/usr/sbin/ntpd"
ntpd_flags="-c /etc/ntp.conf"
ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"


Perhaps touch ntpd.drift in /var/db/ ?

-- 
Best regards,
Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402251239.56975.racerx>