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 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page