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

How to fix the permission denied error ?

Questions regarding the DNS Server
BIND
Locked
  • Print view
Advanced search
13 posts
  • 1
  • 2
  • Next
nelsonwan
Posts: 6
Joined: Sat Oct 17, 2015 6:30 pm

How to fix the permission denied error ?

Post by nelsonwan » Sat Oct 17, 2015 6:55 pm

How to fix the permission denied error ?

ubuntu 14.04 lts

Oct 18 02:09:34 www named[29361]: zone mydomain.com/IN: loading from master file /home/mydomain/conf/dns/mydomain.com.db failed: permission denied
Oct 18 02:09:34 www named[29361]: zone mydomain.com/IN: not loaded due to errors.
Top

SCelik

Re: How to fix the permission denied error ?

Post by SCelik » Sat Oct 17, 2015 7:48 pm

What is the output of:
ls -la /home/mydomain/conf/dns/
Top

nelsonwan
Posts: 6
Joined: Sat Oct 17, 2015 6:30 pm

Re: How to fix the permission denied error ?

Post by nelsonwan » Sat Oct 17, 2015 8:02 pm

root@www:/# ls -la /home/mydomain/conf/dns
total 12
drwxr-x--x 2 root root 4096 Oct 18 03:56 .
drwxr-xr-x 5 root root 4096 Oct 18 03:55 ..
-rw-r----- 1 root bind 642 Oct 18 03:56 mydomain.com.db
root@www:/#
Top

SCelik

Re: How to fix the permission denied error ?

Post by SCelik » Sat Oct 17, 2015 9:20 pm

I think Bind service not run under "bind" user can you

Code: Select all

chmod 0777/home/mydomain/conf/dns/mydomain.com.db
and try to restart dns service?

if it runs then time to look at bind service user...
Top

nelsonwan
Posts: 6
Joined: Sat Oct 17, 2015 6:30 pm

Re: How to fix the permission denied error ?

Post by nelsonwan » Sat Oct 17, 2015 9:40 pm

problem same............
Top

nelsonwan
Posts: 6
Joined: Sat Oct 17, 2015 6:30 pm

Re: How to fix the permission denied error ?

Post by nelsonwan » Tue Oct 20, 2015 4:44 pm

No any idea ??
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: How to fix the permission denied error ?

Post by mike08 » Sat Oct 24, 2015 11:25 am

Have you change the user that bind runs on? By default it should run under root.
Top

nelsonwan
Posts: 6
Joined: Sat Oct 17, 2015 6:30 pm

Re: How to fix the permission denied error ?

Post by nelsonwan » Sat Oct 24, 2015 3:08 pm

Pls help me , how to do?
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: How to fix the permission denied error ?

Post by mike08 » Sat Oct 24, 2015 3:41 pm

Hmm, let's see, try to run:

Code: Select all

ps aux | grep bind
The output should look something like:

Code: Select all

bind      1676  0.0  0.1 213056 13048 ?        Ssl  Oct15   0:32 /usr/sbin/named -u bind
Top

nelsonwan
Posts: 6
Joined: Sat Oct 17, 2015 6:30 pm

Re: How to fix the permission denied error ?

Post by nelsonwan » Sat Oct 24, 2015 5:03 pm

mike08 wrote:Hmm, let's see, try to run:

Code: Select all

ps aux | grep bind
The output should look something like:

Code: Select all

bind      1676  0.0  0.1 213056 13048 ?        Ssl  Oct15   0:32 /usr/sbin/named -u bind

Yes, i can see this

Code: Select all

/usr/sbin/named -u bind
Top


Locked
  • Print view

13 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