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
  • 1
  • 2
  • Next
Raptor
Posts: 8
Joined: Mon Aug 11, 2014 8:39 pm

Error: named restart failed
  • Quote

Post by Raptor » Mon Aug 25, 2014 2:25 am

Hello everybody, so i was editing the my domain to add ssl and when i tried to save i got this error
Error: named restart failed
Idk whats causing this so i went to ssh and tried to restart named and i got this:

Code: Select all

[xxxxxxxxxxxx]# service named restart
Stopping named:                                            [  OK  ]
Starting named:
Error in named configuration:
zone mydomain.org/IN: loading from master file /home/admin/conf/dns/mydomain.org.db failed: file not found
zone mydomain.org/IN: not loaded due to errors.
_default/mydomain.org/IN: file not found
Any idea whats this all about?
Thanks in advance.
Top

Kyon
Posts: 19
Joined: Tue Jul 29, 2014 9:11 am

Re: Error: named restart failed
  • Quote

Post by Kyon » Mon Aug 25, 2014 3:44 pm

Hello Raptor,

Can you try this please :
v-rebuild-dns-domain admin mydomain.org
and try again ?

Moreover, can you check the /var/log/vesta/* logs files after that.
Top

Raptor
Posts: 8
Joined: Mon Aug 11, 2014 8:39 pm

Re: Error: named restart failed
  • Quote

Post by Raptor » Tue Aug 26, 2014 10:57 pm

Kyon wrote:Hello Raptor,

Can you try this please :
v-rebuild-dns-domain admin mydomain.org
and try again ?

Moreover, can you check the /var/log/vesta/* logs files after that.
saying command not found, and in the error log i saw this

Code: Select all

2014-08-27 00:36:44 v-list-dns-domain admin www.mydomain.org json       [Error 3]
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Error: named restart failed
  • Quote

Post by imperio » Thu Aug 28, 2014 9:42 pm

Hello,
show me please result of this command

Code: Select all

service named configtest
Top

!!!
Posts: 1
Joined: Thu Sep 11, 2014 1:28 pm

Re: Error: named restart failed
  • Quote

Post by !!! » Thu Sep 11, 2014 1:34 pm

I have problem is not resolved

zone mydomain.net/IN: loading from master file /home/admin/conf/dns/mydomain.net.db failed: file not found zone mydomain.net/IN: not loaded due to errors.
_default/mydomain.net/IN: file not found

This error when send command

Code: Select all

service named configtest
CentOS x86 v6
Top

hnoor0055
Posts: 1
Joined: Mon Mar 28, 2016 7:56 pm

Re: Error: named restart failed
  • Quote

Post by hnoor0055 » Mon Mar 28, 2016 8:14 pm

Thinks for everything



== merry christmas gif=
==
Last edited by hnoor0055 on Thu Dec 10, 2020 3:32 pm, edited 2 times in total.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Error: named restart failed
  • Quote

Post by skurudo » Tue Mar 29, 2016 2:37 pm

!!! wrote:I have problem is not resolved
Rebuild DNS first.

Image
Top

hiolips
Posts: 14
Joined: Mon Jun 20, 2016 7:24 am

Re: Error: named restart failed
  • Quote

Post by hiolips » Wed Jul 06, 2016 12:59 pm

i have the same problem, any suggestion from this topic don't help me, can you look at my topic on the forum:
viewtopic.php?f=30&t=12001
Top

dards
Posts: 1
Joined: Fri Jul 29, 2016 9:14 am

Re: Error: named restart failed
  • Quote

Post by dards » Fri Jul 29, 2016 9:24 am

Hi, I'm having the same problem but I just found the solution
NOTE: I am using CentOs 6.10 , please check your OS before using the solution below.


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
Last edited by dards on Sat Feb 15, 2020 1:45 pm, edited 1 time in total.
Top

amaulanas
Posts: 6
Joined: Mon Jul 23, 2018 6:58 am

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

Post by amaulanas » 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.
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

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