Page 1 of 1

vestacp dns problem

Posted: Sat Jan 24, 2015 6:22 pm
by confiahost
Hi
i am using ovh vps in ovh cp i see dns service is disabled.and when i try to add new domain using vestacp i got this Error named restart failed and domain added in Web tab in vestacp.i also try these commands using ssh terminal.

[root@vps35337 ~]# service named restart

Reponse:
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxx.xxxxxxxxxx.xxx/IN: file not found
zone xx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xx.xxxxxxxxxx.xxx.db failed: file not found
zone xx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/pk.xxxxxxxxxx.xxx/IN: file not found
zone xxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxx.xxxxxxxxxx.xxx/IN: file not found
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
[FAILED]

[root@vps35337 ~]# service named start

Reponse:

Error in named configuration:
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxx.xxxxxxxxxx.xxx/IN: file not found
zone xx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xx.xxxxxxxxxx.xxx.db failed: file not found
zone xx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/pk.xxxxxxxxxx.xxx/IN: file not found
zone xxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxx.xxxxxxxxxx.xxx/IN: file not found
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found

[root@vps35337 ~]# service named configtest

Reponse:

Error in named configuration:
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxx.xxxxxxxxxx.xxx/IN: file not found
zone xx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xx.xxxxxxxxxx.xxx.db failed: file not found
zone xx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/pk.xxxxxxxxxx.xxx/IN: file not found
zone xxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxx.xxxxxxxxxx.xxx/IN: file not found
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found

Note: xxxxxxxxxx.xxx is my domain and xxx.xxxxxxxxxx.xxx are my subdomains.

Please help me.

when try to open newly added domain it redirect me to server hostname.

Re: vestacp dns problem

Posted: Sun Jan 25, 2015 8:52 pm
by joem
confiahost wrote:Hi
i am using ovh vps in ovh cp i see dns service is disabled.and when i try to add new domain using vestacp i got this Error named restart failed and domain added in Web tab in vestacp.i also try these commands using ssh terminal.

[root@vps35337 ~]# service named restart

Reponse:
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxx.xxxxxxxxxx.xxx/IN: file not found
zone xx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xx.xxxxxxxxxx.xxx.db failed: file not found
zone xx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/pk.xxxxxxxxxx.xxx/IN: file not found
zone xxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxx.xxxxxxxxxx.xxx/IN: file not found
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
[FAILED]

[root@vps35337 ~]# service named start

Reponse:

Error in named configuration:
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxx.xxxxxxxxxx.xxx/IN: file not found
zone xx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xx.xxxxxxxxxx.xxx.db failed: file not found
zone xx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/pk.xxxxxxxxxx.xxx/IN: file not found
zone xxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxx.xxxxxxxxxx.xxx/IN: file not found
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found

[root@vps35337 ~]# service named configtest

Reponse:

Error in named configuration:
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxx.xxxxxxxxxx.xxx/IN: file not found
zone xx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xx.xxxxxxxxxx.xxx.db failed: file not found
zone xx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/pk.xxxxxxxxxx.xxx/IN: file not found
zone xxx.xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxx.xxxxxxxxxx.xxx.db failed: file not found
zone xxx.xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxx.xxxxxxxxxx.xxx/IN: file not found
zone xxxxxxxxxx.xxx/IN: loading from master file /home/admin/conf/dns/xxxxxxxxxx.xxx.db failed: file not found
zone xxxxxxxxxx.xxx/IN: not loaded due to errors.
_default/xxxxxxxxxx.xxx/IN: file not found

Note: xxxxxxxxxx.xxx is my domain and xxx.xxxxxxxxxx.xxx are my subdomains.

Please help me.

when try to open newly added domain it redirect me to server hostname.
Login to vestacp -> Click users tab -> in the drop down menu select rebuild dns -> Toggle all users -> click the button next to the drop down menu. After you do the service named should be started.

Re: vestacp dns problem

Posted: Thu Feb 25, 2016 3:13 am
by brunohcs
joem wrote: Login to vestacp -> Click users tab -> in the drop down menu select rebuild dns -> Toggle all users -> click the button next to the drop down menu. After you do the service named should be started.
I did it but did not solve my problem, still with the same error, is there something else I can try? I have looked for many solutions and so far no solved.

Sorry for reply a old topic.

Re: vestacp dns problem

Posted: Thu Feb 25, 2016 8:08 am
by tjebbeke
brunohcs wrote:
joem wrote: Login to vestacp -> Click users tab -> in the drop down menu select rebuild dns -> Toggle all users -> click the button next to the drop down menu. After you do the service named should be started.
I did it but did not solve my problem, still with the same error, is there something else I can try? I have looked for many solutions and so far no solved.

Sorry for reply a old topic.
What error do you have? Can you show us?

Re: vestacp dns problem

Posted: Wed Mar 30, 2016 12:13 am
by admindunet
i have same problem, not working if i rebuild DNS (not error displaing if i rebuild DNS but named not start)

.....
zone domaine.com/IN: loading from master file /home/andim4/conf/dns/domaine.com.db failed: file not found
.......

Re: vestacp dns problem

Posted: Wed Mar 30, 2016 1:02 am
by admindunet
resolved for me, comment line

Code: Select all

ROOTDIR=/var/named/chroot
in /etc/sysconfig/named

Re: vestacp dns problem

Posted: Thu Apr 21, 2016 9:53 am
by Antoine
admindunet wrote:resolved for me, comment line

Code: Select all

ROOTDIR=/var/named/chroot
in /etc/sysconfig/named
After several weeks with a similar error, the solution has also worked for me. Thank you!

Re: vestacp dns problem

Posted: Sun Jan 28, 2018 6:55 pm
by lordkarin
Hello from Spain:

This works for me, regards
resolved for me, comment line

CODE: SELECT ALL

ROOTDIR=/var/named/chroot


in /etc/sysconfig/named