haven't found a solution in Mailing list archive and fix-lists of 2.3.35/2.3.36
Environment =========== - OpenLDAP 2.3.34 on Solaris 8 with BDB 4.5.20.NC-p2 - current status (retrieved using ldapsearch -x -D "cn=manager,cn=config" -w password -H "ldap://hostname:port" -b "cn=config"):
# {2}hdb, config dn: olcDatabase={2}hdb,cn=config objectClass: olcDatabaseConfig objectClass: olcHdbConfig olcDatabase: {2}hdb olcSuffix: ou=log olcAccess: {0}to * by dn.base="cn=manager,cn=config" write by * read olcRootDN: cn=manager,ou=log olcDbDirectory: /var/malbec/mdch/mdch-accesslog-data olcDbConfig: {0}set_cachesize 0 1280000 0 olcDbConfig: {1}set_flags DB_LOG_AUTOREMOVE olcDbConfig: {2}set_lg_dir /var/malbec/mdch/mdch-accesslog-logs olcDbIndex: objectClass eq olcDbIndex: reqStart eq olcDbIndex: reqAuthzID eq
What I'm trying to do ===================== I'm trying to apply an ldif file having the following content (only four lines):
dn: olcDatabase={2}hdb,cn=config changetype: modify add: olcDbCheckpoint olcDbCheckpoint: 100000 30
with the following command: ldapmodify -x -D "cn=manager,cn=config" -w password -H ldap://hostname:port -f configure_db_checkpointing.ldif
Problem, Symptoms ================= - Desired entry is not being added - In the console I get the following error message:
modifying entry "olcDatabase={2}hdb,cn=config" ldap_modify: Internal (implementation specific) error (80)
- In the ldap.log I get the following related entries: Jun 25 16:43:39 c004503 slapd[3058]: [ID 848112 local4.debug] conn=5515 fd=19 ACCEPT from IP=xyz:xyz (IP=0.0.0.0:port) Jun 25 16:43:39 c004503 slapd[3058]: [ID 215403 local4.debug] conn=5515 op=0 BIND dn="cn=manager,cn=config" method=128 Jun 25 16:43:39 c004503 slapd[3058]: [ID 600343 local4.debug] conn=5515 op=0 BIND dn="cn=manager,cn=config" mech=SIMPLE ssf=0 Jun 25 16:43:39 c004503 slapd[3058]: [ID 588225 local4.debug] conn=5515 op=0 RESULT tag=97 err=0 text= Jun 25 16:43:39 c004503 slapd[3058]: [ID 249368 local4.debug] conn=5515 op=1 MOD dn="olcDatabase={2}hdb,cn=config" Jun 25 16:43:39 c004503 slapd[3058]: [ID 396994 local4.debug] conn=5515 op=1 MOD attr=olcDbCheckpoint Jun 25 16:43:39 c004503 slapd[3058]: [ID 699942 local4.debug] No structuralObjectClass for entry (olcDatabase={2}hdb,cn=config) Jun 25 16:43:39 c004503 slapd[3058]: [ID 588225 local4.debug] conn=5515 op=1 RESULT tag=103 err=80 text= Jun 25 16:43:39 c004503 slapd[3058]: [ID 218904 local4.debug] conn=5515 op=2 UNBIND Jun 25 16:43:39 c004503 slapd[3058]: [ID 952275 local4.debug] conn=5515 fd=19 closed
Questions =========
- Has anyone come across this behaviour ? - Any hints / suggestions / tips ?
Thanks
Christoph
openldap.lists@frei-family.ch wrote:
haven't found a solution in Mailing list archive and fix-lists of 2.3.35/2.3.36
Environment
- OpenLDAP 2.3.34 on Solaris 8 with BDB 4.5.20.NC-p2
- current status (retrieved using ldapsearch -x -D
"cn=manager,cn=config" -w password -H "ldap://hostname:port" -b "cn=config"):
Questions
- Has anyone come across this behaviour ?
- Any hints / suggestions / tips ?
No idea, but it works perfectly for me on 2.3.36.
Hi all,
we've restarted OpenLDAP and the problem went away.
Thanks for the answers anyway
Christoph
openldap-software@openldap.org