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

next in thread | raw e-mail | index | archive | help
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?560f92640806121417v792f1134medc75be8a164da16>