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.

upcp downgraded my Perl installation :(

Discussion in 'General Discussion' started by Kent Brockman, Jun 28, 2009.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi, I just wanted to comment that today I upgraded from cPanel 11.24.4-S35075 to 11.24.4-S36281 and in the process, I don't understand why upcp decided to downgrade Perl from 5.8.8 to 5.8.5 :confused:
    Looking at the update log, upcp simply downloaded Perl 5.8.5 for download.
    I'm running on CentOS 4.6. I don't know if using that recently deprecated version of CentOS may be guilty for this to happen. But I think this is something within upcp because CentOS 4.6 has been deprecated on last March, and I have upgraded to cPanel 11.24.4-S35075 on last April without any problem.

    Please check the upcp processes. After upcp ended, two processes using realperlinstaller stayed hung, and have to kill'em and upcp --force to repair them. And then, I had to upgrade Perl again to 5.8.8 and recompile Apache because several things were misconfigured. Also, Munin had to be reinstalled because of some Perl errors that bring an "Internal Error" when running thru WHM.

    Additional data: Apache 2.2 + dual PHP 4.4.9/5.2.9 + CENTOS 4.6 i686 on virtuozzo
    I've upgraded Perl from http://layer1.cpanel.net/perl588installer.tar.gz
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Please open a support ticket for this issue. There are too many possibilities to narrow this down via the forum.
     
  3. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    This also happend to me just today, but that is also not a first time, this also happend a year ago, and I upgraded it again after that, and now again, year later, perl is suddenly downgraded to 5.8.5 again... :confused:

    Do you have any new information about this?

    @Kent Brockman
    What was the reason for this in your case?
     
  4. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi. I suspect that the issue was due to deprecated links referenced in the yum config since CentOS 4.6 was moved and the 4.7's urls had changed its syntax. And it seems to be the responsible fact that made impossible to retrieve the correct files.
     
  5. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    This happened to one of my servers again. This time I made sure I added perl* to the yum exclude list.
     
  6. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    You shouldn't exclude perl. Check inside the .repo files at /etc/yum.repos.d: verify that the urls are valid!
     
  7. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Why shouldn't exclude perl?

    I just compared all settings in yum configuration and repos url's, on servers that dowgraded perl with servers that didn't, and only diference I found on those servers that downgraded perl is that perl was not excluded in yum config, while on those that didn't dowgraded perl it is excluded. So it looks like that is the problem.
     
    #7 dexus, Aug 23, 2009
    Last edited: Aug 23, 2009
  8. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    I assume this issue must depend on the OS used in every case. I have Centos 4.6. the problem arise when 4.6 was deprecated and the url's for 4.7 changed in the repos.
    What OS are you using?
     
  9. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    CentOS 4.8
     
  10. Kevinfrom

    Kevinfrom Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Perl should be excluded in yum.conf unless you have a specific reason for not excluding it.

    And testing shows the only way Perl can be downgraded to 5.8.5 on CentOS-4.7/4.8 is if allowperlupdates is enabled (=1) in cpanel.config.

    WHM > Tweak Settings > Allow perl updates from RPM based linux vendors

    If this option is enabled then Perl* gets removed from exclusion allowing Perl updates.
     
  11. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thanks for explanation :D
     
  12. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Whachu talkin about Willis?
     
Loading...

Share This Page