You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Stusynski, Dan" <ds...@ptc.com> on 2008/06/17 17:58:00 UTC

[users@httpd] Shared Memory Config Issue - Win Apache

Hey users,

Hopefully someone can help me with this issue since I can't seem to
resolve it.

After compiling Apache 2.2.9 on Win XP with (with mod_ldap and
mod_authnz_ldap support) I'm trying to configure Apache's Shared Memory
usage.

My relevant configuration is:

LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so

LDAPCacheEntries 2200
LDAPOpCacheEntries 1
LDAPSharedCacheSize 900000
LDAPSharedCacheFile logs/mod_ldap_cache

However, Apache fails to start and results in the following being logged
in the error log:
[error] (17)File exists: LDAP cache: could not create shared memory
segment
Configuration Failed

After some simple checking, removing the LDAPSharedCacheFile directive
resolves the error and Apache starts (and appears) to run fine. After
checking the mod_ldap docs it appears Apache then relies on anonymous
shared memory.

My Unix builds do not seem to observe this issue with the same
configuration.

Any ideas as to what might be the issue here?

Thanks,

Dan



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org