Symptoms
Messages with the following characteristics are received every 5 minutes from Munin (munin@server.hostname.tld):
Subject:
Cron <munin@hostname> /usr/local/cpanel/3rdparty/perl/532/bin/munin-cron
Body:
Magic number checking on storable file failed at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int/Storable.pm line 436, at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Munin/Master/Utils.pm line 279.
Magic number checking on storable file failed at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int/Storable.pm line 436, at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Munin/Master/Utils.pm line 279.
Description
These notifications indicate an issue with the Munin installation. Specifically, there are likely 0-byte files that Munin requires to function correctly.
Workaround
Check for 0-byte files, back them up, and reinstall Munin.
Change directories to /var/lib/munin:
# cd /var/lib/munin
Check for important files that are empty:
[16:07:35 server root@server /var/lib/munin]cPs# find . -iname "*storable" -ls
37151402 72 -rw-r--r-- 1 munin munin 72605 Jun 16 16:05 ./datafile.storable
34250447 0 -rw-r--r-- 1 munin munin 0 Jun 11 00:45 ./limits.storable
34960221 0 -rw-r--r-- 1 munin munin 0 Jun 11 00:45 ./htmlconf.storable
37151401 44 -rw-r--r-- 1 munin munin 41564 Jun 16 16:05 ./state-vortexvt.com-vortexsite.vortexvt.com.storable
In the instance above, limits.storable and htmlconf.storable are 0-byte files.
Back these files up to be safe:
[16:09:54 server root@server /var/lib/munin]cPs# mv limits.storable{,-bak}
[16:10:09 server root@server /var/lib/munin]cPs# mv htmlconf.storable{,-bak}
Check for the name of the Munin RPM:
# rpm -qa | grep -i munin
cpanel-perl-532-munin-2.0.30-2.cp1194.x86_64
Remove the Munin RPM:
# rpm -e --nodeps cpanel-perl-532-munin
- uninstalling munin
Removed symlink /etc/systemd/system/multi-user.target.wants/munin-node.service.
munin_addon unregistered
Reinstall Munin:
# /scripts/check_cpanel_rpms