Munin - /var/log permission denied.

ssanz

Registered
Feb 9, 2008
1
0
51
Hi Cpanel Forum


During the plugins install of munin -

Code:
Starting Munin Node: [  OK  ]
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedWarning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:23 - Starting munin-graph
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:23 - Processing domain: ssanz.net
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:23 - Graphed service : open_inodes (0.05 sec COPYING ChangeLog INSTALL Makefile Makefile.config README-apache-cgi.in README.api RELEASE build build-stamp dists install-sh logo.eps munin-doc-base.html munin-faq-base.html node server svn-commit.tmp test-mktemp 4)
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:23 - Graphed service : if_err_eth0 (0.06 sec COPYING ChangeLog INSTALL Makefile Makefile.config README-apache-cgi.in README.api RELEASE build build-stamp dists install-sh logo.eps munin-doc-base.html munin-faq-base.html node server svn-commit.tmp test-mktemp 4)
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:23 - Graphed service : apache_processes (0.06 sec COPYING ChangeLog INSTALL Makefile Makefile.config README-apache-cgi.in README.api RELEASE build build-stamp dists install-sh logo.eps munin-doc-base.html munin-faq-base.html node server svn-commit.tmp test-mktemp 4)
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:24 - Graphed service : entropy (0.06 sec COPYING ChangeLog INSTALL Makefile Makefile.config README-apache-cgi.in README.api RELEASE build build-stamp dists install-sh logo.eps munin-doc-base.html munin-faq-base.html node server svn-commit.tmp test-mktemp 4)
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:24 - Graphed service : irqstats (0.14 sec COPYING ChangeLog INSTALL Makefile Makefile.config README-apache-cgi.in README.api RELEASE build build-stamp dists install-sh logo.eps munin-doc-base.html munin-faq-base.html node server svn-commit.tmp test-mktemp 4)
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:24 - Graphed service : processes (0.05 sec COPYING ChangeLog INSTALL Makefile Makefile.config README-apache-cgi.in README.api RELEASE build build-stamp dists install-sh logo.eps munin-doc-base.html munin-faq-base.html node server svn-commit.tmp test-mktemp 4)
Warning: Could not open log file "/var/log/munin/munin-graph.log" for writing: Permission deniedMay 11 11:31:24 - Graphed service : if_eth0 (0.06 sec COPYING ChangeLog INSTALL Makefile Makefile.config README-apache-cgi.in README.api RELEASE build build-stamp dists install-sh logo.eps munin-doc-base.html munin-faq-base.html node server svn-commit.tmp test-mktemp 4)
Any assistance would be appreciated :)

Also, i have recently changed the hostname of the box... Munin has another profile of the hostname... Which config can i remove munin node servers?

Best Regards,
SSANZ TEAM - Logan
 

2fast

Member
Mar 8, 2008
16
0
51
/var/log is locked to root only.

So if your whm user does not have root permissions this is why you get this error.

You could ask your provider to chown on the folder if they would if its a dedicated server then they should do it no problems.

if you have su access over ssh you could also chown the folder.