Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cpanel update failure during updatenow - 11.34.1.12 to 11.36.0.11

Discussion in 'General Discussion' started by ddeo, Mar 12, 2013.

  1. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Hello, updatenow failed to update last night. I have not seen this before. Can someone see the log below. Should I just wait to see it a later build fixes this? I am not familiar with updating cpanel as I have never needed to do it before.

    OS info:
    CENTOS 5.8 i686

    Thanks for your help. Ddeo


    Code:
    --------------------
    An error was detected which prevented updatenow from completing normally.
    Please review the enclosed log for further details
    
    ----------------------------------------------------------------------------------------------------
    
    [20130311.233602]   Detected version '11.34.1.12' from version file.
    [20130311.233602]   Target version set to '11.36.0.11'
    [20130311.233602]   Checking license
    [20130311.233602]   License file check complete
    [20130311.233602]   Checking that the RPM DB is OK...
    [20130311.233602]   glibc-2.5-81
    [20130311.233602]   OK: RPM DB is responding to queries
    [20130311.233602]   Testing if rpm_is_working RPM is installed
    [20130311.233602]   package rpm_is_working is not installed
    [20130311.233602]   Testing if it's possible to install a simple RPM
    [20130311.233602]   Preparing...                ##################################################
    [20130311.233602]   rpm_is_working              ##################################################
    [20130311.233603]   Switching to version '11.36.0.11' of updatenow to perform sync.
    [20130311.233608]   Loaded plugins: fastestmirror
    [20130311.233608]   Loading mirror speeds from cached hostfile
    [20130311.233608]    * addons: s2plmirror01.prod.sdl2.secureserver.net
    [20130311.233608]    * base: s2plmirror01.prod.sdl2.secureserver.net
    [20130311.233608]    * extras: s2plmirror01.prod.sdl2.secureserver.net
    [20130311.233608]    * update: s2plmirror01.prod.sdl2.secureserver.net
    [20130311.233608]   Excluding Packages in global exclude list
    [20130311.233609]   Finished
    [20130311.233609]   Setting up Install Process
    [20130311.233610]   Resolving Dependencies
    [20130311.233610]   --> Running transaction check
    [20130311.233610]   ---> Package ghostscript.i386 0:8.70-14.el5 set to be updated
    [20130311.233610]   --> Processing Dependency: ghostscript-fonts for package: ghostscript
    [20130311.233610]   ---> Package glib.i386 1:1.2.10-20.el5 set to be updated
    [20130311.233610]   ---> Package lcms.i386 0:1.18-0.1.beta1.el5_3.2 set to be updated
    [20130311.233610]   ---> Package libwmf.i386 0:0.2.8.4-10.2 set to be updated
    [20130311.233610]   --> Running transaction check
    [20130311.233610]   ---> Package ghostscript-fonts.noarch 0:5.50-13.1.1 set to be updated
    [20130311.233611]   --> Finished Dependency Resolution
    [20130311.233611]
    [20130311.233611]   Dependencies Resolved
    [20130311.233611]
    [20130311.233611]   ================================================================================
    [20130311.233611]    Package                Arch        Version                     Repository
    [20130311.233611]                                                                              Size
    [20130311.233611]   ================================================================================
    [20130311.233611]   Installing:
    [20130311.233611]    ghostscript            i386        8.70-14.el5                 base      9.0 M
    [20130311.233611]    glib                   i386        1:1.2.10-20.el5             base      137 k
    [20130311.233611]    lcms                   i386        1.18-0.1.beta1.el5_3.2      base      176 k
    [20130311.233611]    libwmf                 i386        0.2.8.4-10.2                base      834 k
    [20130311.233611]   Installing for dependencies:
    [20130311.233611]    ghostscript-fonts      noarch      5.50-13.1.1                 base      801 k
    [20130311.233611]
    [20130311.233611]   Transaction Summary
    [20130311.233611]   ================================================================================
    [20130311.233611]   Install       5 Package(s)
    [20130311.233611]   Upgrade       0 Package(s)
    [20130311.233611]
    [20130311.233611]   Total download size: 11 M
    [20130311.233611]   Downloading Packages:
    [20130311.233611]   --------------------------------------------------------------------------------
    [20130311.233611]   Total                                            35 MB/s |  11 MB     00:00
    [20130311.233611]   Running rpm_check_debug
    [20130311.233611]   Running Transaction Test
    [20130311.233613]   Finished Transaction Test
    [20130311.233613]   Transaction Test Succeeded
    [20130311.233613]   Running Transaction
    [20130311.233616]
    [20130311.233616]   Installing     : lcms                                                     1/5
    [20130311.233617]
    [20130311.233617]   Installing     : libwmf                                                   2/5
    [20130311.233617]
    [20130311.233617]   Installing     : glib                                                     3/5
    [20130311.233621]
    [20130311.233621]   Installing     : ghostscript-fonts                                        4/5
    [20130311.233624]
    [20130311.233624]   Installing     : ghostscript                                              5/5
    [20130311.233624]
    [20130311.233624]   Installed:
    [20130311.233624]     ghostscript.i386 0:8.70-14.el5             glib.i386 1:1.2.10-20.el5
    [20130311.233624]     lcms.i386 0:1.18-0.1.beta1.el5_3.2         libwmf.i386 0:0.2.8.4-10.2
    [20130311.233624]
    [20130311.233624]   Dependency Installed:
    [20130311.233624]     ghostscript-fonts.noarch 0:5.50-13.1.1
    [20130311.233624]
    [20130311.233624]   Complete!
    [20130311.233627]   Staging 11.36.0.11 cpanelsync files prior to updating /usr/local/cpanel
    [20130311.233627]   Staging x3 theme changes
    [20130311.233627]   Retrieving and staging /cpanelsync/11.36.0.11/x3/.cpanelsync.bz2
    [20130311.233627]   Using mirror: 208.109.109.239
    [20130311.233627]   Staging files for x3
    [20130311.233627]   Retrieving and staging.....................................
    
    ...................................................
    
    [20130311.233756]   All files Staged
    [20130311.233756]   Testing if the newly downloaded RPMS can be installed without conflict
    [20130311.233756]   Testing RPM transaction
    [20130311.233757]   error: Failed dependencies:
    [20130311.233757]       sendmail = 8.13.8-8.1.el5_7 is needed by (installed) sendmail-doc-8.13.8-8.1.el5_7.i386
    [20130311.233757]       sendmail = 8.13.8-8.1.el5_7 is needed by (installed) sendmail-cf-8.13.8-8.1.el5_7.i386
    [20130311.233757] W Exit Code: 254
    [20130311.233757] ***** FATAL: Test install failed: error: Failed dependencies:
    [20130311.233757]       sendmail = 8.13.8-8.1.el5_7 is needed by (installed) sendmail-doc-8.13.8-8.1.el5_7.i386
    [20130311.233757]       sendmail = 8.13.8-8.1.el5_7 is needed by (installed) sendmail-cf-8.13.8-8.1.el5_7.i386
    [20130311.233757]   The Administrator will be notified to review this output when this script completes
    [20130311.233757] ***** FATAL: Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static line 12521.
    [20130311.233757]   see [url=http://go.cpanel.net/rpmcheckfailed]How to Fix RPM Installation Failures in WHM[/url] for more information
    [20130311.233757]   The Administrator will be notified to review this output when this script completes
    [20130311.233757] E Detected events which require user notification during updatenow. Will send iContact the log
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    You'll need to remove the sendmail-doc and sendmail-cf rpms and force a cPanel update. If you still have trouble, please open a ticket using the link in my signature.
     
  3. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Hi Nick, can you explain the best way to remove the RPMs? Any reason why this is happening anyway?

    Thanks for your help.

    Ddeo
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    At some point someone installed sendmail-cf and sendmail-doc. You could dig back in the logs to determine how it happened if the logs go back far enough.

    Code:
    rpm -e sendmail-cf sendmail-doc
    
    Then
    Code:
    /scripts/upcp
    
    should work.
     
  5. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Thanks will try this later.

    I did not install these. this is a cpanel server with out a lot of modifications. By removing these rpms will sendmail still function? My server has a number of forms that send emails but I monitor my email logs and there has not been a million emails that would suggest a spam hack of some sort.

    just confused as to why cpanel has been very reliably updating on it own until now. The server is about 5 years old.

    Thanks again for your help.

    Dan
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    cPanel uses exim to send email. You shouldn't have sendmail installed. Its probably been installed for a while, we just recently started verifying rpm dependency chains. The system is just trying to be proactive by blocking the update until you fix the problem so it doesn't turn into a failure down the road.
     
  7. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Hi Nick, thanks again for your input and help.

    So my php scripts that use the mail function will still work with out send mail installed. this is over my head. I have many wordpress, magento and other php scripts sending email via the server.

    Also, this seems like a major change and that cpanel would have sent a notice about. Or maybe i am just out of touch...

    Please advise. thanks again. Ddeo
     
  8. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider

    I think your best bet right now it to open a ticket using the link in my signature.

    As for keeping in touch, I'd recommend subscribing to the mailing list here: Mailing Lists | cPanel, Inc.
     
  9. WooDzu

    WooDzu Member

    Joined:
    May 21, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hi Ddeo, same problem here. Did you menage to fix it?
     
  10. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Hi Nick, just submitted a ticket.

    Thanks, Dan
     
  11. WooDzu

    WooDzu Member

    Joined:
    May 21, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hi guys. Could you share what are your findings?
     
  12. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Hi Woo, The word back from tech support is that Sendmail should be removed because it is not used or compatible with Cpanel anymore. I will try the commands above from Nick and let know how it goes. Thanks, Dan
     
  13. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Hi All, I ran the the script that Nick suggested above. It removed sendmail. I tested a php mail form and it worked.
    Cpanel updated last night to the latest.

    Thanks for your help Nick.

    Regards, Dan
     
  14. WooDzu

    WooDzu Member

    Joined:
    May 21, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Thank You very much. That did it for me too!!!
    My install didn't have sendmail-doc though but the update script now worked!

    Have a good day.
    Peter
     
  15. ddeo

    ddeo Active Member

    Joined:
    Sep 4, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    Hello, since removing sendmail I now get an error emailed to me each night:

    Code:
    Problems were detected with cPanel-provided files which are RPM controlled.
    If you did not make these changes intentionally, you can correct them by running:
    
    > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    
    The following RPMs are found to be altered from their original install state:
    exim,4.80,4.cp1136,/usr/lib/sendmail
    Should I run the command above? Since I did make this change intentionally.

    Please advise.
    Thanks, Dan
     
  16. sweetsteve

    sweetsteve Member

    Joined:
    Sep 22, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    I'm having the same issue. I deleted sendmail-cf rpm and updated cpanel and that worked fine, but now I'm getting the RPM problems emails and wondering if check_cpanel_rpms --fix is just going to put me back to where I was in the first place.

    Thanks,
    Steve
     
  17. EEKdood

    EEKdood Member

    Joined:
    Jan 19, 2007
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    151
    cPanel Access Level:
    Root Administrator
    Thanks for the information folks. I was having this issue on one of my dnsonly boxes (11.34.1) and removed the extra sendmail rpms as suggested. Update worked (to 11.36 then 11.38), but I received the altered RPM notification.

    I have not run the check_cpanel_rpms script yet. I'll let this go for a few days and see what happens.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice