gas75

Member
Aug 20, 2019
7
1
3
Greece
cPanel Access Level
Root Administrator
Hello all,
I was using munin for quite some time, but recently it stopped updating. I decided to uninstall/reinstall through WHM plugins section, but not I get a 404 page then I try to use the munin dashboard link.
OS: Ubuntu v20.04.4 Standard
WHM: 110.0.2

This is the output from the installation log:

The system will install the “cpanel-munin” plugin.
[2023-04-22 00:21:49 +0300]
[2023-04-22 00:21:49 +0300] Problems were detected with cPanel-provided files which are controlled by packages.
[2023-04-22 00:21:49 +0300] If you did not make these changes intentionally, you can correct them by running:
[2023-04-22 00:21:49 +0300]
[2023-04-22 00:21:49 +0300] > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix
[2023-04-22 00:21:49 +0300] The following packages are missing from your system:
[2023-04-22 00:21:49 +0300] cpanel-munin-2.0.30-2.cp108~u20
[2023-04-22 00:21:49 +0300] cpanel-perl-536-date-manip-6.88-1.cp108~u20
[2023-04-22 00:21:49 +0300] cpanel-perl-536-net-server-2.010-1.cp108~u20
[2023-04-22 00:21:49 +0300] cpanel-perl-536-rrds-1.8.0-1.cp108~u20
[2023-04-22 00:21:49 +0300] cpanel-rrdtool-1.8.0-3.cp108~u20
[2023-04-22 00:21:49 +0300] Maximum sync children set to 16 based on 227016M available memory.
[2023-04-22 00:21:49 +0300] Downloading http://httpupdate.cpanel.net/ubuntu/pool/sha512
[2023-04-22 00:21:50 +0300] Successfully verified signature for cpanel (key types: release).
[2023-04-22 00:21:50 +0300] Downloading http://httpupdate.cpanel.net/ubuntu/pool/cpanel-perl-536-date-manip/cpanel-perl-536-date-manip_6.88-1.cp108~u20_all.deb
[2023-04-22 00:21:50 +0300] Downloading http://httpupdate.cpanel.net/ubuntu/pool/cpanel-rrdtool/cpanel-rrdtool_1.8.0-3.cp108~u20_amd64.deb
[2023-04-22 00:21:50 +0300] Downloading http://httpupdate.cpanel.net/ubuntu/pool/cpanel-perl-536-rrds/cpanel-perl-536-rrds_1.8.0-1.cp108~u20_amd64.deb
[2023-04-22 00:21:50 +0300] Downloading http://httpupdate.cpanel.net/ubuntu/pool/cpanel-munin/cpanel-munin_2.0.30-2.cp108~u20_amd64.deb
[2023-04-22 00:21:50 +0300] Downloading http://httpupdate.cpanel.net/ubuntu/pool/cpanel-perl-536-net-server/cpanel-perl-536-net-server_2.010-1.cp108~u20_all.deb
[2023-04-22 00:21:50 +0300] Disabling service monitoring.
[2023-04-22 00:21:51 +0300] Hooks system enabled.
[2023-04-22 00:21:51 +0300] Checking for and running RPM::Versions 'pre' hooks for any Packages about to be installed
[2023-04-22 00:21:51 +0300] All required 'pre' hooks have been run
[2023-04-22 00:21:51 +0300] No packages need to be uninstalled
[2023-04-22 00:21:51 +0300] Installing new packages: cpanel-munin_2.0.30-2.cp108~u20_amd64.deb cpanel-perl-536-date-manip_6.88-1.cp108~u20_all.deb cpanel-perl-536-net-server_2.010-1.cp108~u20_all.deb cpanel-perl-536-rrds_1.8.0-1.cp108~u20_amd64.deb cpanel-rrdtool_1.8.0-3.cp108~u20_amd64.deb
[2023-04-22 00:21:51 +0300] Selecting previously unselected package cpanel-munin.
[2023-04-22 00:21:51 +0300] (Reading database ... 236894 files and directories currently installed.)
[2023-04-22 00:21:51 +0300] Preparing to unpack cpanel-munin_2.0.30-2.cp108~u20_amd64.deb ...
[2023-04-22 00:21:51 +0300] - checking munin user and group
[2023-04-22 00:21:51 +0300] groupadd: group 'munin' already exists
[2023-04-22 00:21:51 +0300] useradd: user 'munin' already exists
[2023-04-22 00:21:51 +0300] Unpacking cpanel-munin (2.0.30-2.cp108~u20) ...
[2023-04-22 00:21:51 +0300] Selecting previously unselected package cpanel-perl-536-date-manip.
[2023-04-22 00:21:51 +0300] Preparing to unpack cpanel-perl-536-date-manip_6.88-1.cp108~u20_all.deb ...
[2023-04-22 00:21:51 +0300] Unpacking cpanel-perl-536-date-manip (6.88-1.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Selecting previously unselected package cpanel-perl-536-net-server.
[2023-04-22 00:21:52 +0300] Preparing to unpack cpanel-perl-536-net-server_2.010-1.cp108~u20_all.deb ...
[2023-04-22 00:21:52 +0300] Unpacking cpanel-perl-536-net-server (2.010-1.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Selecting previously unselected package cpanel-perl-536-rrds.
[2023-04-22 00:21:52 +0300] Preparing to unpack cpanel-perl-536-rrds_1.8.0-1.cp108~u20_amd64.deb ...
[2023-04-22 00:21:52 +0300] Unpacking cpanel-perl-536-rrds (1.8.0-1.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Selecting previously unselected package cpanel-rrdtool.
[2023-04-22 00:21:52 +0300] Preparing to unpack cpanel-rrdtool_1.8.0-3.cp108~u20_amd64.deb ...
[2023-04-22 00:21:52 +0300] Unpacking cpanel-rrdtool (1.8.0-3.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Setting up cpanel-perl-536-date-manip (6.88-1.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Setting up cpanel-perl-536-net-server (2.010-1.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Setting up cpanel-rrdtool (1.8.0-3.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Setting up cpanel-perl-536-rrds (1.8.0-1.cp108~u20) ...
[2023-04-22 00:21:52 +0300] Setting up cpanel-munin (2.0.30-2.cp108~u20) ...
[2023-04-22 00:21:52 +0300]
[2023-04-22 00:21:52 +0300] Configuration file '/etc/munin/munin-node.conf', does not exist on system.
[2023-04-22 00:21:52 +0300] Installing new config file as you requested.
[2023-04-22 00:21:52 +0300]
[2023-04-22 00:21:52 +0300] Configuration file '/etc/munin/plugin-conf.d/cpanel.conf', does not exist on system.
[2023-04-22 00:21:52 +0300] Installing new config file as you requested.
[2023-04-22 00:21:52 +0300]
[2023-04-22 00:21:52 +0300] Configuration file '/usr/local/cpanel/3rdparty/share/munin/munin.cron', does not exist on system.
[2023-04-22 00:21:52 +0300] Installing new config file as you requested.
[2023-04-22 00:21:52 +0300] Running runPost install
[2023-04-22 00:21:52 +0300] wheel:x:117:
[2023-04-22 00:21:53 +0300] enable failed
[2023-04-22 00:21:56 +0300] Failed to restart munin-node.service: Unit munin-node.service is masked.
[2023-04-22 00:21:56 +0300] Restarting apache (gracefully)....
[2023-04-22 00:21:56 +0300] Creating lock /var/run/munin/munin-update.lock failed: Permission denied
[2023-04-22 00:21:56 +0300] at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Munin/Master/Update.pm line 128.
[2023-04-22 00:21:56 +0300] Failed to execute munin-cron: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/bin/build_munin_conf line 88.
[2023-04-22 00:21:56 +0300] - running munin-cron for the first time
[2023-04-22 00:21:57 +0300] munin_addon registered
[2023-04-22 00:21:57 +0300] Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
[2023-04-22 00:21:57 +0300] Hooks system enabled.
[2023-04-22 00:21:57 +0300] Checking for and running RPM::Versions 'post' hooks for any Packages about to be installed
[2023-04-22 00:21:57 +0300] All required 'post' hooks have been run
[2023-04-22 00:21:57 +0300] Restoring service monitoring.
Building global cache for cpanel...Done
The system has completed the installation of the “cpanel-munin” plugin.


Any help is appreciated.
Thank you.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,643
2,630
363
cPanel Access Level
Root Administrator
Hey there! Were you able to run the "/usr/local/cpanel/scripts/check_cpanel_pkgs --fix" command that was mentioned in the output? If so, did that help to resolve the issues? I would try that, and then try the munin installation again to see if that gets things working well.