Big Sur on M1 - bind9 named daemon don't run
Mark Lucas
mllists at arc.co.uk
Thu Sep 22 16:09:50 UTC 2022
Having fixed the ownership and managed to manually startup named, the temp log produced cryptically ended by saying;
22-Sep-2022 16:44:15.726 general: critical: loading configuration: file not found
22-Sep-2022 16:44:15.727 general: critical: exiting (due to fatal error)
Turns out that for some reason the directory specified in the config supposed to contain the logs had been deleted.
You'd think named-checkconf might have picked that up.
Thanks for all the help.
> On 22 Sep 2022, at 16:50, Bill Cole <macportsusers-20171215 at billmail.scconsult.com> wrote:
>
> On 2022-09-22 at 10:27:16 UTC-0400 (Thu, 22 Sep 2022 10:27:16 -0400)
> Daniel J. Luke <dluke at geeklair.net <mailto:dluke at geeklair.net>>
> is rumored to have said:
>
>>> On Sep 22, 2022, at 8:56 AM, Mark Lucas <mark at arc.co.uk <mailto:mark at arc.co.uk>> 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.
>
> named.root is the historical name of the root cache for BIND. Identical to what MacPorts installs as db.cache.dist. The directory /opt/local/var/named/ and everything in it should be owned by user and group 'named'
>
> It looks possible that you've somehow had the user 'named' deleted (and it formerly had id 511.) That would cause permission problems.
>
>>
>> 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
> bill at scconsult.com <mailto:bill at scconsult.com> or billcole at apache.org <mailto:billcole at apache.org>
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220922/1b3774e2/attachment.htm>
More information about the macports-users
mailing list