Date: Wed, 28 Dec 2016 10:01:29 -0600 From: "Dean E. Weimer" <dweimer@dweimer.net> To: byrnejb@harte-lyne.ca Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: ntpd on FreeBSD-11 source: Message-ID: <3b7f21baf185712e19e81b074a00e8f2@dweimer.net> In-Reply-To: <998bbb80a87dcf50d5b451659459b37c.squirrel@webmail.harte-lyne.ca> References: <998bbb80a87dcf50d5b451659459b37c.squirrel@webmail.harte-lyne.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-12-28 9:10 am, James B. Byrne via freebsd-questions wrote: > On FreeBSD-11.0 when I see this: > > # ntpd -V > /usr/sbin/ntpd: illegal option -- V > ntpd - NTP daemon program - Ver. 4.2.8p9 > > # which ntpd > /usr/sbin/ntpd > > But I also see this on the same system: > > pkg which $(which ntpd) > /usr/sbin/ntpd was not found in the database > > # pkg info ntp > pkg: No package(s) matching ntp > > and yet: > > # pkg search ntp > . . . > ntp-4.2.8p9 The Network Time Protocol Distribution > . . . > > So, where does the ntpd I am running come from if not from a package > or port? AND if it does, as I believe it must, come from the port > packages then why is it not reported by 'pkg info' and its program > file not listed in the port database? > > -- > *** e-Mail is NOT a SECURE channel *** > Do NOT transmit sensitive data via e-Mail > Do NOT open attachments nor follow links sent by e-Mail > > James B. Byrne mailto:ByrneJB@Harte-Lyne.ca > Harte & Lyne Limited http://www.harte-lyne.ca > 9 Brockley Drive vox: +1 905 561 1241 > Hamilton, Ontario fax: +1 905 561 0757 > Canada L8E 3C3 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" That is the ntp that is built into the operating system. You need to run /usr/local/sbin/ntpd to use the pone from packages/ports. Add this line to rc.conf to tell the startup script /etc/rc.d/ntpd to start the package/port version instead of the operating system version at system boot. ntpd_program="/usr/local/sbin/ntpd" -- Thanks, Dean E. Weimer http://www.dweimer.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b7f21baf185712e19e81b074a00e8f2>