2 ntpd (5.3-STABLE-SNAP001)

Scot Hetzel swhetzel at gmail.com
Wed Mar 2 15:54:00 GMT 2005


On Wed, 2 Mar 2005 16:07:04 +0100 (CET), Thomas Krause
<freebsd-stable at chef-ingenieur.de> wrote:
> Hello,
> when starting ntpd at boot time, I've 2 ntpd's running:
> 
> gate:/ # ps auxw | grep ntp
> root   407  0.0  0.7  2944 1752  ??  Ss    3:54PM   0:00.02 /usr/sbin/ntpd
> -p /var/run/ntpd.pid -f /var/db/ntpd.drift
> root   417  0.0  0.7  2944 1776  ??  S     3:54PM   0:00.00 /usr/sbin/ntpd
> -p /var/run/ntpd.pid -f /var/db/ntpd.drift
> 
> gate:/ # ntpq
> ntpq> peers
> No association ID's returned
> 
> After restarting, I've one daemon and all is running fine:
> 
> gate:/ # /etc/rc.d/ntpd restart
> Stopping ntpd.
> Starting ntpd.
> 
> gate:/ # ps auxw | grep ntp
> root   566  0.0  0.7  2944 1784  ??  Ss    4:04PM   0:00.02 /usr/sbin/ntpd
> -p /var/run/ntpd.pid -f /var/db/ntpd.drift
> 
> Any idea why? I' running 5.3-STABLE-SNAP001.
> 
It could be that you have 2 scripts that are starting ntpd, check your
rc.d directories:

grep ntp /etc/rc.d/* /usr/local/etc/rc.d/*

Scot


More information about the freebsd-stable mailing list