multiple ntpd processes
Nerius Landys
nlandys at gmail.com
Thu Jun 12 21:29:10 UTC 2008
In addition, here are the contents of my /etc/ntp.conf file:
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
restrict default kod nomodify notrap nopeer noquery
I'm running FreeBSD 7.0, and I have 'ntpd_enable="YES"' in my /etc/rc.conf.
> Every time I reboot my server, I get two ntpd processes:
>
> nlandys at daffy# ps -U root | grep ntpd
> PID TT STAT TIME COMMAND
> 571 ?? Ss 0:00.12 /usr/sbin/ntpd -c /etc/ntp.conf -p
> /var/run/ntpd.pid
> 686 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p
> /var/run/ntpd.pid
>
> When I run '/etc/rc.d/ntpd stop' it kills the first process in the output
> above but leaves the second one. I must manually kill this second process
> and then run '/etc/rc.d/ntpd start' to get ntpd to function normally,
> otherwise [while there are 2 processes running] ntpd does not seem to keep
> the clock in sync. Please help.
>
>
More information about the freebsd-questions
mailing list