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.

Problem with Perl and cPanel Update (perl is needed by...)

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

  1. mattin

    mattin Member

    Joined:
    Feb 10, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bratislava, Slovakia
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello all,

    I have a crucial problem with perl on my cPanel (11.36.0) server. I have moved to amazon so I want to use S3 storage as mounted drive, because of f3s need Perl with multithreaded enabled I build my own perl binaries on centos from perl.org with multithreading. I know that cPanel from 11.36 using its own perl so I thought it will not be a problem. But it completely broke my cPanel... Now I have cPanel partially fixed. I removed all perl binaries (/usr/local/bin/perl and also ln /usr/bin/perl). I added ln -s for perl in bin's pointing to /usr/local/cPanel/3rdparty/perl/514/bin/perl and also added PATH for the same dir.

    It looks like now cPanel is fully working, but when I want to do upgrade or force reinstall of cPanel (its same for WHM upgrade, scripts/upcp or updatenow.static) I get dependency error with perl.

    Code:
    [20130312.182400]   All files Staged
    [20130312.182400]   Testing if the newly downloaded RPMS can be installed without conflict
    [20130312.182400]   Testing RPM transaction
    [20130312.182400]   error: Failed dependencies:
    [20130312.182400]       perl is needed by MySQL55-test-5.5.30-1.cp1136.x86_64
    [20130312.182400] W Exit Code: 7
    [20130312.182400] ***** FATAL: Test install failed: error: Failed dependencies:
    [20130312.182400]       perl is needed by MySQL55-test-5.5.30-1.cp1136.x86_64
    [20130312.182400]   The Administrator will be notified to review this output when this script completes
    [20130312.182400] ***** FATAL: Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static line 12521.
    [20130312.182400]   see http://go.cpanel.net/rpmcheckfailed for more information
    [20130312.182400]   The Administrator will be notified to review this output when this script completes
    [20130312.182400] E Detected events which require user notification during updatenow. Will send iContact the log
    Notification => servers@devive.com via EMAIL [level => 1]
    [20130312.182400]   Removing staged files and directories for binaries/linux-x86_64, cpanel
    [20130312.182400]   Removing staged files and directories for x3
    [20130312.182400]   Removing staged files and directories for x3mail
    
    Can anybody help me how to revert this to original state and fix this issue? Thanks!
     
  2. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    I would suggest shooting in a support ticket at https://tickets.cpanel.net. This is not an everyday problem as you can imagine.
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please don't symlink system perl to cPanel perl. If you remove the perl excludes from /etc/yum.conf and run

    Code:
     /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    
    It should take care of the problem
     
  4. mattin

    mattin Member

    Joined:
    Feb 10, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bratislava, Slovakia
    cPanel Access Level:
    Root Administrator
    Twitter:
    Oh that mighty cpanel scripts :). I don't have it on my server, but i downloaded whole scripts directory from another cpanel server with same version, run it. And it works like a charm! Update was done without problems. I removed symlinks and reinstall system perl. Looks like everything is working. Thank you! :)
     
Loading...

Share This Page