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!

upcp failed - needs-restarting-cpanel Could not retrieve mirrorlist

Discussion in 'General Discussion' started by theallan, Dec 18, 2017.

Tags:
  1. theallan

    theallan Active Member

    Joined:
    Nov 17, 2005
    Messages:
    36
    Likes Received:
    2
    Trophy Points:
    158
    I'm also seeing this error - WHM 68.0.20, CentOS 6.9, standard kernel. When I run `usr/local/cpanel/scripts/find_outdated_services` manually I get:

    Looking for outdated services …

    Cpanel::Exception/(XID mahxsn) The system received unexpected output from “/usr/local/cpanel/bin/needs-restarting-cpanel”: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was

    For some reason that I can't fathom my system is insisting on connecting to an old ip for that domain (looks like it changed at some point). It appears to be ignoring /etc/hosts for that sub-domain and I have no idea why. Commenting out the mirror list in the yum repo resolved it for me.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may want to verify the resolvers in your /etc/resolv.conf file are valid and working.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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