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!

I cannot update apache via WHM

Discussion in 'EasyApache' started by lexmark, Jan 12, 2005.

  1. lexmark

    lexmark Well-Known Member

    Joined:
    Sep 10, 2003
    Messages:
    115
    Likes Received:
    0
    Trophy Points:
    166
    I keep getting these errors:

    Building Apache Config.....Done
    Downloading and compiling apache+modules....


    Verifying archive integrity... All good.
    Uncompressing buildapache........................................................................................................................
    Verifying compiler and libs....Sync Source: http://httpupdate.cpanel.net/STABLE/scripts
    Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE/scripts/.cpanelsync.lock....Trying httpupdate.cpanel.net @ 69.72.164.152
    Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE/scripts/.cpanelsync.lock
    ...Done
    Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.151
    Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE/scripts/.cpanelsync.bz2
    ...Done
    Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE/scripts/.cpanelsync....Trying httpupdate.cpanel.net @ 69.72.164.152
    Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE/scripts/.cpanelsync
    ...Done
    Download Failed... trying again..
    Unable to retrieve file
    ...Failed
    Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.151
    Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE/scripts/.cpanelsync.bz2
    ...Done
    Download Failed... trying again..
    Unable to retrieve file
    ...Failed
    Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE/scripts/.cpanelsync....Trying httpupdate.cpanel.net @ 69.72.164.152
    Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE/scripts/.cpanelsync
    ...Done
    Download Failed... trying again..
    Unable to retrieve file


    It keeps going and going I tried running it 3 times but same result
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    Run the following from shell as root and see if it fixes your error:

    /scripts/updatenow
    /scripts/upcp --force

    Have you recently moved to stable from release, current or edge build ? If so, the above may not work, which build did you move from, and which version is it you are on now.

    If the above is true, try the following:
    rm /var/cpanel/version/9.9.9.1
    /scripts/upcp

    Then run the apache build again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lexmark

    lexmark Well-Known Member

    Joined:
    Sep 10, 2003
    Messages:
    115
    Likes Received:
    0
    Trophy Points:
    166
    Ok I updated to Cpanel Release and ran the Apache Update and it upgraded to 4.10. However here is the problem, now I get the following message when logging into Cpanel WHM:

    Security Warning, your resolver configuration contains 127.0.0.1 (localhost). For security reasons, we recommend that you use a non-local dns resolver. Click here to change your configuration.

    Unable to obtain apache version information. Your apache server at xxx.xxx.xxx.100 may be down, or unreachable.

    So I tried restarting apache but it says apache failed. I rebooted the server but apache still wont come online. I contacted my DC and they said that they can fix it for $50 or I could ask on the forums for someone to fix this for me. Could you guys please help? :(
     
  4. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    833
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    run
    service httpd stop
    service httpd start
    from the command line. You should get a list of errors to do with httpd.conf - just fix them and apache will start.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    166
    and remove 127.0.0.1 from /etc/resolv.conf and put your server's main public ip there instead. Leaving it there is a security problem and there have been servers compromised because of it.
     
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