Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Munin Error Failed to create rundir (/var/run/munin)

Discussion in 'General Discussion' started by AmedeoSca, Sep 29, 2015.

  1. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Hello,
    I install Cpanel and Munin plugin too, every time I update, restart or recompile munin start to send email every 5 minutes with this:
    Failed to create rundir (/var/run/munin): Permission denied at /usr/local/cpanel/3rdparty/share/munin/munin-update line 38.
    So I go in the shell and launch the command:
    /scripts/check_cpanel_rpms --fix
    and Munin stops to send emails, but after restart, update.... start again.
    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,806
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please post the output from:

    Code:
    stat /var/run/munin
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    This is the output:
    stat /var/run/munin
    stat: cannot stat ‘/var/run/munin’: No such file or directory

    This happend every time I restart the server.
    Thanks.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,806
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Javier Perez

    Javier Perez Registered

    Joined:
    Nov 10, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Any update? I'm experimenting same issue with munin
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,806
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Please let us know if the following commands help:

    Code:
    mkdir /var/run/munin
    chmod 755 /var/run/munin
    chown munin.munin /var/run/munin
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Javier Perez

    Javier Perez Registered

    Joined:
    Nov 10, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Works like a charm, thank you very much :)
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,806
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    It's ok for me too, when this error occur munin sends one mail every 5 minutes so I insert this line in /etc/aliases
    Code:
    # Redirect munin mail
    munin:         root
    Thanks.
     
  10. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    The problem don't go away.....
    everyt time I reboot the server the directory /var/run/munin disappears and I must recreate by hand...
     
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,806
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The overall issue that happens during reboots is addressed with internal case CPANEL-2078. It's available in cPanel version 11.52.1.0, which is currently published to the "Current" build tier.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice