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

problems starting ldap with txn_checkpoint directive



Hi,
   
  I just upgraded ldap from 2.2 to 2.3. 
  when i put 
  txn_checkpoint 128 15 0
in DB_CONFIG i get the following error when i try to start slapd
   
  [root@HOSTMASTER002 openldap-data]# /usr/local/libexec/slapd -d  256
@(#) $OpenLDAP: slapd 2.3.20 (May  8 2006 18:53:35) $
        root@HOSTMASTER002:/apps/ldapnew/openldap-2.3.20/servers/slapd

  daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
bdb_db_open: DB_CONFIG for suffix dc=local,dc=gov has changed.
Performing database recovery to activate new settings.
bdb(dc=local,dc=gov): unrecognized name-value pair: txn_checkpoint
bdb_db_open: Database cannot be recovered, err 22. Restore from backup!
bdb(dc=local,dc=gov): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem
bdb(dc=local,dc=gov): txn_checkpoint interface requires an environment configured for the transaction subsystem
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (22)
bdb_db_close: alock_close failed
slapd stopped.
connections_destroy: nothing to destroy.

   
   
  My slapd.conf looks  like this
  database        bdb
suffix          "dc=local,dc=gov"
rootdn          "cn=admin,dc=local,dc=gov"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          admin
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /usr/local/var/openldap-data
# Indices to maintain
index   objectClass     eq
sizelimit 10000
cachesize 5000

  if i remove txn_checkpoint from DB_CONFIG ldap start fine. Im not familiar with txn_checkpoint. Am i missing something in DB_CONFIG?
   
  Regards,
   
  Moe

		
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.