Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 15:29:31 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-10.3 No ntpd.pid file created
Message-ID:  <288356da-b1e6-78e2-cb88-44e702a07d81@FreeBSD.org>
In-Reply-To: <64a16a3bb8e0280170201b96b4042825.squirrel@webmail.harte-lyne.ca>
References:  <64a16a3bb8e0280170201b96b4042825.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--6deLTum1C1oi7pNbacehbNEELlsqMob7K
Content-Type: multipart/mixed; boundary="xQKJjw0EqnPL33iFRP6lirKbjPJAQ8XDQ";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <288356da-b1e6-78e2-cb88-44e702a07d81@FreeBSD.org>
Subject: Re: FreeBSD-10.3 No ntpd.pid file created
References: <64a16a3bb8e0280170201b96b4042825.squirrel@webmail.harte-lyne.ca>
In-Reply-To: <64a16a3bb8e0280170201b96b4042825.squirrel@webmail.harte-lyne.ca>

--xQKJjw0EqnPL33iFRP6lirKbjPJAQ8XDQ
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2017/02/06 15:01, James B. Byrne via freebsd-questions wrote:
> We have a 10.3 BHyve virtual guest that is running ntpd.  However,
> when ntpd starts it is not creating a pid file and so normal service
> commands do not work.  ntpd is part of the base system and we have not
> altered any of the rc scripts or to our knowledge changed any
> permissions.

What happens if

 - you add '-p /var/run/ntpd.pid' to the ntpd arguments?

or

 - you add 'pidfile "/var/run/ntpd.pid"' to /etc/ntp.conf ?

According to ntpd(8), 'pidfile' is apparently a valid configuration file
directive, despite not being mentioned in ntp.conf(5).

	Cheers,

	Matthew



--xQKJjw0EqnPL33iFRP6lirKbjPJAQ8XDQ--

--6deLTum1C1oi7pNbacehbNEELlsqMob7K
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJYmJZcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnXnQP/0vYMwSCP2o0sZKJqA7y13e4
+KqmZRyE6RdZt3gZy/y1/4co5wLt67ldQw6JnGVd5gqHuU0eUgDOiczF2HdKT8P6
JLxy3yb2TsjPXNMcq48Rj50yzmB4ILhj48ehvLrJ2FhGHQoHQGY39hm/47ZQRSt4
2aqUYqfloJNh9GuN4vroyucV1npSArtW9i2Of7ZYG+sLL50Vl8j3be3nIFH3KJmq
BXNG7SROd0/HArU8frcAOpaUQTSond2BufCskrkWxsafWYNlJrhYitpcZIwImEiF
7az7uyisnovmdJgMyXQdQ2M2pUIBf8QnaK7LOYIZ5d1cH8CcD8FRdwN05XYi6lNL
WZ/TF1ahKJytp5uJVG8wfpsqPWFILFXuM2rxAsVbVrZrrWa1gPuOnEh0YqWYjUfD
IRLD+2IWoYwTxdOlT2EQ2cr091kAE6v7QDp7A5QQcFktibGVbltfZ3+Jt84/QDQ5
EqI1yrrLtTCZrxEUOQ4xfDK+eAqQaeJN0DM4drE9AmwNZd8g7iLtewCe3q9ZS+v2
wVEjmDrQFvZ4QUzg0r4xBmyG7xSGepHAj2oIEB0DrNNdzJdz0rdJnNPq90U0HHAl
4WWbDInWgJnu7zQ/jKUImZ+ezkS04QLh/ugCMDDdhGYzWguxmtWS/wkWZ3t2k3gL
hM3urc1c3JWTV3OGqDep
=RmVJ
-----END PGP SIGNATURE-----

--6deLTum1C1oi7pNbacehbNEELlsqMob7K--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?288356da-b1e6-78e2-cb88-44e702a07d81>