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.

SOLVED A fatal error or timeout occurred while processing this directive.

Discussion in 'CloudLinux' started by freedomhosting, Jan 14, 2017.

Tags:
  1. freedomhosting

    freedomhosting Registered

    Joined:
    Jan 7, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Hello.

    Faced with these issues

    Code:
    “/usr/bin/python” reported error code “1” when it ended: Traceback (most recent call last):
      File "/usr/local/cpanel/bin/packman_get_list_json", line 9, in <module>
        packman.init_yum()
      File "/usr/local/cpanel/bin/packman.py", line 37, in init_yum
        pkgSack = yb.pkgSack
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in <lambda>
        pkgSack = property(fget=lambda self: self._getSacks(),
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
        self.repos.populateSack(which=repos)
      File "/usr/lib/python2.7/site-packages/yum/repos.py", line 386, in populateSack
        sack.populate(repo, mdtype, callback, cacheonly)
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 227, in populate
        if self._check_db_version(repo, mydbtype):
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 319, in _check_db_version
        return repo._check_db_version(mdtype)
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1503, in _check_db_version
        repoXML = self.repoXML
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1689, in <lambda>
        repoXML = property(fget=lambda self: self._getRepoXML(),
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1685, in _getRepoXML
        self._loadRepoXML(text=self.ui_id)
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1676, in _loadRepoXML
        return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1650, in _groupLoadRepoXML
        if self._commonLoadRepoXML(text):
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1460, in _commonLoadRepoXML
        if self._cachingRepoXML(local):
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1226, in _cachingRepoXML
        raise Errors.RepoError, 'Cannot find repomd.xml file for %s' % self.ui_id
    yum.Errors.RepoError: Cannot find repomd.xml file for kernelcare/x86_64
     w/ /usr/local/cpanel/bin/packman_get_list_json installed ea-
    Often errors like this can be resolved by running `yum makecache`
     at /usr/local/cpanel/Cpanel/PackMan/Sys.pm line 124.
        Cpanel::PackMan::Sys::_call_python_json(Cpanel::PackMan::Sys=HASH(0x45465f8), "/usr/local/cpanel/bin/packman_get_list_json", "installed", "ea-") called at /usr/local/cpanel/Cpanel/PackMan/Sys.pm line 53
        Cpanel::PackMan::Sys::list(Cpanel::PackMan::Sys=HASH(0x45465f8), "installed", "ea-") called at /usr/local/cpanel/Cpanel/PackMan.pm line 626
        Cpanel::PackMan::list(Cpanel::PackMan=HASH(0x45e8ae8), "state", "installed", "prefix", "ea-") called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 32
        Whostmgr::API::1::EA4::ea4_list_profiles() called at whostmgr/bin/whostmgr7.pl line 903
        main::easy_apache_4() called at whostmgr/bin/whostmgr7.pl line 220
    
    Server Information
    Code:
    /etc/redhat-release:CentOS Linux release 7.3.1611 (Core)
    /usr/local/cpanel/version:11.60.0.34
    /var/cpanel/envtype:kvm
    CPANEL=release
    Server version: Apache/2.4.25 (cPanel)
    Server built:   Jan  4 2017 14:51:03
    ea-php-cli Copyright 2016 cPanel, Inc.
    PHP 5.6.29 (cli) (built: Jan  4 2017 15:09:17)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    mysql  Ver 14.14 Distrib 5.6.34, for Linux (x86_64) using  EditLine wrapper
    
    Might add using kernelcare and installed CSF
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    396
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    can you please get back to us with the below details

    # cat /etc/resolv.conf
    # ping google.com
    # df -h
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    34,345
    Likes Received:
    1,003
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify what command you are using or what option you are browsing when encountering this error message? Can you reproduce the issue after running the "yum clean all" command?

    Thank you.
     
  4. mehrdadali14

    mehrdadali14 Member

    Joined:
    Jun 16, 2016
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Islamabad
    cPanel Access Level:
    Root Administrator
    im facing this issue after used the commend "yum clean all"
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    34,345
    Likes Received:
    1,003
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    mehrdadali14 likes this.
  6. mehrdadali14

    mehrdadali14 Member

    Joined:
    Jun 16, 2016
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Islamabad
    cPanel Access Level:
    Root Administrator
    i put yum upgrade
    after that the issue has been fixes
     
    cPanelMichael likes this.
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    34,345
    Likes Received:
    1,003
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page