[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: pcache configuration

Since they were listed as warnings I wouldn't have expected slapd to exit.
Just not cache anything.  But I can understand how it would have no effect.

But I guess I am still lost.  BTW, thanks for all the help so far.

The errors say 1 or 1 attribute sets are not configured.  Specifically
attribute set #0.  But after reading the configuration examples in the admin
guide.  I don't see anything wrong.  Have the keywords changed?
Below is the configuration that I tested.

proxyCache         bdb 100000 1 1000 100
cachesize       20
       proxyAttrset  0 mail postaladdress telephonenumber
       proxyTemplate (sn=) 0 3600
       proxyTemplate (&(sn=)(givenName=)) 0 3600
       proxyTemplate (&(departmentNumber=)(secretary=*)) 0 3600

takes straight from the sample in the admin guide.

Looks to me as though proxyAttrset #0 is defined.  ?


-----Original Message-----
From: Pierangelo Masarati [mailto:ando@sys-net.it] 
Sent: Tuesday, November 20, 2007 4:29 PM
To: Nathan Morrow
Cc: openldap-software@openldap.org
Subject: Re: pcache configuration

Nathan Morrow wrote:
> Thanks for the tip.  It did resolve one little thing.  My lack of rootdn,

That's not so little, since proxy cache needs it to work, as documented.

> proxycache was exiting one.  
> Unfortunately fixing that just led me to a segmentation fault:


> pcache: warning, attr set #0 not configured.
> pcache: warning, 0 attr sets configured but not referenced.
> pcache: warning, 1 attr sets not configured.
> pcache: 0 attr sets not configured but referenced.

This is telling you your pcache configuration is screwed: it references
and attribute set that is not defined.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it