ntpd does not work under 5.2

Antoine Jacoutot ajacoutot at lphp.org
Wed Jan 14 02:11:06 PST 2004


Hi :)

I'm trying to configure ntpd under 5.2-RELEASE, but I think there might be a 
bug or something. My configuration used to work under 4.x but now I get 
errors.

First:
$ /etc/rc.d/ntpd start
ps: kvm_getprocs: No such process
Starting ntpd.
--> I have no idea what it means

Second (after a few days):
$ cat /var/db/ntp.drift
0.000
--> it obviously does not sync; with ntpdate, it works though

Besides, my box looses something like 30 minutes per day !!!

Here is my /etc/ntp.conf:

server ntp.univ-lyon1.fr prefer
server clepsydra.dec.com
server ntp0.nl.net
driftfile /var/db/ntp.drift
restrict default ignore
restrict 127.0.0.1
restrict 192.168.0.0 mask 255.255.255.0 notrust nomodify notrap

ntpd process:
/usr/sbin/ntpd -p /var/run/ntpd.pid -f /var/db/ntpd.drift

If you have any ideas...
Thanks.
Regards,

Antoine



More information about the freebsd-questions mailing list