I just wanted to share this followup to Leonardo's Apache problem.  Please 
note the disclaimer I have at the end!

It doesn't seem to be LM specific, but rather related to Apache, since the 
box I had the problem with was Debian.

>Go into your apache source tree, and in the src/include directory, edit
>ap_config.h.
>
>Find the section for Linux (you can do a case sensitive search for
>"(LINUX)" ) without the quotes, and it'll take you right there.
>
>Right around line #517, comment out the two lines:
>
>/* #define HAVE_SHMGET 1
>#define USE_SHMGET_SCOREBOARD */
>
>Go down a little further (line 522) and comment out the follwing, so it
>reads like this:
>
>/* #if LINUX > 20 */
>/* see [EMAIL PROTECTED]
>  * in new-httpd archives for performance numbers indicating these
>  * are the right choices for linux 2.2.x and later
>  */
>/*#define USE_SYSVSEM_SERIALIZED_ACCEPT
>#define SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>#include <sys/sem.h>
>#if _SEM_SEMUN_UNDEFINED
>#define NEED_UNION_SEMUN
>#endif
>#else */
>#define USE_FCNTL_SERIALIZED_ACCEPT
>/* #endif */
>
>This worked for me.  I deduced from my error messages that it was the
>shared memory segments that were bombing on me, so I figured out how to
>get rid of it.
>
>Disclaimer:  I am not even close to being a C programmer, so I may have
>broken something that I don't even know about, but it's been running
>well with mod_ssl, mod_php and so forth without any problem.


---
Craig Sprout
Network Administrator
Crown Parts and Machine, Inc.
http://www.crownpartsandmachine.com  



Reply via email to