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

db permission denied

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
arktex54
Posts: 11
Joined: Wed Apr 05, 2017 5:45 pm

db permission denied
  • Quote

Post by arktex54 » Sat Mar 19, 2022 3:05 am

I have went all the way to 777 and still getting permission denied errors. /etc/bind/* files are the same as another myvesta install except the domain names... this has been an ongoing issue for months but finally caught up to me haha I restarted DNS using 'v-restart-dns' and also 'systemctl restart bind9'

Code: Select all

Mar 11 12:32:12 pi named[32248]: zone pi.ex4.com/IN: loading from master file /home/pi3/conf/dns/pi.ex5.com.db failed: permission denied
Mar 11 12:32:12 pi named[32248]: zone pi.ex4.com/IN: not loaded due to errors.
Mar 11 12:32:12 pi named[32248]: zone ex2.com/IN: loading from master file /home/dns-cluster/conf/dns/ex4.com.db failed: permission denied
Mar 11 12:32:12 pi named[32248]: zone ex2.com/IN: not loaded due to errors.
Mar 11 12:32:12 pi named[32248]: zone ex3.org/IN: loading from master file /home/dns-cluster/conf/dns/ex3.org.db failed: permission denied
Mar 11 12:32:12 pi named[32248]: zone ex3.org/IN: not loaded due to errors.
Mar 11 12:32:12 pi named[32248]: zone do.ex1.com/IN: loading from master file /home/dns-cluster/conf/dns/do.ex1.com.db failed: permission denied
Mar 11 12:32:12 pi named[32248]: zone do.ex1.com/IN: not loaded due to errors.
Top

arktex54
Posts: 11
Joined: Wed Apr 05, 2017 5:45 pm

Re: db permission denied
  • Quote

Post by arktex54 » Fri Mar 25, 2022 4:34 am

answer: https://forum.hestiacp.com/t/bind9-zone ... u=arktex54

Code: Select all

nano /etc/apparmor.d/usr.sbin.named
find

Code: Select all

/etc/bind/** rw,
and add below that:

Code: Select all

/home/** rwm,
save...

Code: Select all

service apparmor restart
Top

nickm
Posts: 1
Joined: Sat Sep 02, 2023 8:10 pm

Os: Ubuntu 18x
Web: apache + nginx
Re: db permission denied
  • Quote

Post by nickm » Sun Sep 03, 2023 8:04 am

I had the same issue concerning my website, could not even read my db after creating a backup, now working. Thanks!
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

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