Submitted by bislinks on Tue, 03/30/2010 - 10:49Pro LicenseeComment #4
i installed nagios, htop, atop, yesterday/last week. do you think one of them caused the problem. I did not have this problem before installing any of the above.
Submitted by andreychek on Tue, 03/30/2010 - 13:52Comment #5
Okay, with Jamie's help, I think I have the problem figured out.
In order to read those directories, each of your users has to be a member of the "apache" group. But they're not, none of them are. In fact, the only user who's a member of the apache group is "nagios". That looks a bit suspicious, like something went awry during the Nagios install and altered the members of the Apache group in an undesirable way.
I'm not sure how that might have happened, though I do know how to fix it :-)
I went through your /etc/groups file, and re-added the "apache" group to all your users.
After restarting Apache, it seems to work as expected. Can you verify that?
Submitted by bislinks on Mon, 04/05/2010 - 00:29Pro LicenseeComment #8
Hi,
i am still unable to access a server in particular: analytics.bislinks.com (running piwik exclusively on it)
also i get this error when I restart httpd: [Mon Apr 05 00:25:11 2010] [warn] Useless use of AllowOverride in line 1317. It does not look like a major error as httpd does restart as far as I understand.
Submitted by bislinks on Mon, 04/05/2010 - 00:30Pro LicenseeComment #9
Hi,
i am still unable to access a server in particular: analytics.bislinks.com (running piwik exclusively on it)
also i get this error when I restart httpd: [Mon Apr 05 00:25:11 2010] [warn] Useless use of AllowOverride in line 1317. It does not look like a major error as httpd does restart as far as I understand.
Submitted by andreychek on Mon, 04/05/2010 - 07:04Comment #10
It looks like the "apache" group still had to be added to the "analytics" group in /etc/groups.
I added that in there, and the index.html file from your site seems to be working.
You can ignore warning you see when restarting, that Apache isn't a problem. Alternatively, you could comment out line 1317 of your Apache conf if you'd like to make that quieter.
Comments
Submitted by andreychek on Tue, 03/30/2010 - 09:05 Comment #1
This appears to be a duplicate of https://www.virtualmin.com/node/13935
i am unable to access 13935. i get access denied on virtualmin.com
Submitted by andreychek on Tue, 03/30/2010 - 09:41 Comment #3
Well, that's odd. But, no problem, I'll paste in my response from the other request into here:
Do you know what may have changed on your server recently that may have triggered a problem on multiple domains?
It seems to be a permissions issue of some kind, though I'm not sure why at the moment.
It appears possible to temporarily resolve it, by setting the home dir to use permissions "751", and public_html to "755".
But that shouldn't be necessary when using suexec.
So if you have any thoughts on what may have triggered the problem, that may help us figure out what's awry. Thanks!
i installed nagios, htop, atop, yesterday/last week. do you think one of them caused the problem. I did not have this problem before installing any of the above.
Submitted by andreychek on Tue, 03/30/2010 - 13:52 Comment #5
Okay, with Jamie's help, I think I have the problem figured out.
In order to read those directories, each of your users has to be a member of the "apache" group. But they're not, none of them are. In fact, the only user who's a member of the apache group is "nagios". That looks a bit suspicious, like something went awry during the Nagios install and altered the members of the Apache group in an undesirable way.
I'm not sure how that might have happened, though I do know how to fix it :-)
I went through your /etc/groups file, and re-added the "apache" group to all your users.
After restarting Apache, it seems to work as expected. Can you verify that?
I changed the permissions back to 750 and the pages/sites are loading correctly.
Thanks Andreychek and Jamie.
cj
Submitted by andreychek on Tue, 03/30/2010 - 23:02 Comment #7
Thanks for the update, I'm glad to hear it's working! Let us know if you have any other questions.
Hi,
i am still unable to access a server in particular: analytics.bislinks.com (running piwik exclusively on it)
also i get this error when I restart httpd: [Mon Apr 05 00:25:11 2010] [warn] Useless use of AllowOverride in line 1317. It does not look like a major error as httpd does restart as far as I understand.
i also uninstalled nagios.
Hi,
i am still unable to access a server in particular: analytics.bislinks.com (running piwik exclusively on it)
also i get this error when I restart httpd: [Mon Apr 05 00:25:11 2010] [warn] Useless use of AllowOverride in line 1317. It does not look like a major error as httpd does restart as far as I understand.
i also uninstalled nagios.
Submitted by andreychek on Mon, 04/05/2010 - 07:04 Comment #10
It looks like the "apache" group still had to be added to the "analytics" group in /etc/groups.
I added that in there, and the index.html file from your site seems to be working.
You can ignore warning you see when restarting, that Apache isn't a problem. Alternatively, you could comment out line 1317 of your Apache conf if you'd like to make that quieter.
Let us know if you have other problems.
Submitted by Issues on Tue, 04/20/2010 - 14:22 Comment #11
Automatically closed -- issue fixed for 2 weeks with no activity.