On 2022-09-22 at 10:55:06 UTC-0400 (Thu, 22 Sep 2022 15:55:06 +0100)
Mark Lucas <[email protected]>
is rumored to have said:

Sorry to probably ask the obvious but what command do I use to start it manually?

/opt/local/sbin/named -g -u named

That will start named in the foreground of your terminal and force all logging to the terminal on the 'standard error' file descriptor, so you'll see anything named emits as an error.

You can add a "-d #' option where '#' is a digit with higher numbers giving more detail. If running without that option does not give you anything helpful, start with '-d 1' and if you don't get anything, try 2 then 3 etc. If mem ory serves me, there's a level (4? 5?) where the volume of output precludes eyeball analysis. You should not need that.


On 22 Sep 2022, at 15:27, Daniel J. Luke <[email protected]> wrote:

On Sep 22, 2022, at 8:56 AM, Mark Lucas <[email protected]> wrote:
I just updated to bind 9.18.7 (Intel mac mini - macOS 12.6 ) and despite checking the config was ok, which it was, bind refuses to start. Looking at the contents of /opt/local/var/named/ mysteriously most of the files were now listed as being owned by non existent user 511. e.g. -rw-r--r-- 1 511 named - 3.2K 4 Aug 2021 named.root Tried uninstalling and reinstalling bind9 and changing /opt/local/var/named/ files owner to named but the problem remains.

I think the permissions stuff is unrelated to the port - it only installs these files into /opt/local/var/named:

% port contents bind9 | grep /opt/local/var/named
 /opt/local/var/named/db.127.0.0.dist
 /opt/local/var/named/db.cache.dist
 /opt/local/var/named/db.localhost.dist

You can try to start named by hand with `-g` (and maybe add a -d # option) to try to get more information on why it's not starting for you.

--
Daniel J. Luke



--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to