The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Munin - /var/log permission denied.

Discussion in 'cPanel Developers' started by ssanz, May 11, 2008.

  1. ssanz

    ssanz Registered

    Joined:
    Feb 9, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. Mat-d-rat

    Mat-d-rat Well-Known Member

    Joined:
    Jul 30, 2003
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    Did you come up with a solution for this? I have the same issue...
     
  3. 2fast

    2fast Member

    Joined:
    Mar 8, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    /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.
     
Loading...

Share This Page