cpanel-mailman-2.1.21-12.cp1158 Missing

kenrbnsn

Active Member
Feb 27, 2002
36
1
308
Hillsborough, NJ, USA
My cPanel/WHM was updated to WHM 58.0 (build 19) and I'm now getting this message:

cpanel-mailman-2.1.21-12.cp1158 Missing

With the suggestion to do
/usr/local/cpanel/scripts/check_cpanel_rpms --fix

When I do that command, I get:
Code:
[2016-08-11 09:11:47 -0400]
[2016-08-11 09:11:47 -0400]   Problems were detected with cPanel-provided files which are RPM controlled.
[2016-08-11 09:11:47 -0400]   If you did not make these changes intentionally, you can correct them by running:
[2016-08-11 09:11:47 -0400]
[2016-08-11 09:11:47 -0400]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-08-11 09:11:47 -0400]   The following RPMs are missing from your system:
[2016-08-11 09:11:47 -0400]   cpanel-mailman-2.1.21-12.cp1158
[2016-08-11 09:14:21 -0400]   Removing 0 broken rpms:
[2016-08-11 09:14:21 -0400]   rpm: no packages given for erase
[2016-08-11 09:14:23 -0400]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/6/x86_64/rpm.sha512
[2016-08-11 09:14:31 -0400]   Successfully verified signature for cpanel (key types: release).
[2016-08-11 09:14:31 -0400]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/6/x86_64/cpanel-mailman-2.1.21-12.cp1158.x86_64.rpm
[2016-08-11 09:14:33 -0400]   Disabling service monitoring.
[2016-08-11 09:14:36 -0400]   Hooks system enabled.
[2016-08-11 09:14:36 -0400]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[2016-08-11 09:14:36 -0400]   All required 'pre' hooks have been run
[2016-08-11 09:14:41 -0400]   No RPMS need to be uninstalled
[2016-08-11 09:14:41 -0400]   Installing new rpms: cpanel-mailman-2.1.21-12.cp1158.x86_64.rpm
[2016-08-11 09:14:42 -0400]   Preparing packages for installation...
[2016-08-11 09:14:43 -0400]   uid=99(nobody) gid=99(nobody) groups=99(nobody)
[2016-08-11 09:14:43 -0400]   uid=8(mail) gid=12(mail) groups=12(mail)
[2016-08-11 09:14:44 -0400]   usermod: user mailman is currently used by process 14336
[2016-08-11 09:14:44 -0400]   error: %pre(cpanel-mailman-2.1.21-12.cp1158.x86_64) scriptlet failed, exit status 8
[2016-08-11 09:14:44 -0400]   error:   install: %pre scriptlet failed (2), skipping cpanel-mailman-2.1.21-12.cp1158
[2016-08-11 09:14:44 -0400] W Error Code: 1
[2016-08-11 09:14:44 -0400] E The following possible errors were detected while installing RPMs:
[2016-08-11 09:14:44 -0400] E %pre(cpanel-mailman-2.1.21-12.cp1158.x86_64) scriptlet failed, exit status 8 install
[2016-08-11 09:14:44 -0400]   The Administrator will be notified to review this output when this script completes
[2016-08-11 09:14:44 -0400]   Hooks system enabled.
[2016-08-11 09:14:44 -0400]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
[2016-08-11 09:14:44 -0400]   All required 'post' hooks have been run
[2016-08-11 09:14:44 -0400]   Restoring service monitoring.
My mailman seems to be broken and I have many active lists on the server. The crontab for mailman is missing.

How can I determine what is wrong and fix it?
 
Last edited by a moderator:

kenrbnsn

Active Member
Feb 27, 2002
36
1
308
Hillsborough, NJ, USA
A small update on my problem. Mailman is still running and processing messages. I found the copy of the crontab at /usr/local/cpanel/3rdparty/mailman/cron/crontab in and put that into the crontab, so that's now working as well. It's just the missing RPM that's a concern.
 

Havck

Registered
Aug 12, 2016
2
0
1
Malaysia
cPanel Access Level
Root Administrator
Hi,

