This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

managed-key permission issue
#7
RE: managed-key permission issue
(04-07-2019, 07:18 AM)TGates Wrote: Looks like there are many permission problems. ALL Sentora files/folders should be owned and grouped by www-data:www-data (or apache:apache depending on OS)

What OS are you using? (I'm guessing CentOS because the info matches my virtual machine of CentOS)

Is this a new install? You may need to reset and start over.

Did you install Sentora as actual  root user? Using sudo will not work as explained in the install documentation.

Eh, I'm confused now... Even my VM shows the Sentora main as root:root??

@[fearworks], can you confirm this? Any ideas what the issue is? (I'm more affluent with Ubuntu than CentOS Confused )

All of my permissions are the same as the OP's. Even my Sentora folder is root:root, so I'm guessing that CentOS have changed things since Sentora's 2015 release? I've not had permissions issues with anything so for me this has always been the setup and it has been working without issue.

As for the error message, I also have those lines in my bind logs, and they are to do with the service being stopped (including when restarted). If you look here:

https://bugzilla.redhat.com/show_bug.cgi?id=1487823

you will see a discussion about the issue, which is linked to permissions on the named home directory. AFAIK the inability to write these NTA files is irrelevant to the way bind is used by Sentora so TBH, I don't care about the entries. However if we want to fix this I have just tried:


Code:
chmod 775 /var/named/


and now whenever I restart the named service those errors aren't being generated.

So, in summary, there's some sort of bug in the release of bind used by CentOS 7 (and maybe others?) that seems to alter the permissions of the directory in question upon installation, and we have to change these permissions back to allow writing.

That's my assessment of the situation, but as I'm not an expert I could be completely wrong, so if you think I am - tell me! Smile

Keith.
Reply
Thanks given by:


Messages In This Thread
managed-key permission issue - by Juan Pablo - 04-06-2019, 05:33 AM
RE: managed-key permission issue - by TGates - 04-06-2019, 06:49 AM
RE: managed-key permission issue - by Juan Pablo - 04-06-2019, 07:07 AM
RE: managed-key permission issue - by TGates - 04-06-2019, 07:37 AM
RE: managed-key permission issue - by Juan Pablo - 04-06-2019, 08:21 AM
RE: managed-key permission issue - by TGates - 04-07-2019, 07:18 AM
RE: managed-key permission issue - by fearworks - 04-07-2019, 05:21 PM
RE: managed-key permission issue - by Juan Pablo - 04-09-2019, 02:52 AM
RE: managed-key permission issue - by fearworks - 04-09-2019, 03:03 AM
RE: managed-key permission issue - by Juan Pablo - 04-09-2019, 03:10 AM
RE: managed-key permission issue - by fearworks - 04-09-2019, 03:30 AM
RE: managed-key permission issue - by Juan Pablo - 04-09-2019, 04:38 AM
RE: managed-key permission issue - by fearworks - 04-09-2019, 05:09 AM
RE: managed-key permission issue - by Juan Pablo - 04-09-2019, 06:13 AM
RE: managed-key permission issue - by fearworks - 04-09-2019, 05:36 PM
RE: managed-key permission issue - by Juan Pablo - 04-10-2019, 12:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
DNS MX record issue rsthomas 5 4 ,903 10-19-2022, 05:39 AM
Last Post: fearworks
Issue accessing/pinging 2nd installed domain Fudnut 9 21 ,766 03-14-2019, 04:33 PM
Last Post: fearworks
Cloudflare issue with sentora testing 3 10 ,449 11-21-2017, 07:35 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)