If a new apache build starts running but stops serving pages after a page or two, look at /usr/local/apache/logs/error_log. There might be the following error listed over and over again:
[notice] child pid 18668 exit signal Segmentation Fault (11)
This might mean that the modules in /usr/local/apache/libexec were copied over from another system and are having problems running on the new system. You need to recompile these modules.
To recompile a DSO module you can run:
/usr/local/apache/bin/apxs -c module.c
Where module.c is the filename of the source file for the module. If there are more than one source files you need to specify them all. For instance, to compile mod_proxy:
/usr/local/apache/bin/apxs -c mod_proxy.c proxy_*.c
There is a command that will automatically install the module to the relevant folder but I prefer to do it by hand. Copy the module.so file to /usr/local/apache/libexec folder and the modify the httpd.conf to load the module.
This should solve the problem of httpd segfaulting.
Thursday, January 13, 2005
Mozilla and hypocrisy
Right, but what about the experiences that Mozilla chooses to default for users like switching to Yahoo and making that the default upon ...
-
via VMware blog
-
AJAX: redesign your PHP applications? - ThinkPHP /dev/blog : "First of all, XMLHttpRequest has a problem: in InternetExplorer, it doesn...
-
Intrusion Detection with Tripwire : "Do this by adding a comma after the severity= line and putting emailto= on the next line, followed...