Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Failure when receiving data from the peer

Discussion in 'EasyApache' started by maintest1991, Mar 23, 2019.

  1. maintest1991

    maintest1991 Registered

    Joined:
    Mar 23, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    dubai
    cPanel Access Level:
    Root Administrator
    hi friends

    i get problem when execute following command : yum update -y

    Could not retrieve mirrorlist http://httpupdate.cpanel.net/ea4-c6-x86_64-mirrorlist error was
    14: PYCURL ERROR 56 - "Failure when receiving data from the peer"
    Error: Cannot find a valid baseurl for repo: EA4

    Attention : link httpupdate.cpanel.net on my server is pingable .

    how to fix it ??

    and easyapache4 show following warn :


    YUM encountered errors outside of EasyApache 4. Log into the system via SSH to resolve them, or you can click the ‘Refresh’ button to rebuild the system‘s YUM cache.
     
    #1 maintest1991, Mar 23, 2019
    Last edited by a moderator: Mar 23, 2019
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,815
    Likes Received:
    444
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @maintest1991


    Can you provide the output of the following:

    Code:
    cat /etc/yum.repos.d/EA4.repo
    Code:
    cat yum.conf
    Code:
    rpm -qa |grep release
    Code:
    cat /etc/resolv.conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. maintest1991

    maintest1991 Registered

    Joined:
    Mar 23, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    dubai
    cPanel Access Level:
    Root Administrator
    yes ofcourse ..

    [EA4]
    name=EA4 ( EasyApache 4 )
    mirrorlist=http://httpupdate.cpanel.net/ea4-c$releasever-$basearch-mirrorlist
    gpgcheck=1
    gpgkey=https://securedownloads.cpanel.net/cPanelPublicRPMKey.asc
    enabled=1
    cost=50
    ***************************
    [main]
    exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail*
    tolerant=1
    errorlevel=1
    cachedir=/var/cache/yum/$basearch/$releasever
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=5
    bugtracker_url=My View - CentOS Bug Tracker
    distroverpkg=centos-release

    # This is the default, if you make this bigger yum won't see if the metadata
    # is newer on the remote and so you'll "gain" the bandwidth of not having to
    # download the new metadata and "pay" for it by yum not having correct
    # information.
    # It is esp. important, to have correct metadata, for distributions like
    # Fedora which don't keep old packages around. If you don't like this checking
    # interupting your command line usage, it's much better to have something
    # manually check the metadata once an hour (yum-updatesd will do this).
    # metadata_expire=90m

    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d

    *****************************

    mysql57-community-release-el6-11.noarch
    centos-release-6-10.el6.centos.12.3.x86_64

    *****************************
    nameserver 4.2.2.4
    nameserver 8.8.8.8

    thanks
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,815
    Likes Received:
    444
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @maintest1991

    • The EA4 repo looks standard
    • The yum.conf appears to have no customizations
    • The CentOS release package is present
    • You're using Verizon's open DNS in conjunction with Google's - the only suggestion I might have here is to change the first entry to use 8.8.4.4 instead of 4.2.2.4 and try this again.
    Do you have any firewall-related customizations that might limit traffic to your server?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. maintest1991

    maintest1991 Registered

    Joined:
    Mar 23, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    dubai
    cPanel Access Level:
    Root Administrator
    Error Fixed .
    I guess it was a problem with the network.

    For the last time, I run the following commands and error fixed :
    yum clean headers
    yum clean packages
    yum clean metadata
    yum clean dbcache
    yum clean all
    yum -y update


    If yum update failed :
    # rm -f /var/lib/rpm/__db.*
    # rpm -vv –rebuilddb
    # yum update


    Thanks
     
    cPanelLauren likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice