我有 Debian 和 Bind9 和 Webmin
昨天我错误地启动了命令 chmod-Rv 777 /
我试图运行这些输出命令来生成一个脚本来恢复最近的权限
但是当我重新启动 bind9 服务时,我收到以下错误消息:
May 29 06:29:31 mydomain named[4635]: starting BIND 9.8.4-rpz2+rl005.12-P1 -u bind
May 29 06:29:31 mydomain named[4635]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2'
May 29 06:29:31 mydomain named[4635]: ----------------------------------------------------
May 29 06:29:31 mydomain named[4635]: BIND 9 is maintained by Internet Systems Consortium,
May 29 06:29:31 mydomain named[4635]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
May 29 06:29:31 mydomain named[4635]: corporation. Support and training for BIND 9 are
May 29 06:29:31 mydomain named[4635]: available at https://www.isc.org/support
May 29 06:29:31 mydomain named[4635]: ----------------------------------------------------
May 29 06:29:31 mydomain named[4635]: adjusted limit on open files from 4096 to 1048576
May 29 06:29:31 mydomain named[4635]: found 1 CPU, using 1 worker thread
May 29 06:29:31 mydomain named[4635]: using up to 4096 sockets
May 29 06:29:31 mydomain named[4635]: loading configuration from '/etc/bind/named.conf'
May 29 06:29:31 mydomain named[4635]: open: /etc/bind/named.conf: permission denied
May 29 06:29:31 mydomain named[4635]: loading configuration: permission denied
May 29 06:29:31 mydomain named[4635]: exiting (due to fatal error)
它说错误打开/etc/bind/named.conf 权限被拒绝
我试图在谷歌上搜索,但没有找到任何东西。
我尝试卸载,然后清除并重新安装,但 bind9 显示相同的错误