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

AmedeoSca

Member
Aug 23, 2015
23
0
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello :)

Please post the output from:

Code:
stat /var/run/munin
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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.