From owner-freebsd-questions@freebsd.org Sat Mar 16 22:39:10 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 047221540402 for ; Sat, 16 Mar 2019 22:39:10 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B35A77C3A for ; Sat, 16 Mar 2019 22:39:09 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vs1-xe2a.google.com with SMTP id g127so350409vsd.6 for ; Sat, 16 Mar 2019 15:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=b0YPJ9tVP6asWcYfO4G3FH8AoOazUoG0B7r8CZIJVMM=; b=C3izH240zEWyErTgRMkZiah/dylrieV3AHwza50kddgEWiJMjtpjNKzEeIe3F4i1+r UAl8JWyWWXa21G9zgnC38btfR02yQ2sS22Rnxs+oQTAdJ4XZax99eWGZruMZ+g07a37m DIRkzaImExpzOv4e5OFdHhDjMszUzxLAY0GbrWoFIiZAnnYSGQN2aam6ytkkPRHNdqZH 46QQ4ZjtJ4Tgn6Q8cWUPq2kONj5LiE7GediTwZhYzmgcEHb6RlLsoGwN4rHSNjOx4gps DmHHSU/yJyjGkgBYEmNcSZuXls5irGS7TwPS2oNR02WiOtYKmFaLIcHVOEhbo0xQKq/M 4djg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=b0YPJ9tVP6asWcYfO4G3FH8AoOazUoG0B7r8CZIJVMM=; b=QYa5lCefKQNbOq3GMgKLnI1X43nLel1gWogNSEEOi8j/24Ynuf/5OkAsw7wLVokkO8 2HZa5fy0M9UnXJ8LBSO4d0+BCp9Fkq25oJ6sbzUvrAJvJtZK/Juqhqh7umkvk/NaQEB0 oW4cWZRQiFhZ35MOkyAWucafCvtzJZ96oxec1sV1NM6DUpNeF3CW0QNVqot1k95Mkput KNAOHUqY9forqVdx33A569etDePFVhbzoVoA2RtX+GIHsJequJeab1aWqlR6SqxQoYRW T/tum5UNDmrosIeFbXNR21dgh7d2htpSOD6aK1AjDn5fKzYt5L33Rql2OuPQJQCmSco6 5qOg== X-Gm-Message-State: APjAAAVsDDJF3ALWPat5nRPV44HmPj6vVkFkJFQRS5iSV//SUMCOBIDY /7/cMB8KHvgqMCK1hJpXje3sAyVeKxnbrJQYoTiIz5X8 X-Google-Smtp-Source: APXvYqzxjtJq6/kEZJv2H8FlkZChD7DVD+Vll5Zq3DKGwBQjoIno5xaU28hpllMz2wbrX8HIYBNRmXzpRvKHIIqAJhE= X-Received: by 2002:a67:f64f:: with SMTP id u15mr5690659vso.1.1552775948065; Sat, 16 Mar 2019 15:39:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:54c1:0:0:0:0:0 with HTTP; Sat, 16 Mar 2019 15:39:07 -0700 (PDT) In-Reply-To: References: From: B J Date: Sat, 16 Mar 2019 22:39:07 +0000 Message-ID: Subject: Re: Upgraded 11.2 -> 12.0, ntpd Won't Start To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 0B35A77C3A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=C3izH240; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of va6bmj@gmail.com designates 2607:f8b0:4864:20::e2a as permitted sender) smtp.mailfrom=va6bmj@gmail.com X-Spamd-Result: default: False [-6.92 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-2.93)[ip: (-9.75), ipnet: 2607:f8b0::/32(-2.74), asn: 15169(-2.08), country: US(-0.07)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[a.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2019 22:39:10 -0000 On 3/15/19, B J wrote: > Before I did the upgrade, I ran ntpd by putting > > ntpd_enable="YES" > > in: > > /etc/rc.conf > > Now, when I boot my computer, I get: > > Security policy loaded: MAC/ntpd (mac_ntpd) > Starting ntpd. > su: unknown login: ntpd > /etc/rc: WARNING: failed to start ntpd > > The upgrade to 12.0 was done with the following: > > freebsd-update fetch > freebsd-update install > freebsd-update -r 12.0-RELEASE upgrade > > I restarted the machine and ran: > > /usr/sbin/freebsd-update install > > when prompted to do so. I also reinstalled all the packages and, I > believe, ports. I didn't, however, run mergemaster or: > > pwd_mkdb -p /etc/master.passwd > > nor do I recall being prompted to do so during the upgrading process. > (Maybe I wasn't paying attention.) > > Can I get ntpd to run if I ran: > > pwd_mkdb -p /etc/master.passwd > Thanks to everyone who responded. Your comments and suggestions were most helpful. I ran: pwd_mkdb -p /etc/master.passwd on one of my computers and rebooted it when it was done. I got the following message in the startup output: ntpd[755]: pid file /var/db/ntp/ntpd.pid: Permission denied I checked the file and found that the file has the number 789 in it. By comparison, I have two systems that have fresh installations of FreeBSD 12.0. Neither of them had the problem with ntpd that I mentioned in my original post. I just checked the file on one of them and found that it has the number 885. My question, now, is this: is the condition mentioned in the message I got on the upgraded machine a problem? Is the difference in the ntpd.pid files something to be concerned about? Meanwhile, the computer's clock appears to be running properly as I reset my watch and the both are synchonized, so it seems that problem has been resolved. Thanks. BMJ