Linux.com

problem displaying munin reports

Link to this post 24 Feb 13

I have a LEMP server (Centos 6.3) and have installed munin according to the following guide ( http://articles.slicehost.com/2010/3/12/installing-munin-on-centos ). I am using the default location for html files ( /var/www/html/munin ). I made sure munin can write there: chown -R munin /var/www/html/munin.

When I go to http://www.mydomain.com/munin or http://www.mydomain.com/munin/index.html, I get a 404 Not Found error. I can see that there is an index file and many other files in var/www/html/munin, but I can't display them.

Can anyone suggest how to fix this?

Thanks.

Link to this post 24 Feb 13

Have you verified that the SeLinux restrictions on the files in that directory are not blocking the external access?

http://wiki.centos.org/HowTos/SELinux

Link to this post 24 Feb 13

SELinux is disabled.

Link to this post 27 Feb 13

This was resolved by changing the root path in the nginx conf file from
root /usr/share/nginx/html;
to
root /var/www/html;

and then restarting nginx.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board