links - apache [links - soft] [links] [home] [search

errors

if getting an apache1 error like:

problem listening on port 4080, filedescriptor (259) larger than FD_SETSIZE (256) found,
you probably need to rebuild Apache with a larger FD_SETSIZE
uncomment in src/include/httpd.h HIGH_SLACK_LINE setting and set it to something somewhat lower than FD_SETSIZE number in the message (say, 230; for example, 255 or 254 will not work) (observed on NetBSD).




an apache error like:

[emerg] (28)No space left on device: Couldn't create accept lock
is caused by insufficient shared memory for semaphores. delete semaphores (something like for f in `ipcs -s | awk '{print $2}'`; do ipcrm sem $f; done)




if getting build error for some apache 2.0.x versions (not the latest ones):

ssl_engine_pphrase.c:684: error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function)
apply the following patch:
--- modules/ssl/ssl_toolkit_compat.h.org        2004-04-15 22:54:51.000000000 +0300
+++ modules/ssl/ssl_toolkit_compat.h    2006-03-02 11:47:20.000000000 +0200
@@ -23,6 +23,12 @@

 #ifdef OPENSSL_VERSION_NUMBER

+#if (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
+  #ifndef PEM_F_DEF_CALLBACK
+    #define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK
+  #endif
+#endif
+
 /*
  * rsa sslc uses incomplete types for most structures
  * so we macroize for OpenSSL those which cannot be dereferenced



created Mar 24 2006
last updated Sat Sep 22 17:59:09 GMT 2007