Web Hosting Talk







View Full Version : Apache wont restart, Need Help :(


Apocalypse
07-16-2004, 01:19 PM
After running WHM upgrade apache script (default settings, to get php to version 4.3.8, i was using 4.3.3 before) apache refuses to start completely.

I've tried running easyapache thru console, option 1, same problems, option 5 same problem.

I get Segmentation fauls error_logs like this one:

[Fri Jul 16 12:16:13 2004] [notice] child pid 3156 exit signal Segmentation fault (11)

I dont have mod_perl or mod fastcgi in my httpd.conf

only:

LoadModule rewrite_module libexec/mod_rewrite.so
LoadModule php4_module libexec/libphp4.so
LoadModule bwlimited_module libexec/mod_bwlimited.so
LoadModule bytes_log_module libexec/mod_log_bytes.so
LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so
#LoadModule gzip_module libexec/mod_gzip.so

ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c
<IfDefine SSL>
AddModule mod_ssl.c
</IfDefine>
AddModule mod_frontpage.c
AddModule mod_php4.c
AddModule mod_bwlimited.c
AddModule mod_log_bytes.c
AddModule mod_auth_passthrough.c
#AddModule mod_gzip.c

and thats it...

Please help, all my sites are down :bawling:

Update
commented mod_php4.c and that lets me start apache, ofcourse without php parsing, all sites containing php give me an error.

coight
07-16-2004, 01:34 PM
Try

/usr/local/apache/bin/apachectl configtest

Apocalypse
07-16-2004, 01:36 PM
Hi, that gives me:
[Fri Jul 16 13:35:08 2004] [error] Cannot remove module mod_php4.c: not found in module list

with mod_php4.c commented out, but php didnt installed at all, php --version gives me nothing

coight
07-16-2004, 01:39 PM
Are you running phpsuexec?

Apocalypse
07-16-2004, 01:46 PM
phpsuexec disabled, compiled with easyapache option 1

Apocalypse
07-16-2004, 01:58 PM
A million thanks to dandanfirema from alphaomegahosting.com for helping me solve the problem.

It was mmcache preventing the new php version from working.

again, i cant thank you enough. Great guy.

And thanks a lot coight for trying to help me, this is a great community of people.:D