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.

EasyApache hangs during build

Discussion in 'EasyApache' started by g3ck0, Oct 30, 2010.

  1. g3ck0

    g3ck0 Registered

    Joined:
    Oct 30, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I try to use EasyApache on WHM 11.26.20, REDHAT Enterprise 4 i686 standard.

    The installation hangs at the following point:

    Checking that all tarballs are present and up to date.
    Checking that all packages are present and up to date.
    !! No method to auto repair package system !!


    I tried to solve the problem and find that yum is giving errors also and that "Update Server Software" in WHM also isn't working.

    #yum update is giving the following output:

    Gathering header information file(s) from server(s)
    Server: Fedora Core 4ES - i386 - Base
    retrygrab() failed for:
    http://mirrors.kernel.org/fedora/core/4ES/i386/os/headers/header.info
    Executing failover method
    failover: out of servers to try
    Error getting file http://mirrors.kernel.org/fedora/core/4ES/i386/os/headers/header.info
    [Errno 4] IOError: HTTP Error 404: Not Found


    Hope some of you can help me further after 2 days of googling and trying..
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You are on RedHat Enterprise 4, so you should be using the CentOS mirrors not the Fedora ones? Move your existing /etc/yum.repos.d/CentOS-Base.repo file and replace those Fedora repositories with the actual CentOS-Base.repo ones:

    Code:
    mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
    vi /etc/yum.repos.d/CentOS-Base.repo
    Here's an example of what that file should have placed into it for your OS version:

    http://vault.centos.org/4.4/CentOS-Base.repo

    Please also post the results of this command in that location (to ensure that you don't have any remaining Fedora repositories there:

    Code:
    ls -lah /etc/yum.repos.d/
    Thanks!
     
  3. g3ck0

    g3ck0 Registered

    Joined:
    Oct 30, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the quick response.

    /etc/yum.repos.d/CentOS-Base.repo doesn't exist. I've created a new directory and file and the command outputed:

    total 24K
    drwxr-xr-x 2 root root 4.0K Oct 30 18:38 ./
    drwxr-xr-x 88 root root 12K Oct 30 18:38 ../
    -rw-r--r-- 1 root root 2.4K Oct 30 17:39 CentOS-Base.repo



    The file that does exist is /etc/yum.conf
    I edited that and ran yum update with these results:

    Error: Cannot find baseurl or name for server 'addons'. Skipping
    Error: Cannot find baseurl or name for server 'update'. Skipping
    Error: Cannot find baseurl or name for server 'extras'. Skipping
    Error: Cannot find baseurl or name for server 'base'. Skipping
    Error: Cannot find baseurl or name for server 'contrib'. Skipping
    Error: Cannot find baseurl or name for server 'centosplus'. Skipping
    Gathering header information file(s) from server(s)
    Finding updated packages
    Downloading needed headers
    No Packages Available for Update
    No actions to take


    The old yum.conf looked like this:

    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    retries=20

    [base]
    name=Fedora Core $releasever - $basearch - Base
    baseurl=http://mirrors.kernel.org/fedora/core/$releasever/$basearch/os/

    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    baseurl=http://mirrors.kernel.org/fedora/core/updates/$releasever/$basearch/

    #[updates-testing]
    #name=Fedora Core $releasever - $basearch - Unreleased Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

    #[development]
    #name=Fedora Core $releasever - Development Tree
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please try uncommenting the baseurl lines in CentOS-Base.repo file and re-running yum update again. After that, try running /scripts/easyapache --force again.
     
  5. g3ck0

    g3ck0 Registered

    Joined:
    Oct 30, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please try opening a ticket at this point using the link in my signature or via WHM > Support Center > Contact cPanel so we can check your repository details further. Please post that ticket number here after opening it.
     
  7. g3ck0

    g3ck0 Registered

    Joined:
    Oct 30, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I've posted a ticket..

    Request id is: 992125.
     
Loading...

Share This Page