Hello all (again),
Regarding the segfault (see previous email, or quote below); a small addition to slapd.conf eliminates the condition that was causing the fault: slapd.conf: proxyAttrset 0 proxyAddress proxyTemplate (sn=) 0 3600 However, while it no longer crashes on load, it now simply exits cleanly at startup. Debug -1 output (slightly sanitized) below: hdb_back_initialize: initialize HDB backend hdb_back_initialize: Sleepycat Software: Berkeley DB 4.4.20: (January 10, 2006) >>> dnPrettyNormal: <DC=ubisoft,DC=org> <<< dnPrettyNormal: <dc=ubisoft,dc=org>, <dc=ubisoft,dc=org> >>> dnPrettyNormal: <DC=ubisoft,DC=org> <<< dnPrettyNormal: <dc=ubisoft,dc=org>, <dc=ubisoft,dc=org> ldap_url_parse_ext(ldap://AD.SERVER.ORG:3268) >>> dnPrettyNormal: <CN=(sanitized),OU=Ubisoft,DC=ubisoft,DC=org> <<< dnPrettyNormal: <cn=(sanitized),ou=Ubisoft,dc=ubisoft,dc=org>, <cn=(sanitized),ou=ubisoft,dc=ubisoft,dc=org> bdb_db_init: Initializing BDB database slapd destroy: freeing system resources. slapd stopped. connections_destroy: nothing to destroy. [EMAIL PROTECTED] bin]# Once again, any ideas are welcomed warmly. Thank you! -- _ °v° Daniel Maher /(_)\ Administrateur Système Unix ^ ^ Unix System Administrator Sentio aliquos togatos contra me conspirare. ________________________________ From: Daniel Maher Sent: Thursday, July 20, 2006 2:33 PM To: [email protected] Subject: openldap 2.3.24 segfault on startup Hello all, I recently set up OpenLDAP as a proxy to an Active Directory server. Happily, this works just fine, and was quite easy to set up. When I attempted to enable pcache however, slapd started segfaulting on startup. Software versions: RedHat EL3 (somewhat modified from stock) OpenLDAP 2.3.24 BerkeleyDB4 4.4.20 Relevant slapd.conf section (sanitized slightly): # LDAP database conf database ldap suffix "DC=ubisoft,DC=org" rootdn "DC=ubisoft,DC=org" uri ldap://ad.server.org:3268 binddn --- bindpw --- overlay pcache proxycache bdb 10000 1 100 100 cachesize 20 directory /usr/local/openldap/var/proxycache The last few lines from slapd at debug -1 (sanitized slightly): slapd startup: initiated. backend_startup_one: starting "cn=config" config_back_db_open config_build_entry: "cn=config" config_build_entry: "cn=include{0}" config_build_entry: "cn=schema" config_build_entry: "cn={0}core" config_build_entry: "olcDatabase={-1}frontend" config_build_entry: "olcDatabase={0}config" config_build_entry: "olcDatabase={1}ldap" config_build_entry: "olcOverlay={0}pcache" config_build_entry: "olcDatabase=bdb" backend_startup_one: starting "dc=ubisoft,dc=org" ldap_back_db_open: URI=ldap://ad.server.org:3268 backend_startup_one: starting "dc=ubisoft,dc=org" bdb_db_open: Warning - No DB_CONFIG file found in directory /usr/local/openldap/var/proxycache: (2) Expect poor performance for suffix dc=ubisoft,dc=org. bdb_db_open: dbenv_open(/usr/local/openldap/var/proxycache) slapd starting Segmentation fault The Berkeley DB files are created (i.e. .../var/proxycache has the __db files and such). It appears to crash directly after creating them. And, yes, I know that I'm missing the DB_CONFIG file in the example above - it doesn't make a difference, the same thing happens even if I do have one. I'll be more than happy to supply any additional information, such as strace output, should it be useful. Any ideas? Thanks! -- _ °v° Daniel Maher /(_)\ Administrateur Système Unix ^ ^ Unix System Administrator Sentio aliquos togatos contra me conspirare.
