Web Hosting Talk







View Full Version : cpanel easyapache upgrade - apache restart fails with no error


HYB-Bryan
07-25-2004, 01:09 AM
I just performed a PHP update in cpanel using easyapache. Went from 4.3.4 to 4.3.8. Now apache fails to start and does not gerenate any error. It looks like apache is starting but it's not.

Any ideas?

sprintserve
07-25-2004, 01:50 AM
/usr/local/apache/bin/apachectl configtest

See if it shows any errors.

Also try

ps -aux | grep httpd

Sometimes you can have a hung process. Also check in /var/log/messages and see if you can see any other error message from the starting of the server.

You should also watch the easyapache closely to see if any errors were spawn during the compile.

HYB-Bryan
07-25-2004, 01:54 AM
Thanks for the suggestions but I tried that already. What I have found is removing:

LoadModule php4_module libexec/libphp4.so

and

AddModule mod_php4.c

lets apache start.

I tried recompiling php manually but I get the same result.

wheimeng
07-25-2004, 01:57 AM
Check if you have truck mmcache installed. else killall -9 httpd;service restart httpd. if it does not work, try restarting it in WHM.

If it does not work too, /scripts/easyapache again :P

Steven
07-25-2004, 01:58 AM
do you have zend or mmccache installed? if you do remove it. and see if it works.

sprintserve
07-25-2004, 02:01 AM
This means that it's your PHP that's preventing apache from starting. Do you have any extensions loaded? Zend, Ioncube, Payflow or any extra things that you added yourself

HYB-Bryan
07-25-2004, 02:02 AM
zend is installed as well as mmcache

HYB-Bryan
07-25-2004, 02:11 AM
fixed.. thanks

choon
07-25-2004, 02:18 AM
To know your real php.ini, issue this command:
php -i | grep php.ini

Mostly it is symlink to /usr/local/Zend/etc/php.ini. Edit the php.ini and comment out those related with mmcache then restart apache should be fine. If failed then comment out Zend as I think mostly it is due to mmcache. Give it a shot and let us know the result ;)

choon
07-25-2004, 02:35 AM
Originally posted by HYB-Bryan
fixed.. thanks
Wah... you fixed and edited the post while I am typing my previous post/reply... :p

Anyway, glad it is fixed :D

You might want to share with us which is causing the problem... Zend or mmcache or both...

HYB-Bryan
07-25-2004, 02:39 AM
both.. for some odd reason. But at 2:30 am I don't want to find out. Tomorrow the investigation begins :)