Centos 7: Problem with named-chroot service after last update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



After last update, the named-chroot service not start anymore with this
error:
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone mydom.local/IN:
> loading from master file mydom.local/master.zone failed: file not fou
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone mydom.local/IN:
> not loaded due to errors.
> mar 15 10:26:33 s-virt.mydom.local bash[3263]:
> _default/mydom.local/IN: file not found
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone 0.168.192.in-
> addr.arpa/IN: loading from master file mydom.local/reverse.zone
> failed:
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone 0.168.192.in-
> addr.arpa/IN: not loaded due to errors.
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: _default/0.168.192.in-
> addr.arpa/IN: file not found

All file into /var/named/chroot/var/named/ are not found

After investigate I have found this error, into file:
 
    /etc/systemd/system/multi-user.target.wants/named-chroot.service

the ExecStartPre named-checkconf command is wrong: the option '-t
/var/named/chroot' is missing.

Solution:

Add '-t /var/named/chroot' option before the '-z' option into
ExecStartPre command or disable zone check via /etc/sysconfig/named

Hope this help

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux