From owner-freebsd-questions@freebsd.org Wed Dec 28 16:05:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22E72C9478B; Wed, 28 Dec 2016 16:05:21 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7F211531; Wed, 28 Dec 2016 16:05:20 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id uBSG1TlM016801 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 28 Dec 2016 10:01:29 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id uBSG1TgK016800; Wed, 28 Dec 2016 10:01:29 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: byrnejb@harte-lyne.ca Subject: Re: ntpd on FreeBSD-11 source: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 28 Dec 2016 10:01:29 -0600 From: "Dean E. Weimer" Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <998bbb80a87dcf50d5b451659459b37c.squirrel@webmail.harte-lyne.ca> References: <998bbb80a87dcf50d5b451659459b37c.squirrel@webmail.harte-lyne.ca> Message-ID: <3b7f21baf185712e19e81b074a00e8f2@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.2.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2016 16:05:21 -0000 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/