The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpanel-mailman-2.1.21-12.cp1158 Missing

Discussion in 'E-mail Discussions' started by kenrbnsn, Aug 11, 2016.

  1. kenrbnsn

    kenrbnsn Active Member

    Joined:
    Feb 27, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
    #1 kenrbnsn, Aug 11, 2016
    Last edited by a moderator: Aug 12, 2016
  2. Havck

    Havck Registered

    Joined:
    Aug 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Malaysia
    cPanel Access Level:
    Root Administrator
    Hi,

    I have the same issue , have tried everything. Still get the missing RPM . Somebody please answer this.
     
  3. kenrbnsn

    kenrbnsn Active Member

    Joined:
    Feb 27, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  4. Havck

    Havck Registered

    Joined:
    Aug 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
    #5 cPanelMichael, Aug 14, 2016
    Last edited: Sep 30, 2016
  6. kenrbnsn

    kenrbnsn Active Member

    Joined:
    Feb 27, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  8. sadlyblue

    sadlyblue Registered

    Joined:
    Mar 5, 2015
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    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.
     
Loading...

Share This Page