[CentOS] Centos 7: Problem with named-chroot service after last update
Dario Lesca
d.lesca at solinos.itTue Mar 15 10:32:24 UTC 2016
- Previous message: [CentOS] Perl on CentOS 6 and CentOS 7
- Next message: [CentOS] Yum update issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
- Previous message: [CentOS] Perl on CentOS 6 and CentOS 7
- Next message: [CentOS] Yum update issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list