Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

Error: named restart failed

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
11 posts
  • Previous
  • 1
  • 2
SanTi
Posts: 39
Joined: Tue Jan 08, 2019 1:23 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Error: named restart failed
  • Quote

Post by SanTi » Fri Oct 18, 2019 1:27 pm

amaulanas wrote: ↑
Tue Jul 31, 2018 4:54 pm
dards wrote: ↑
Fri Jul 29, 2016 9:24 am
Hi, I'm having the same problem but I just found the solution

check how many bind* are installed on your server
yum list installed bind*

Installed Packages
bind.x86_64 32:9.8.2-0.47.rc1.el6 @base
bind-chroot.x86_64 32:9.8.2-0.47.rc1.el6 @base
bind-libs.x86_64 32:9.8.2-0.47.rc1.el6 @base
bind-utils.x86_64 32:9.8.2-0.47.rc1.el6 @base

if you see bind-chroot then this cause problem
yum remove bind-chroot

restart the named
service named restart
I don't see bin-chroot
named still failed to start

Update : Just share when you got the same error with me and still not start with above solution
It maybe different log error on me, but I solve when I detect there are 2 record duplicated on "www" with A and CNAME

Here my error failed start with "service named status -l"
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-08-01 00:00:06 WIB; 3min 17s ago
Process: 2763 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)

Aug 01 00:00:06 reducerealm systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
Aug 01 00:00:06 reducerealm bash[2763]: dns_master_load: /home/admin/conf/dns/mysubdomain.domain.com.db:23: www.mysubdomain.domain.com: CNAME and other data
Aug 01 00:00:06 reducerealm bash[2763]: zone mysubdomain.domain.com/IN: loading from master file /home/admin/conf/dns/mysubdomain.domain.com.db failed: CNAME and other data
Aug 01 00:00:06 reducerealm bash[2763]: zone mysubdomain.domain.com/IN: not loaded due to errors.
Aug 01 00:00:06 reducerealm bash[2763]: _default/mysubdomain.domain.com/IN: CNAME and other data
Aug 01 00:00:06 reducerealm systemd[1]: named.service: control process exited, code=exited status=1
Aug 01 00:00:06 reducerealm systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Aug 01 00:00:06 reducerealm systemd[1]: Unit named.service entered failed state.
Aug 01 00:00:06 reducerealm systemd[1]: named.service failed.
Has problem solved?
Top


Post Reply
  • Print view

11 posts
  • Previous
  • 1
  • 2

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password