After a server reboot , I run the fix script (/usr/local/cpanel/scripts/check_cpanel_rpms --fix) and it seems to be working . Before the reboot I got the error but it has been fixed with a reboot. Has to do something with the memory.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
Hello,

Internal case CPANEL-7958 is open to address reports of the Mailman RPM failing to install during the update to cPanel version 58. I'll update this thread with more information on the status of this case as it becomes available. In the meantime, the following command should address the issue on affected systems:

Code:
/scripts/check_cpanel_rpms
Thank you.

Update: This was fixed in 58.0.23:

Fixed case CPANEL-7958: Update cpanel-mailman to 2.1.21-14.cp1158.
 
Last edited:

kenrbnsn

Active Member
Feb 27, 2002
36
1
308
Hillsborough, NJ, USA
I just tried that command. Still getting the same error:
Code:
# /scripts/check_cpanel_rpms
[2016-08-16 09:03:59 -0400]
[2016-08-16 09:03:59 -0400]   Problems were detected with cPanel-provided files which are RPM controlled.
[2016-08-16 09:03:59 -0400]   If you did not make these changes intentionally, you can correct them by running:
[2016-08-16 09:03:59 -0400]
[2016-08-16 09:03:59 -0400]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-08-16 09:03:59 -0400]   The following RPMs are missing from your system:
[2016-08-16 09:03:59 -0400]   cpanel-mailman-2.1.21-13.cp1158
Do you want to repair these RPMs?(y/n):
y
[2016-08-16 09:11:06 -0400]   Removing 0 broken rpms:
[2016-08-16 09:11:06 -0400]   rpm: no packages given for erase
[2016-08-16 09:11:08 -0400]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/6/x86_64/rpm.sha512
[2016-08-16 09:11:08 -0400]   Successfully verified signature for cpanel (key types: release).
[2016-08-16 09:11:08 -0400]   Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/6/x86_64/cpanel-mailman-2.1.21-13.cp1158.x86_64.rpm
[2016-08-16 09:11:10 -0400]   Disabling service monitoring.
[2016-08-16 09:11:22 -0400]   Hooks system enabled.
[2016-08-16 09:11:22 -0400]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[2016-08-16 09:11:22 -0400]   All required 'pre' hooks have been run
[2016-08-16 09:11:28 -0400]   No RPMS need to be uninstalled
[2016-08-16 09:11:28 -0400]   Installing new rpms: cpanel-mailman-2.1.21-13.cp1158.x86_64.rpm
[2016-08-16 09:11:28 -0400]   Preparing packages for installation...
[2016-08-16 09:11:31 -0400]   uid=99(nobody) gid=99(nobody) groups=99(nobody)
[2016-08-16 09:11:31 -0400]   uid=8(mail) gid=12(mail) groups=12(mail)
[2016-08-16 09:11:31 -0400]   usermod: user mailman is currently used by process 14336
[2016-08-16 09:11:31 -0400]   error: %pre(cpanel-mailman-2.1.21-13.cp1158.x86_64) scriptlet failed, exit status 8
[2016-08-16 09:11:31 -0400]   error:   install: %pre scriptlet failed (2), skipping cpanel-mailman-2.1.21-13.cp1158
[2016-08-16 09:11:32 -0400] W Error Code: 1
[2016-08-16 09:11:32 -0400] E The following possible errors were detected while installing RPMs:
[2016-08-16 09:11:32 -0400] E %pre(cpanel-mailman-2.1.21-13.cp1158.x86_64) scriptlet failed, exit status 8 install
[2016-08-16 09:11:32 -0400]   The Administrator will be notified to review this output when this script completes
[2016-08-16 09:11:32 -0400]   Hooks system enabled.
[2016-08-16 09:11:32 -0400]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
[2016-08-16 09:11:32 -0400]   All required 'post' hooks have been run
Is there any way to see why the RPM is failing to install? Like a debug log or an error log?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
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.
 

sadlyblue

Registered
Mar 5, 2015
3
1
78
cPanel Access Level
Root Administrator
I had the same problem with our of our servers.
To solve this, i had to close all processes of mailman currently running manually (after checking with htop that there were still some processes running)
Then use the check_cpanel_rpms, and it worked, it updated the rpm and auto started mailman again.