Munin Environment
Host: banana pi;
OS: bananian (debian);
Web Server: Apache/2.4.10 (Debian) Server
Munin Version: 2.0.25-1+deb8u3
Munin Problem
The graphs are not zooming and i got these errors in apache error_log.
[fcgid:error] [pid 16598] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/lib/apache2/fcgid/sock/16598.51 [fcgid:warn] [pid 16598] (13)Permission denied: mod_fcgid: spawn process /usr/lib/munin/cgi/munin-cgi-graph error
Solution for zooming graphs on Munin
We need to give some write permissions, and change some users.
The user we need to adapt to our needs is WEBUSER, usually: apache, www-data, etc. Change it in the bellow commands:
chmod 777 /var/lib/apache2/fcgid/sock/ chown WEBUSER /var/log/munin/munin-cgi-graph.log chown munin:WEBUSER /var/lib/munin/cgi-tmp/
The code above was enough to solve my problem. I optional, also issue the following command, i don’t know the purpose of the file. It is always empty, even with the new owner.
chown asterisk /var/log/munin/munin-cgi-html.log