Re: multiple ntpd processes
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: [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multiple ntpd processes
On Thu, Jun 12, 2008 at 02:17:46PM -0700, Nerius Landys wrote: 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: [EMAIL PROTECTED] 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 This is normal. ntpd spawns a secondary process to check timesyncs on startup. Have a look at the parent-child links with ps l. It goes away after it has decided which time-source to use. -- Jonathan Chen [EMAIL PROTECTED] -- In mathematics you don't understand things. You just get used to them. - Johann von Neumann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]