[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 + munin configuration



Le 13/11/2013 11:49, Karl E. Jorgensen a écrit :
Hi

On Tue, Nov 12, 2013 at 05:55:13PM +0100, rudu wrote:
Hi,
Well, I wouldn't have thought having so many difficulties setting up
a simple monitoring system on my Jessie amd64 desktop, but after a
few hours wandering the net, I guess I could use some guidance ...

What I've done so far :
aptitude install apache2 munin munin-node
ii  apache2                      2.4.6-3 amd64               Apache
HTTP Server
ii  munin                        2.0.17-3 all
network-wide graphing framework (grapher/gatherer)
ii  munin-node                   2.0.17-3 all
network-wide graphing framework (node)

Then I tried to connect tohttp://localhost/munin  only to get :
Forbidden
You don't have permission to access /munin on this server.
Apache/2.4.6 (Debian) Server at localhost Port 80
At this point, your first stop should be the apache error log...
[...]

But I still get this error 403 from apache.

FWIW I got this in /var/log/apache2/error.log :
[Tue Nov 12 17:53:03.987560 2013] [authz_core:error] [pid 2758:tid
139900372383488] [client ::1:53049] AH01630: client denied by server
configuration: /var/cache/munin/www
Hm.. That is reasonably conclusive...

But there is a clue: authz_core ...  Isn't that the apache module that
is used for user authentication?

Makes me wonder what the rest of your apache configuration is like -
there must be some interaction between munin and other things in
apache...

Hope this helps
Hello Karl,
Thanks for your help.

I guess this is an apache2 config problem ...
FWIW, here is my /etc/apache2/apache2.conf file :
http://cjoint.com/?CKnmznaq7cZ

There's a symlink of /etc/munin/apache2.conf in /etc/apache2/conf-{available|enabled}/
Should'nt there be something in sites-enabled too ?
# ls -al /etc/apache2/sites-enabled/
total 8
drwxr-xr-x 2 root root 4096 août  12 21:02 .
drwxr-xr-x 8 root root 4096 nov.  13 12:19 ..

Regards,
Rudu


Reply to: