Error: named restart failed
Error: named restart failed
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:
Any idea whats this all about?
Thanks in advance.
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
Thanks in advance.
Re: Error: named restart failed
Hello Raptor,
Can you try this please :
Moreover, can you check the /var/log/vesta/* logs files after that.
Can you try this please :
and try again ?v-rebuild-dns-domain admin mydomain.org
Moreover, can you check the /var/log/vesta/* logs files after that.
Re: Error: named restart failed
saying command not found, and in the error log i saw thisKyon wrote:Hello Raptor,
Can you try this please :
and try again ?v-rebuild-dns-domain admin mydomain.org
Moreover, can you check the /var/log/vesta/* logs files after that.
Code: Select all
2014-08-27 00:36:44 v-list-dns-domain admin www.mydomain.org json [Error 3]
Re: Error: named restart failed
Hello,
show me please result of this command
show me please result of this command
Code: Select all
service named configtest
Re: Error: named restart failed
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
CentOS x86 v6
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
Re: Error: named restart failed
Last edited by hnoor0055 on Thu Dec 10, 2020 3:32 pm, edited 2 times in total.
Re: Error: named restart failed
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
viewtopic.php?f=30&t=12001
Re: Error: named restart failed
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
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.
Re: Error: named restart failed
I don't see bin-chrootdards wrote: ↑Fri Jul 29, 2016 9:24 amHi, 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
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.