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.

perl version and upgrade questions

Discussion in 'General Discussion' started by atsmark, May 2, 2006.

  1. atsmark

    atsmark Member

    Joined:
    Mar 31, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Hi, thanks in advance for any help.

    My cpanel seems to be having some complaints due to a perl version issue. For example, quotas do not update with an error about the Version.pm module. (I tried installing that module, but I get errors that suggest I need to update Perl.)

    When I type perl -v, I get 5.8.0.

    However, I see a lot of stuff on my system for 5.8.7, for example many files abd modules under /home/cpins/installd/perl587installer.

    Does this mean 5.8.7 is already installed, and I just need to point my /usr/bin/perl to it somehow?

    Thanks again.

    Mark
     
  2. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    if you are still seeing 5.8.0, that means your server Perl is not updated to 5.8.7, perhaps you may try download the latest Perl update from Cpanel download page and apply it on your server:

     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    This happens if you haven't configured yum or up2date to exclude/skip perl upgrades. You can recover it by:

    cd /usr/bin
    cp perl5.8.7 perl
    /scripts/rpmup
     
  4. atsmark

    atsmark Member

    Joined:
    Mar 31, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the info. I had gone ahead and copied the new version of perl over the binary, which seemed a bit risky but worked fine.

    What does /scripts/rpmup do?

    How do I configure up2date to leave perl alone?

    Mark
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    rpmup will make sure all the required perl modules and present and the correct version for cPanel to run.

    If you're using up2date, then run:

    up2date --config

    Look for the pkgskiplst option (usually 9 or 20) and change it to:

    Code:
    kernel*;courier*;mysql*;spamassassin*;httpd*;perl;mysql*;php*;mod_ssl*;squirrelmail*;caching-nameserver*;exim*
    If you're using yum, edit /etc/yum.conf and near the top add:

    Code:
    exclude=courier* mysql* spamassassin* httpd* perl mysql* php* mod_ssl* squirrelmail* caching-nameserver* exim*
     
  6. atsmark

    atsmark Member

    Joined:
    Mar 31, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I am using up2date. I did that, except it didn't seem to have room for that entire list so I trimmed it down a little. Hope that perserves what I'm running. Thanks again for your help. -Mark
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You don't need to trim it, up2date only shows a part of the list, but if you paste in the whole thing it will store it correctly.
     
  8. atsmark

    atsmark Member

    Joined:
    Mar 31, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Cool, thanks for the tip. -Mark
     
Loading...

Share This Page