Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 14:21:49 -0700
From:      "Nerius Landys" <nlandys@gmail.com>
To:        questions@freebsd.org
Subject:   Re: multiple ntpd processes
Message-ID:  <560f92640806121421h3f0cefd8x64ba428480675409@mail.gmail.com>
In-Reply-To: <560f92640806121417v792f1134medc75be8a164da16@mail.gmail.com>
References:  <560f92640806121417v792f1134medc75be8a164da16@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.
>
>



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