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.

Unable to connect: Connection refused at /usr/local/cpanel/Cpanel/HttpRequest.pm

Discussion in 'General Discussion' started by diracuser, Aug 3, 2015.

  1. diracuser

    diracuser Member

    Joined:
    Oct 22, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm going to update my CPanel version from 11.48.4 to 11.50.
    By default in my server the automatic update is blocked so i'm going to
    check the options in Server Configuration --> Update Preferences

    So when I Click in Update Preferences i get the following error


    Unable to connect: Connection refused at /usr/local/cpanel/Cpanel/HttpRequest.pm line 988.


    A fatal error or timeout occurred while processing this directive.

    exit level [die] [pid=24957] (Unable to retrieve tier version info: No such file or directory)
    at /usr/local/cpanel/Cpanel/Logger.pm line 518.
    Cpanel::Logger::logger(Cpanel::Logger=HASH(0x49316e0), HASH(0x495d720)) called at /usr/local/cpanel/Cpanel/Logger.pm line 356
    Cpanel::Logger::die(Cpanel::Logger=HASH(0x49316e0), "Unable to retrieve tier version info: No such file or directory") called at /usr/local/cpanel/Cpanel/Update.pm line 173
    Cpanel::Update::get_remote_tiers_info(HASH(0x49a08c0)) called at whostmgr/bin/whostmgr2.pl line 1774
    main::updateconf() called at whostmgr/bin/whostmgr2.pl line 1213



    Can you help me?
     
  2. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    What's the output of these commands:

    Code:
    df -h
    /usr/local/cpanel/cpanel -V
    cat /etc/cpupdate.conf
    
     
  3. diracuser

    diracuser Member

    Joined:
    Oct 22, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    /usr/local/cpanel/cpanel -V --> 11.48.4 (bulid 4)

    cat /etc/cpupdate.conf :

    CPANEL=release
    RPMUP=daily
    SARULESUP=daily
    STAGING_DIR=/usr/local/cpanel
    UPDATES=manual
     
  4. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    What about

    Code:
    df -h
     
  5. diracuser

    diracuser Member

    Joined:
    Oct 22, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    ds -h -->I have enough space:
    Filesystem Size Used Avail Use% Mounted on
    /dev/xxxx 335G 71G 248G 23% /



    And today when I click in EasyApache(Apache Update) option, It show the following message : "Making sure we have the latest files..." And it not load the options.. It isn't shown any error but it not load the option .. It's always loading .....
     
  6. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Yes, this issue happened to me in EasyApache and it was a slow connection from cPanel servers, so I've waited about 2 hours till retrieving the files!!!

    About cPanel update I guess you need to open a Support Ticket to them.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,775
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you verify if cPanel updates are still failing at this time when forcing a cPanel update via the "/scripts/upcp --force" command?

    Thank you.
     
  8. diracuser

    diracuser Member

    Joined:
    Oct 22, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks, I solved the problem

    I had this file /etc/cpsources.conf
    so the support team suggest me to remove / rename this file, i did and the
    Update Preferences worked.

    Thanks!
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,775
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now resolved. That file forces a specific mirror, so it's likely a bad mirror was defined in the file. Thank you for updating us with the outcome.
     
Loading...

Share This Page