Page 1 of 2

Named not start

Posted: Wed Feb 24, 2016 9:15 pm
by Antoine
Hello,
I'm trying to start Named, but I receive the following errors:

Image

How can I solve that?

Thank you!

Re: Named not start

Posted: Thu Feb 25, 2016 8:11 am
by tjebbeke
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.

Re: Named not start

Posted: Thu Feb 25, 2016 9:05 am
by Antoine
tjebbeke 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.
Hello,
I have same problem using service named restart.

Thank you!

Re: Named not start

Posted: Thu Feb 25, 2016 12:14 pm
by tjebbeke
Can you check every file listed in /etc/named.conf that this exist on the file system? And check if DNS domain exists in vestaCP.

You can delete the lines in /etc/named.conf but then your DNS for that domain won't work.

Re: Named not start

Posted: Thu Feb 25, 2016 3:19 pm
by Antoine
tjebbeke wrote:Can you check every file listed in /etc/named.conf that this exist on the file system? And check if DNS domain exists in vestaCP.

You can delete the lines in /etc/named.conf but then your DNS for that domain won't work.
Hello,
I checked the existence of all files and they are there. I have deleted all and went back to do the rebuild dns, but the error is the same.

Thank you!

Re: Named not start

Posted: Thu Feb 25, 2016 4:36 pm
by tjebbeke
Check the permission of the files.

Code: Select all

ls -la /home/admin/conf/dns/
total 16
drwxr-x--x 2 root root  4096 Dec 10 20:12 .
drwxr-xr-x 5 root root  4096 Jan 16  2015 ..
-rw-r----- 1 root named  939 Aug 11  2015 default.domain.db

Re: Named not start

Posted: Thu Feb 25, 2016 5:30 pm
by Antoine
tjebbeke wrote:Check the permission of the files.

Code: Select all

ls -la /home/admin/conf/dns/
total 16
drwxr-x--x 2 root root  4096 Dec 10 20:12 .
drwxr-xr-x 5 root root  4096 Jan 16  2015 ..
-rw-r----- 1 root named  939 Aug 11  2015 default.domain.db
Here is the result:
Image

Re: Named not start

Posted: Thu Feb 25, 2016 5:50 pm
by tjebbeke

Re: Named not start

Posted: Thu Feb 25, 2016 7:51 pm
by Antoine
tjebbeke wrote:Can you take a look at this: https://github.com/serghey-rodin/vesta/issues/640
Can help?

Image

Re: Named not start

Posted: Fri Feb 26, 2016 11:27 am
by tjebbeke
The github issue is for ubuntu you need to change it for your OS, I guess Centos?
try : named-checkconf /etc/named.conf