Dario Lesca
2016-Mar-15 10:32 UTC
[CentOS] Centos 7: Problem with named-chroot service after last update
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 foundAll 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)