Portal Home > Knowledgebase > Articles Database > Build Apache seems to be getting stuck


Build Apache seems to be getting stuck




Posted by junglecat, 05-18-2008, 04:44 PM
I'm trying to build apache through WHM, but it gets to this point: http://i83.photobucket.com/albums/j2...pachebuild.gif and just stays there. I can walk away from my computer for an hour and come back and it's still at that same point in the build. I have WHM 11.15.0 cPanel 11.18.6-R24255 FEDORA 4 i686 on standard - WHM X v3.1.0 What can I do? I don't know if apache is building.

Posted by relichost, 05-19-2008, 02:59 AM
Hi I have found at this point it does take a long time, have you tried doing this from the Console / SSH using /scripts/easyapache ? (as I have found that the GUI sometimes locks up) Do you have a lot of sites hosted on this server ? Finally if non of that works, you could always get in touch with your license provider or Cpanel. Thanks

Posted by DjiXas, 05-19-2008, 03:08 AM
Wow, This is the same issue I am experiencing for the past couple weeks days. Have you done any cP updates recently? I have to click refresh output window, but then sometimes it resets my Apache settings... I've just got new hard drive and updated cPanel, wonder if that helps. Last edited by DjiXas; 05-19-2008 at 03:17 AM.

Posted by DjiXas, 05-19-2008, 03:44 AM
Via shell Updating Apache configuration Updating Apache configuration Distilled successfully !! Failed to utilized existing Apache configuration file. Resetting Apache configuration to default. !! Updating Apache configuration Updating Apache configuration Updating Apache configuration Updating Apache configuration Still same problem, though doesn't stuck this time, but resets configs anyway. Are you experiencing same issue?

Posted by cloud911, 05-19-2008, 04:31 AM
Try this : WHM -> Update config -> Automatic (stable/release) WHM -> Update Server Software WHM -> Apache Update Ensure there are no timeouts from your browser, because if it happens, the build is likely to be damaged and you'll not see any progress any more. If you dont have a stable internet connection to your server, use the "screen" tool on the server to update apache with the script /scripts/easyapache

Posted by cloud911, 05-19-2008, 04:40 AM
Sorry, I saw your attached pic just now. Login to your server through SSH and run : php -i | grep php.ini it shows you the path to your php.ini file. open that file using an editor and comment the line which loads the module IonCube and Zend. Now restart the "apache update", it must complete successfully.

Posted by DjiXas, 05-19-2008, 04:58 PM
You should submit ticket to cPanel as well. I've done 4 recompilations today, 1 failed. Slighty better if we can call that better

Posted by DjiXas, 05-19-2008, 05:08 PM
Double post, please delete

Posted by junglecat, 05-19-2008, 06:10 PM
I'm trying one more time (it's building now), and if it fails again I'm submitting a ticket to cpanel.

Posted by DjiXas, 05-19-2008, 06:14 PM
Via Shell or WHM?

Posted by cloud911, 05-21-2008, 02:21 AM
try my second post above, it worked for me last time !

Posted by ttiger, 05-22-2008, 12:12 PM
I'm having the same problem. I tried what you suggested but it didn't work. I have tried building from the command line as well. Doesn't seem to be anything at the cpanel forums. Anyone know how to fix this?

Posted by bin_asc, 05-22-2008, 12:30 PM
Try removing the cpapachebuild folder from /home, and then do a /scripts/upcp --force and then recompile from the command line using easyapache.

Posted by ttiger, 05-22-2008, 01:33 PM
Tried that and it didn't work.

Posted by bin_asc, 05-22-2008, 01:34 PM
The build should create a log. Could you post it here ? ( only essential parts )

Posted by ttiger, 05-22-2008, 01:43 PM
This is the last section where it stops / hangs: ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ find . -name \*.gcno -o -name \*.gcda | xargs rm -f find . -name \*.lo -o -name \*.o | xargs rm -f find . -name \*.la -o -name \*.a | xargs rm -f find . -name \*.so | xargs rm -f find . -name .libs -a -type d|xargs rm -rf rm -f libphp.la modules/* libs/* EAccelerator extension activated -- End step 'Install EAccelerator' -- -- End opt 'EAccelerator for PHP' -- -- Begin opt 'IonCube Loader for PHP' -- -- Begin step 'Install IonCube loader' -- Determining PHP version Installing IonCube Loader binaries Activating IonCube Loader extension in /usr/local/lib/php.ini IonCube Loader extension activated -- End step 'Install IonCube loader' -- -- End opt 'IonCube Loader for PHP' -- !! Resetting Apache configuration to default. !! Updating Apache configuration Updating Apache configuration

Posted by ttiger, 05-22-2008, 02:09 PM
Wow looks like it completed this time but php seems to be broken. Well its a start.

Posted by cpdan, 05-22-2008, 02:41 PM
A few clarifications to some of the posts in this thread: > and just stays there. I can walk away from my computer for an hour and come back and it's still at that same point in the build Is your httpd.conf large/have alarge number of virtualhosts? If yes it could simply take a long time to process it all. Are you connect to whm via the proxy whm.whatever instead of whatever:2087/ If yes then the browser session died when apache was restarted and you have to refresh it for it to reconnect and get the rest of the output > Ensure there are no timeouts from your browser, good idea generally > because if it happens, the build is likely to be damaged and you'll not see any progress any more. It won't be "damaged", it'll continue on in the background. In fact the WHM UI is essentailly tailing the build process output. CLosing your browser does nothgin to affect the build > Try removing the cpapachebuild folder from /home the directiry it uses is always removed by easyapache, in fact it stops if it is unable to remove it. Besides it can be in different locations besides /home > Failed to utilized existing Apache configuration file. Resetting Apache configuration to default You are more than likley changing between Apache versions or the existing one otherwise errored out with the things you just built. > I've done 4 recompilations today, 1 failed. When there is a failure you shoudl have very specific information on why in the output. Generally rebuilding it over and over won't fix the underlying issue (liek OS libraries, etc) > I have to click refresh output window, but then sometimes it resets my Apache settings. refesh output just means "reconnect to the output I was tailing" its usually only needed if you're connected by proxy and apache is restarted or you otherwise stop your browser. It has nothgin to do with your "apache settings" other than that's probably the next bit of output it gets from the tail-liek buffer its displaying to the browser. > looks like it completed this time but php seems to be broken. Did you configure PHP as per the dialog at the end of the build?

Posted by ttiger, 05-22-2008, 03:16 PM
Yes I configured it. The problem is it says php 5 handler "none" same for php 4. You can't select a php handler. Tried php -v from the command line and it just says "segmentation fault" I have tried with all versions of php 5 in WHM.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Singlehop down? (Views: 676)
FDC offline? (Views: 747)

Language: