Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    2

    Default "Select your continent" loop with Cpanel update

    I am getting nightly emails of the Cpanel update process from my server, however it has started to trip up due to a constant loop asking for the nearest continent to access CPAN mirrors for updates:

    ...
    First, pick a nearby continent and country (you can pick several of
    each, separated by spaces, or none if you just want to keep your
    existing selections). Then, you will be presented with a list of URLs
    of CPAN mirrors in the countries you selected, along with previously
    selected URLs. Select some of those URLs, or just keep the old list.
    Finally, you will be prompted for any extra URLs -- file:, ftp:, or
    http: -- that host a CPAN mirror.

    (1) Africa
    (2) Asia
    (3) Central America
    (4) Europe
    (5) North America
    (6) Oceania
    (7) South America
    Select your continent (or several nearby continents) []
    The process loops displaying the 1-7 selections above until the email gets to 100K in size and then it sends the message to me with subject "Mail failure - message too big", and it would appear the update process stops there.

    Can someone please describe how to complete a Cpanel update without this endless loop occurring? I've tried to update via SSH command too, only the same loop occurs.

    Can it not just default to something sensible if no option 1-7 is specified, rather than loop?

    Thanks for any help.

    Chris

  2. #2
    Member
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    63

    Default

    I'd be willing to bet you're running a version of Perl which is older than 5.8.7, and updating will fix it.

    If perl -v returns version 5.8.7, then manually jumping into the CPAN shell should prompt you to configure CPAN, which is not a big deal :


    Code:
    perl -MCPAN -e shell
    Configuration is pretty much straight forward from there(hit enter a bunch of times, answer continents, country, and mirrors with numbers).

    If however, perl -v returns a version less than 5.8.7 :
    Code:
    cd /root (or another directory with around 120MB of free space)
    wget http://layer1.cpanel.net/perl587installer.tar.gz
    tar -xvzf perl587installer.tar.gz
    cd perl587installer/
    ./install
    After this completes(it will take some time depending on your system) :
    Code:
    /usr/local/cpanel/bin/checkperlmodules
    /scripts/upcp
    Let me know if that doesn't work for ya.

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You should also check that you don't have any realperinstaller processes looping on the server beforehand.

    It's also a good idea to remove the /home/.cpan/ directory before upgrading the version of perl otherwise the module installation post install can get messed up.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Sep 2001
    Posts
    75

    Default

    Thank you Chirpy!

    I have been having this problem for some time and havn't had time to fix it (although I find time to kill realperlinstaller nearly every morning).

    Anyway, removing the /home/.cpan directory seemed to finally be the ticket.

    Thanks again!

Similar Threads & Tags
Similar threads

  1. Branding the "Select Webmail" page?
    By internetfab in forum E-mail Discussions
    Replies: 9
    Last Post: 04-01-2010, 12:30 AM
  2. Mysql, "Operation Not Supported" Endless loop and 100% CPU usage
    By cam94z28 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-19-2008, 12:07 PM
  3. Replies: 0
    Last Post: 03-11-2008, 08:21 PM
  4. "Select specific user" in backup configuration
    By Abu Mami in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 07-25-2004, 01:47 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube