WorkinOnIt

Well-Known Member
Aug 3, 2016
312
54
78
UK
cPanel Access Level
Root Administrator
Hi

I've tried to install munin via WHM and get:

Code:
The system will install the “cpanel-munin” plugin.
[2019-09-30 15:00:24 +1300] 
[2019-09-30 15:00:24 +1300]   Problems were detected with cPanel-provided files which are RPM controlled.
[2019-09-30 15:00:24 +1300]   If you did not make these changes intentionally, you can correct them by running:
[2019-09-30 15:00:24 +1300] 
[2019-09-30 15:00:24 +1300]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2019-09-30 15:00:24 +1300]   The following RPMs are missing from your system:
[2019-09-30 15:00:24 +1300]   cpanel-perl-528-Date-Manip-6.73-1.cp1178
[2019-09-30 15:00:24 +1300]   cpanel-perl-528-Net-Server-2.009-2.cp1178
[2019-09-30 15:00:24 +1300]   cpanel-perl-528-RRDs-v1.5.5-1.cp1178
[2019-09-30 15:00:24 +1300]   cpanel-perl-528-munin-2.0.30-3.cp1178
[2019-09-30 15:00:24 +1300]   cpanel-rrdtool-1.5.5-1.cp1158
[2019-09-30 15:00:24 +1300]   Removing 0 broken rpms:
[2019-09-30 15:00:25 +1300]   Maximum sync children set to 16 based on 3076M available memory.
[2019-09-30 15:00:25 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/rpm.sha512
[2019-09-30 15:00:25 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/7/x86_64/rpm.sha512
[2019-09-30 15:00:25 +1300]   Successfully verified signature for cpanel (key types: release).
[2019-09-30 15:00:26 +1300]   Successfully verified signature for cpanel (key types: release).
[2019-09-30 15:00:26 +1300]   Maximum sync children set to 16 based on 3071M available memory.
[2019-09-30 15:00:26 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-munin-2.0.30-3.cp1178.x86_64.rpm
[2019-09-30 15:00:26 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-RRDs-v1.5.5-1.cp1178.x86_64.rpm
[2019-09-30 15:00:26 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/7/x86_64/cpanel-rrdtool-1.5.5-1.cp1158.x86_64.rpm
[2019-09-30 15:00:26 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-Date-Manip-6.73-1.cp1178.noarch.rpm
[2019-09-30 15:00:26 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-Net-Server-2.009-2.cp1178.noarch.rpm
[2019-09-30 15:00:26 +1300]   Disabling service monitoring.
[2019-09-30 15:00:27 +1300]   Hooks system enabled.
[2019-09-30 15:00:27 +1300]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[2019-09-30 15:00:27 +1300]   All required 'pre' hooks have been run
[2019-09-30 15:00:27 +1300]   No RPMS need to be uninstalled
[2019-09-30 15:00:27 +1300]   Installing new rpms: cpanel-perl-528-Date-Manip-6.73-1.cp1178.noarch.rpm cpanel-perl-528-Net-Server-2.009-2.cp1178.noarch.rpm cpanel-perl-528-RRDs-v1.5.5-1.cp1178.x86_64.rpm cpanel-perl-528-munin-2.0.30-3.cp1178.x86_64.rpm cpanel-rrdtool-1.5.5-1.cp1158.x86_64.rpm
[2019-09-30 15:00:27 +1300]   Releasing lock for Cpanel::RPM::Versions::File
[2019-09-30 15:00:27 +1300] W The “/usr/bin/rpm -Uv --replacepkgs --oldpackage cpanel-perl-528-RRDs-v1.5.5-1.cp1178.x86_64.rpm cpanel-perl-528-munin-2.0.30-3.cp1178.x86_64.rpm cpanel-perl-528-Net-Server-2.009-2.cp1178.noarch.rpm cpanel-perl-528-Date-Manip-6.73-1.cp1178.noarch.rpm cpanel-rrdtool-1.5.5-1.cp1158.x86_64.rpm” command (process 13010) reported error number 5 when it ended.
[2019-09-30 15:00:27 +1300]   Hooks system enabled.
[2019-09-30 15:00:27 +1300]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
[2019-09-30 15:00:27 +1300]   All required 'post' hooks have been run
[2019-09-30 15:00:27 +1300]   Restoring service monitoring.
Building global cache for cpanel...Done
The system has completed the installation of the “cpanel-munin” plugin.

After the above - Munin does not show in WHM - even after system reboot.

In SSH :

# /scripts/check_cpanel_rpms


Code:
[2019-09-30 14:24:46 +1300]
[2019-09-30 14:24:46 +1300]   Problems were detected with cPanel-provided files which are RPM controlled.
[2019-09-30 14:24:46 +1300]   If you did not make these changes intentionally, you can correct them by running:
[2019-09-30 14:24:46 +1300]
[2019-09-30 14:24:46 +1300]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2019-09-30 14:24:46 +1300]   The following RPMs are missing from your system:
[2019-09-30 14:24:46 +1300]   cpanel-perl-528-Date-Manip-6.73-1.cp1178
[2019-09-30 14:24:46 +1300]   cpanel-perl-528-Net-Server-2.009-2.cp1178
[2019-09-30 14:24:46 +1300]   cpanel-perl-528-RRDs-v1.5.5-1.cp1178
[2019-09-30 14:24:46 +1300]   cpanel-perl-528-munin-2.0.30-3.cp1178
[2019-09-30 14:24:46 +1300]   cpanel-rrdtool-1.5.5-1.cp1158
Do you want to repair these RPMs?(y/n):
y
[2019-09-30 14:25:14 +1300]   Removing 0 broken rpms:
[2019-09-30 14:25:14 +1300]   Maximum sync children set to 16 based on 3120M available memory.
[2019-09-30 14:25:14 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/rpm.sha512
[2019-09-30 14:25:14 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/7/x86_64/rpm.sha512
[2019-09-30 14:25:14 +1300]   Successfully verified signature for cpanel (key types: release).
[2019-09-30 14:25:14 +1300]   Successfully verified signature for cpanel (key types: release).
[2019-09-30 14:25:14 +1300]   Maximum sync children set to 16 based on 3116M available memory.
[2019-09-30 14:25:14 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-RRDs-v1.5.5-1.cp1178.x86_64.rpm
[2019-09-30 14:25:14 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-munin-2.0.30-3.cp1178.x86_64.rpm
[2019-09-30 14:25:14 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-Date-Manip-6.73-1.cp1178.noarch.rpm
[2019-09-30 14:25:14 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.78/centos/7/x86_64/cpanel-perl-528-Net-Server-2.009-2.cp1178.noarch.rpm
[2019-09-30 14:25:14 +1300]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/7/x86_64/cpanel-rrdtool-1.5.5-1.cp1158.x86_64.rpm
[2019-09-30 14:25:14 +1300]   Disabling service monitoring.
[2019-09-30 14:25:14 +1300]   Hooks system enabled.
[2019-09-30 14:25:14 +1300]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[2019-09-30 14:25:14 +1300]   All required 'pre' hooks have been run
[2019-09-30 14:25:14 +1300]   No RPMS need to be uninstalled
[2019-09-30 14:25:14 +1300]   Installing new rpms: cpanel-perl-528-Date-Manip-6.73-1.cp1178.noarch.rpm cpanel-perl-528-Net-Server-2.009-2.cp1178.noarch.rpm cpanel-perl-528-RRDs-v1.5.5-1.cp1178.x86_64.rpm cpanel-perl-528-munin-2.0.30-3.cp1178.x86_64.rpm cpanel-rrdtool-1.5.5-1.cp1158.x86_64.rpm
[2019-09-30 14:25:14 +1300]   Releasing lock for Cpanel::RPM::Versions::File
[2019-09-30 14:25:14 +1300] W The “/usr/bin/rpm -Uv --replacepkgs --oldpackage cpanel-perl-528-RRDs-v1.5.5-1.cp1178.x86_64.rpm cpanel-perl-528-Net-Server-2.009-2.cp1178.noarch.rpm cpanel-perl-528-munin-2.0.30-3.cp1178.x86_64.rpm cpanel-rrdtool-1.5.5-1.cp1158.x86_64.rpm cpanel-perl-528-Date-Manip-6.73-1.cp1178.noarch.rpm” command (process 10995) reported error number 5 when it ended.
[2019-09-30 14:25:14 +1300]   Hooks system enabled.
[2019-09-30 14:25:14 +1300]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
[2019-09-30 14:25:14 +1300]   All required 'post' hooks have been run
[2019-09-30 14:25:14 +1300]   Restoring service monitoring.

[root@ ~]# systemctl restart munin-node
Job for munin-node.service failed because the control process exited with error code. See "systemctl status munin-node.service" and "journalctl -xe" for details.

but still no munin.... it appears the RPMs are not installing correctly. I've disabled firewall and tried to reinstall RPMs but to no avail.


The journal shows;

Code:
[root@~]# systemctl status munin-node.service
● munin-node.service - Munin Node
   Loaded: loaded (/usr/lib/systemd/system/munin-node.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-09-30 15:16:13 NZDT; 1min 3s ago
     Docs: man:munin-node(1)
           http://munin.readthedocs.org/en/stable-2.0/reference/munin-node.html
  Process: 14573 ExecStart=/usr/sbin/munin-node (code=exited, status=2)

Sep 30 -  systemd[1]: Starting Munin Node...
Sep 30  munin-node[14573]: ERROR: Cannot open '/etc/munin/munin-node.conf': No such file or directory at /usr/sbin/munin-node line 60.
Sep 30  systemd[1]: munin-node.service: control process exited, code=exited status=2
Sep 30  systemd[1]: Failed to start Munin Node.
Sep 30  systemd[1]: Unit munin-node.service entered failed state.
Sep 30 systemd[1]: munin-node.service failed.
Looks like Munin is not installed so I try to instal via SSH but no lock as it's already installed....

Code:
[root@~]# yum install epel-release
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 122.201.72.171
* cpanel-addons-production-feed: 122.201.72.171
* cpanel-plugins: 122.201.72.171
* base: centos.melbourneitmirror.net
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: mirror.realcompute.io
* updates: mirror.realcompute.io
Package epel-release-7-11.noarch already installed and latest version
Nothing to do

[root@~]# yum install munin munin-node
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 122.201.72.171
* cpanel-addons-production-feed: 122.201.72.171
* cpanel-plugins: 122.201.72.171
* base: centos.melbourneitmirror.net
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: mirror.realcompute.io
* updates: mirror.realcompute.io
Package munin-2.0.49-3.el7.noarch already installed and latest version
Package munin-node-2.0.49-3.el7.noarch already installed and latest version
Nothing to do
[root@~]# systemctl enable munin-node
[root@~]# systemctl start munin-node
Job for munin-node.service failed because the control process exited with error code. See "systemctl status munin-node.service" and "journalctl -xe" for details.
Suggestions?
 
Last edited:

WorkinOnIt

Well-Known Member
Aug 3, 2016
312
54
78
UK
cPanel Access Level
Root Administrator
Update: I managed to manually install the etc/munin files which were missing - and restarted the munin service which now appears to have been successful, however, the plugin still doesn't show in WHM.

Code:
[root@~]# systemctl status munin-node.service
● munin-node.service - Munin Node
Loaded: loaded (/usr/lib/systemd/system/munin-node.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-09-30 15:42:54 NZDT; 17min ago
Docs: man:munin-node(1)
munin-node — Munin 2.0.44 documentation
Main PID: 16272 (munin-node)
CGroup: /system.slice/munin-node.service
└─16272 /usr/bin/perl -wT /usr/sbin/munin-node
 
Last edited by a moderator: