You are correct. Revisiting this fresh, it's working now with pcache enabled. I believe I had some errors left over in my environmental variables as I was messing with the locally compiled bdb libs.

Thanks again.

Chris

On Wed, Feb 2, 2011 at 3:33 PM, <masarati@aero.polimi.it> wrote:
> Well now the issue I run into is slapd crashing when I also configure
> proxy
> caching. It stops when trying to Initialize the BDB database:
>
> slap_sasl_init: initialized!
> bdb_back_initialize: initialize BDB backend
> bdb_back_initialize: Berkeley DB 4.8.30: (April  9, 2010)
> hdb_back_initialize: initialize HDB backend
> hdb_back_initialize: Berkeley DB 4.8.30: (April  9, 2010)
>>>> dnPrettyNormal: <dc=ad,dc=mydomain,dc=edu>
> <<< dnPrettyNormal: <dc=ad,dc=mydomain,dc=edu>, <dc=ad,dc=mydomain,dc=edu>
>>>> dnPrettyNormal: <dc=ad,dc=mydomain,dc=edu>
> <<< dnPrettyNormal: <dc=ad,dc=mydomain,dc=edu>, <dc=ad,dc=mydomain,dc=edu>
> ldap_url_parse_ext(ldap://ldapadlb.mydomain.edu/dc=ad,dc=mydomain,dc=edu)
>>>> dnPrettyNormal: <dc=ad,dc=mydomain,dc=edu>
> <<< dnPrettyNormal: <dc=ad,dc=mydomain,dc=edu>, <dc=ad,dc=mydomain,dc=edu>
> bdb_db_init: Initializing BDB database
> slapd-ldap destroy: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.
>
> overlay pcache
> proxycache bdb 10000 1 50 100
> proxyattrset 0 uid
> proxytemplate * 0 0
> directory       /usr/local/var/openldap-data
> cachesize 100

Please direct software usage questions to the list.  I suspect a
misconfiguration; try starting slapd -with d config.

p.