Search Engine: Elastic

Article ID: 128666, created on Apr 13, 2016, last review on Apr 13, 2016

  • Applies to:
  • Plesk Automation 11.5


  1. PA service node registration failed with error:

    [ERROR]: Unexpected error: Failed to execute command: ['/usr/bin/yum', 'repolist', 'enabled']
    Traceback (most recent call last):
    File "", line 275, in <module>
    if not isYumConfigured():
    File "", line 241, in isYumConfigured
    out, _ = simpleExec([YUM_BIN, 'repolist', 'enabled'])
    File "", line 185, in simpleExec
    raise Exception('Failed to execute command: %s' % command)
    Exception: Failed to execute command: ['/usr/bin/yum', 'repolist', 'enabled']
  2. Command execution on the service node failed with error:

    [root@server1 ~]# /usr/bin/yum repolist enabled
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again


Unable to retrieve package list from enabled repository caused by incorrect link to epel mirrorlist, defined in /etc/yum.repos.d/epel.repo or network configuration issue.


  1. Make sure that required link is correct and available from your service node.

  2. Check your DNS name resolution settings.

  3. Disable this repository by changing repository configuration file:

    3.1 Open /etc/yum.repos.d/epel.repo on affected Service Node with text editor.

    3.2 Change parameter enabled from '0' to '1'.

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF