CPANEL-42060 - Error message upon installing Munin on new servers
Hello guys. I found this error when trying to install Munin on 2 new servers. One running CentOS 7 and the other with Almalinux 8.7:
[QUOTE]
The log transmission for "Munin for cPanel" included a failure status (1) for the installation.
I've already tried the RPM Rebuild Database option, but the error txt remains the same. And this is the full log copied from the status window on the Centos7 server: [QUOTE] The system will install the "cpanel-munin" plugin. [2022-12-12 03:30:50 -0300] [2022-12-12 03:30:50 -0300] Problems were detected with cPanel-provided files which are controlled by packages. [2022-12-12 03:30:50 -0300] If you did not make these changes intentionally, you can correct them by running: [2022-12-12 03:30:50 -0300] [2022-12-12 03:30:50 -0300] > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix [2022-12-12 03:30:50 -0300] The following packages are missing from your system: [2022-12-12 03:30:50 -0300] cpanel-munin-2.0.30-2.cp11104 [2022-12-12 03:30:50 -0300] cpanel-perl-532-date-manip-6.82-1.cp1198 [2022-12-12 03:30:50 -0300] cpanel-perl-532-net-server-2.009-1.cp1198 [2022-12-12 03:30:50 -0300] cpanel-perl-532-rrds-1.5.5-1.cp1198 [2022-12-12 03:30:50 -0300] cpanel-rrdtool-1.5.5-1.cp1198 [2022-12-12 03:30:50 -0300] Maximum sync children set to 16 based on 2306M available memory. [2022-12-12 03:30:50 -0300] Downloading [2022-12-12 03:30:51 -0300] Successfully verified signature for cpanel (key types: release). [2022-12-12 03:30:51 -0300] Successfully verified signature for cpanel (key types: release). [2022-12-12 03:30:51 -0300] Downloading [2022-12-12 03:30:51 -0300] Downloading [2022-12-12 03:30:51 -0300] Downloading
Any idea on how to make it work? Thanks in advance. Marcelo
I've already tried the RPM Rebuild Database option, but the error txt remains the same. And this is the full log copied from the status window on the Centos7 server: [QUOTE] The system will install the "cpanel-munin" plugin. [2022-12-12 03:30:50 -0300] [2022-12-12 03:30:50 -0300] Problems were detected with cPanel-provided files which are controlled by packages. [2022-12-12 03:30:50 -0300] If you did not make these changes intentionally, you can correct them by running: [2022-12-12 03:30:50 -0300] [2022-12-12 03:30:50 -0300] > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix [2022-12-12 03:30:50 -0300] The following packages are missing from your system: [2022-12-12 03:30:50 -0300] cpanel-munin-2.0.30-2.cp11104 [2022-12-12 03:30:50 -0300] cpanel-perl-532-date-manip-6.82-1.cp1198 [2022-12-12 03:30:50 -0300] cpanel-perl-532-net-server-2.009-1.cp1198 [2022-12-12 03:30:50 -0300] cpanel-perl-532-rrds-1.5.5-1.cp1198 [2022-12-12 03:30:50 -0300] cpanel-rrdtool-1.5.5-1.cp1198 [2022-12-12 03:30:50 -0300] Maximum sync children set to 16 based on 2306M available memory. [2022-12-12 03:30:50 -0300] Downloading [2022-12-12 03:30:51 -0300] Successfully verified signature for cpanel (key types: release). [2022-12-12 03:30:51 -0300] Successfully verified signature for cpanel (key types: release). [2022-12-12 03:30:51 -0300] Downloading [2022-12-12 03:30:51 -0300] Downloading [2022-12-12 03:30:51 -0300] Downloading
Any idea on how to make it work? Thanks in advance. Marcelo
-
Whoa, I made it work after thoroughly read the errors. This command helped install the missing modules: [QUOTE]yum install -y cairo pango
May you wish to add this to the support docs to help others with the same trouble? be my guest.0 -
Hey there! Were you performing this installation through the WHM interface under Manage Plugins? If so, I can't reproduce this on an AlmaLinux 8.7 test system that I just tried. 0 -
Yes, I always use that WHM interface. But as I stated on the second post, I found those packages were missing. I guess you guys simply need to add that verification for pango and cairo in the preflight script so you can be sure it will be correctly installed. 0 -
I did some more testing with this and confirmed that a plain AlmaLinux 8 server with cPanel, before installing Munin, that pango and cairo were installed, so I'm wondering if they were removed from your system at some point as they are provided by the OS repositories and not cPanel. 0 -
Weird, but it could happen, I guess. The OS was Almalinux 8.7 provided on AWS EC2 as AMI image built on Nov 12 by the Almalinux Organization itself. 0 -
Anyways, testing beforehand if cairo and pango are installed would do no harm to the installation script. I would highly recommend to take this in account to avoid breaking the install process. 0 -
I created case CPANEL-42060 with our developers to see if cairo and pango are something we can just auto-install as part of the Munin installation process if they are missing. Since those packages are provided by the OS, *I* don't see why we can't do that, but there could be other things happening behind the scenes I'm not aware of. If I hear back from them, I'll post an update! 0 -
Almost forgot: in both cases I used the minimal version of those OS install images. In my older servers I used the full version until I found I can save a couple gigs of space by reducing the base OS to the minimum needed components. 0 -
That's actually really good to know - thanks! 0
Please sign in to leave a comment.
Comments
9 comments