Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. You have something like ``"[WARNING] Could not draw graph "/var/lib/munin/cgi-tmp/munin-cgi-graph/"`` in your `/var/log/munin/munin-cgi-graph.log` ???
  2.  
  3. **Check the directory permissions!**
  4.  
  5. ls -l /var/lib/munin/cgi-tmp/
  6.  
  7. shows something like
  8.  
  9. drwxr-xr-x 3 munin www-data 4,0K Mär 29 2013 munin-cgi-graph/
  10.  
  11. means the web server (group) has no write to this directory but graphs are rendered by cgi by the web server. So give the web server sufficient rights.
  12. Do
  13.  
  14. chmod g+w /var/lib/munin/cgi-tmp/munin-cgi-graph/
  15. ls -l /var/lib/munin/cgi-tmp/
  16.  
  17. now it should look like
  18.  
  19. drwxrwxr-x 3 munin www-data 4,0K Mär 29 2013 munin-cgi-graph/
  20.  
  21. et voilá!
  22. Graphs are drawn like a charm.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement