Bind9 Container Error

Zhiyong Cheng chengzhycn at gmail.com
Sun Jan 10 10:32:45 UTC 2021


在 2021年1月9日 +0800 AM3:14,Juarez Souza Junior <juasoujr at gmail.com>,写道:
> Hi All!
>
>  I'm trying to run Bind9 container but the these errors are happening:
>
> 08-Jan-2021 19:08:54.217 running as: named -g -c /etc/bind/named.conf -u bind
> 08-Jan-2021 19:08:54.217 compiled by GCC 9.3.0
> 08-Jan-2021 19:08:54.217 compiled with OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
> 08-Jan-2021 19:08:54.217 linked to OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
> 08-Jan-2021 19:08:54.217 compiled with libxml2 version: 2.9.10
> 08-Jan-2021 19:08:54.217 linked to libxml2 version: 20910
> 08-Jan-2021 19:08:54.217 compiled with json-c version: 0.13.1
> 08-Jan-2021 19:08:54.217 linked to json-c version: 0.13.1
> 08-Jan-2021 19:08:54.217 compiled with zlib version: 1.2.11
> 08-Jan-2021 19:08:54.217 linked to zlib version: 1.2.11
> 08-Jan-2021 19:08:54.217 ----------------------------------------------------
> 08-Jan-2021 19:08:54.217 BIND 9 is maintained by Internet Systems Consortium,
> 08-Jan-2021 19:08:54.217 Inc. (ISC), a non-profit 501(c)(3) public-benefit
> 08-Jan-2021 19:08:54.217 corporation.  Support and training for BIND 9 are
> 08-Jan-2021 19:08:54.217 available at https://www.isc.org/support
> 08-Jan-2021 19:08:54.217 ----------------------------------------------------
> 08-Jan-2021 19:08:54.217 found 4 CPUs, using 4 worker threads
> 08-Jan-2021 19:08:54.217 using 4 UDP listeners per interface
> 08-Jan-2021 19:08:54.221 using up to 21000 sockets
> 08-Jan-2021 19:08:54.225 loading configuration from '/etc/bind/named.conf'
> 08-Jan-2021 19:08:54.225 directory '/var/cache/bind' is not writable

It seems that this directory is not writable. Did you have checked the '/etc/bind/named.conf’
config file yet? It may find some clues.
> 08-Jan-2021 19:08:54.225 /etc/bind/named.conf.options:7: parsing failed: permission denied
> 08-Jan-2021 19:08:54.229 loading configuration: permission denied
> 08-Jan-2021 19:08:54.229 exiting (due to fatal error)
> I've already checked the permissions and seems to be ok.
>
> I'm using this line command to run:
> docker run --name=bind_test --restart=always --publish 192.168.56.1:53:53/udp --publish 192.168.56.1:53:53/tcp --publish 127.0.0.1:953:953/tcp -v /var/lib/bind9-data/etc/bind:/etc/bind -v /var/lib/bind9-data/var/cache/bind:/var/cache/bind:Z -v /var/lib/bind9-data/var/lib/bind:/var/lib/bind:Z -v /var/lib/bind9-data/var/log:/var/log:Z internetsystemsconsortium/bind9:9.16
>
> Could someone give me some help?
>
> --
> Regards,
>
> Juarez
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210110/7f1cb0b4/attachment.htm>


More information about the bind-users mailing list