linux bind não pode reiniciar Erro é 'Falha ao iniciar o Berkeley Internet Name Domain (DNS)'.

0

Estou solucionando problemas que o bind do linux não pode iniciar.

A instalação está bem,

A estrutura de diretórios é

/var/named >>> has 
drwxr-x--- 6 root  root    66  3月  9 12:15 chroot
drwxrwx--- 2 named named    6  3月  9 17:46 data
drwxrwx--- 2 named named    6  1月 17  2017 dynamic
-rw-r----- 1 root  named 1892  2月 18  2008 named.ca
-rw-r----- 1 root  named  152 12月 15  2009 named.empty
-rw-r----- 1 root  named  152  6月 21  2007 named.localhost
-rw-r----- 1 root  named  168 12月 15  2009 named.loopback
drwxrwx--- 2 named named    6  1月 17  2017 slaves

/var/named/chroot/var/named >>> has
core.16509
data   ---------->>> has zone files...
list
riffpoint.net
salves
tmp
tmp2

Se digitar menção 'systemctl restart named-chroot.service', o log de erros é como

systemctl restart named-chroot.service                                                                                                                                                                                

Job for named-chroot.service canceled.
[root@virt-61 ~]# systemctl status named-chroot.service 
● named-chroot.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled; vendor preset: disabled)
Active: failed (Result: timeout) since 月 2018-03-12 11:13:26 JST; 21s ago
Process: 57280 ExecStart=/usr/sbin/named -u named -t /var/named/chroot $OPTIONS (code=exited, status=0/SUCCESS)
Process: 57277 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)

3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: 9.E.F.IP6.ARPA
3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: A.E.F.IP6.ARPA
3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: B.E.F.IP6.ARPA
3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
3月 12 11:11:56 virt-61 named[57283]: /etc/named.conf:84: couldn't add command channel 127.0.0.1#953: address in use
3月 12 11:11:56 virt-61 systemd[1]: PID file /var/named/chroot/run/named/named.pid not readable (yet?) after start.
3月 12 11:13:26 virt-61 systemd[1]: named-chroot.service start operation timed out. Terminating.
3月 12 11:13:26 virt-61 systemd[1]: Stopped Berkeley Internet Name Domain (DNS).
3月 12 11:13:26 virt-61 systemd[1]: Unit named-chroot.service entered failed state.
3月 12 11:13:26 virt-61 systemd[1]: named-chroot.service failed.

Log de erros detalhados ('journalctl -xe') é como

  3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: D.F.IP6.ARPA
  3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: 8.E.F.IP6.ARPA
  3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: 9.E.F.IP6.ARPA
  3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: A.E.F.IP6.ARPA                                                                                                                                                              

  3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: B.E.F.IP6.ARPA                                                                                                                                                              

  3月 12 11:11:56 virt-61 named[57283]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA                                                                                                                                                    

  3月 12 11:11:56 virt-61 named[57283]: /etc/named.conf:84: couldn't add command channel 127.0.0.1#953: address in use                                                                                                                    

  3月 12 11:11:56 virt-61 systemd[1]: PID file /var/named/chroot/run/named/named.pid not readable (yet?) after start.                                                                                                                     

  3月 12 11:13:26 virt-61 systemd[1]: named-chroot.service start operation timed out. Terminating.                                                                                                                                        

  3月 12 11:13:26 virt-61 polkitd[777]: Unregistered Authentication Agent for unix-process:57246:31997958 (system bus name :1.1619, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8) (disconnected from bu
  3月 12 11:13:26 virt-61 systemd[1]: Stopped Berkeley Internet Name Domain (DNS).                                                                                                                                                        

  -- Subject: Unit named-chroot.service has finished shutting down                                                                                                                                                                         

  -- Defined-By: systemd                                                                                                                                                                                                                   

  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel                                                                                                                                                                  

  --                                                                                                                                                                                                                                       

  -- Unit named-chroot.service has finished shutting down.                                                                                                                                                                                 

  3月 12 11:13:26 virt-61 systemd[1]: Unit named-chroot.service entered failed state.                                                                                                                                                     

  3月 12 11:13:26 virt-61 systemd[1]: named-chroot.service failed.                                                                                                                                                                        

  3月 12 11:13:26 virt-61 systemd[1]: Stopping Set-up/destroy chroot environment for named (DNS)...                                                                                                                                       

  -- Subject: Unit named-chroot-setup.service has begun shutting down                                                                                                                                                                      

  -- Defined-By: systemd                                                                                                                                                                                                                   

  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel                                                                                                                                                                  

  --                                                                                                                                                                                                                                       

  -- Unit named-chroot-setup.service has begun shutting down.                                                                                                                                                                              

  3月 12 11:13:26 virt-61 systemd[1]: Stopped Set-up/destroy chroot environment for named (DNS).                                                                                                                                          

  -- Subject: Unit named-chroot-setup.service has finished shutting down                                                                                                                                                                   

  -- Defined-By: systemd                                                                                                                                                                                                                   

  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel                                                                                                                                                                  

  --                                                                                                                                                                                                                                       

  -- Unit named-chroot-setup.service has finished shutting down. 

Você poderia ajudar a apontar onde eu errei?

    
por jonggu 12.03.2018 / 01:57

0 respostas

Tags