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.

procedure to upgrade perl

Discussion in 'General Discussion' started by yonez, Apr 30, 2006.

  1. yonez

    yonez Active Member

    Joined:
    Apr 22, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    perl586 has security issue. Anybody can provide official procedure to upgrade perl to 5.8.7 in cpanel, please? I downloaded perl587 from cpanel download area. NO readme. I'm not sure how to proceed this. Thank you in advance.

    regards,
    yonez
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    What's your OS, FreeBSD or linux?
     
  3. yonez

    yonez Active Member

    Joined:
    Apr 22, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    freebsd 5.4
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    portinstall lang/perl5.8
    - or -
    cd /usr/ports/lang/perl5.8
    make
    make install
     
  5. yonez

    yonez Active Member

    Joined:
    Apr 22, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    If I do that, it will install perl 5.8.8. Is this OK?

    Thanks.
     
  6. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    No, stay with cpanel version

    login as root and cd to
    /root
    fetch http://layer1.cpanel.net/perl587installer.tar.gz
    tar xfz perl587installer.tar.gz
    cd perl587installer
    ./install

    Then run the following to make sure your mods are up to date.


    /usr/local/cpanel/bin/checkperlmodules
     
  7. yonez

    yonez Active Member

    Joined:
    Apr 22, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Now. I got huge problem after perl upgrade to 5.8.7.

    1) exim failed to start.

    2) cpanel failed to start properly.

    What happen here. Am I missing something here. Anybody can helpme out, please?

    Thank you in advance.

    regards,
    yonez
     
  8. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    This is FreeBSD. Yonez, if you do what easyhoster1 suggested, you'll run into all sorts of problems.
     
  9. yonez

    yonez Active Member

    Joined:
    Apr 22, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    hmm. Its too late now. Anyway I can go back? How do I uninstall perl 5.8.7? arghhhh. so frustating.

    Thanks.
     
  10. yonez

    yonez Active Member

    Joined:
    Apr 22, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    OK. problem no.2 solved. I have to force reinstall List::Util

    Anybody can help me with problem no.1?

    Thanks.
     
  11. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    We already answered your question on the layerdtech forum.
     
  12. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Thats not true at all. We upgraded using the same method and our installation was upgraded to 5.8.7 without any issues. The only problem we had after that was with Imagemagick but that was a result of a missing perl module.
     
  13. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16

    REALLY!!!!!!!!...I upgraded perl to 20 FREEBSD servers this way and not one problem. Care to explain how Andy?
     
  14. yonez

    yonez Active Member

    Joined:
    Apr 22, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    problem solved. I just reinstall port skeleton for perl5.8.6 and reinstall old perl app.

    Thanks all. Lesson learn today.

    Later.
    Reply With Quote
     
  15. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    I dont think he knows. His a RH guy not a Freebsd guy. I had no problems either.
     
  16. Gnomercy

    Gnomercy Well-Known Member
    PartnerNOC

    Joined:
    Sep 4, 2002
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Perl was updated early this morning by easyapache to version 5.8.7 and exim subsequently broke, which was doubly interesting because there was no indication at all that it wasn't working until a customer complained that they weren't getting emails sent to them... no error messages, just no mail.

    I tested and verified and attempted a restart of exim, which yielded this:

    /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "exim"
    /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "exim"
    /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "exim"


    So, I come here, do a search and get this thread. I run

    and

    and I'm still getting the same error message.


    any further advice on this one? FreeBSD 5.4 here.
     
  17. Gnomercy

    Gnomercy Well-Known Member
    PartnerNOC

    Joined:
    Sep 4, 2002
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    I pulled cpanel support in on this. They uninstalled exim through ports and then reinstalled exim.

    I've not gotten enough customer confirmation to close the ticket but the reinstall does seem to have fixed the issue.
     
  18. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    I am still using the pity RH9 + cPanel/WHM. I upgraded from Perl 5.8.1 to 5.8.7:

    wget http://layer1.cpanel.net/perl587installer.tar.gz

    tar xfz perl587installer.tar.gz

    cd perl587installer

    ./install

    /usr/local/cpanel/bin/checkperlmodules

    Not a single problem occurred. Great!
     
  19. fleksi

    fleksi Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page