I added
LDAPSharedCacheFile ldapCache/sharedCacheFile
I created the directory ldapCache under the serverroot and restarted the server. The file sharedCacheFile was created, but with owner root, while the server itself runs under sysadm user ( but apachectl is run by root, to be able to bind to port 80 ) . Anyways, the httpd child processes all core :
[Thu Apr 22 08:39:42 2004] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 22 08:39:42 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Apr 22 08:39:42 2004] [notice] LDAP: SSL support unavailable
[Thu Apr 22 08:39:42 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Apr 22 08:39:42 2004] [notice] LDAP: SSL support unavailable
[Thu Apr 22 08:39:43 2004] [notice] Apache/2.0.49 (Unix) DAV/2 mod_jk/1.2.5 mod_ssl/2.0.49 OpenSSL/0.9.7d configured -- resuming normal operations
[Thu Apr 22 08:39:43 2004] [notice] child pid 18632 exit signal Bus error (10)
[Thu Apr 22 08:39:43 2004] [notice] child pid 18630 exit signal Bus error (10)
[Thu Apr 22 08:39:43 2004] [notice] child pid 18627 exit signal Bus error (10)
[Thu Apr 22 08:39:43 2004] [notice] child pid 18625 exit signal Bus error (10)
[Thu Apr 22 08:39:44 2004] [notice] child pid 18638 exit signal Bus error (10)
[Thu Apr 22 08:39:46 2004] [notice] child pid 18642 exit signal Bus error (10)
[Thu Apr 22 08:39:47 2004] [notice] child pid 18664 exit signal Bus error (10)
[Thu Apr 22 08:39:47 2004] [notice] child pid 18659 exit signal Bus error (10)
[Thu Apr 22 08:39:47 2004] [notice] child pid 18652 exit signal Bus error (10)
[Thu Apr 22 08:39:48 2004] [notice] child pid 18683 exit signal Bus error (10)
[Thu Apr 22 08:39:48 2004] [notice] child pid 18682 exit signal Bus error (10)
[Thu Apr 22 08:39:48 2004] [notice] child pid 18681 exit signal Bus error (10)
Is this due to the permission problem ? Is there a way to avoid this ? Or do I have to initialize the sharedCacheFile in some special way ?
Thanks !
Peter.
Edward Rudd wrote:
On Wed, 21 Apr 2004 15:44:55 +0200, Peter Van Biesen wrote:
Hi everyone,
I've compiled httpd 2.0.49 with mod_auth_ldap and mod_ldap support ( I used --with-ldap=static ). When I do a httpd -l, I can't seem to find mod_ldap in the list. I've been looking through the makefiles and httpd does link with mod_ldap.la which draws in util_ldap.c . So, is mod_ldap equal to util_ldap.c ?
Yes util_ldap.c is mod_ldap
I tried to configure mod_ldap and httpd didn't complain so I suppose mod_ldap is present somewhere. I used :
LDAPSharedCacheSize 200000 LDAPCacheEntries 1024 LDAPCacheTTL 600 LDAPOpCacheEntries 1024 LDAPOpCacheTTL 600
<Location /ldap-status> SetHandler ldap-status </Location>
Starting with httpd 2.0.49 you need to add LDAPSharedCacheFile /path/to/sharedcacehfile this path can either be absolute (starting with /) or relative to the HTTPD ServerRoot
-- Peter Van Biesen Adj. Sysadmin V.F.S.I.P.H.
tel: +32 (0) 2 225 85 70 fax: +32 (0) 2 225 85 88 e-mail: [EMAIL PROTECTED] PGP: http://www.vlafo.be/pgpkeys/[EMAIL PROTECTED]
