[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd couldn't start
- To: OpenLDAP-software@OpenLDAP.org
- Subject: slapd couldn't start
- From: Gazali <gazali@gmail.com>
- Date: Wed, 12 Oct 2005 22:33:13 +0800
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ehbItWNIExh792HlrfVEHVJbXWxFyhXahZjX7eOvO/llCjcme7dxrBKeWBvsEWKlegZOBpKroQ/3jvKs0DdUA1aAT81Yr8zVQn7v3zpuJyWHOQDYRK+A5xFB0mgX2qWi/+iuRXllnSOrbDMoNBFDoj5eIyS7qD3L11Awos3NH60=
Hi,all.
I'm using openldap2.2.20&Berkeley DB4.2.52 at RH7.3.It had worked
well some months,but now,something had happened.slapd couldn't start.
When I typed 'slapd -d 5',it showed:
--------------------------------------
slapd startup: initiated.
backend_startup: starting "o=testca"
bdb_db_open: o=testca
bdb_db_open: dbenv_open(/var/lib/ldap)
bdb(o=testca): Ignoring log file: /var/lib/ldap/log.0000000020: magic
number 0, not 40988
bdb(o=testca): DB_ENV->log_put: 20: Invalid argument
bdb_db_open: db_open(/var/lib/ldap) failed: Invalid argument (22)
backend_startup: bi_db_open failed! (22)
slapd shutdown: initiated
====> bdb_cache_release_all
slapd shutdown: freeing system resources.
bdb(o=testca): Ignoring log file: /var/lib/ldap/log.0000000020: magic
number 0, not 40988
bdb(o=testca): DB_ENV->log_put: 20: Invalid argument
bdb(o=testca): txn_checkpoint: failed to flush the buffer cache Invalid argument
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
bdb(o=testca): Database handles open during environment close
bdb(o=testca): Ignoring log file: /var/lib/ldap/log.0000000020: magic
number 0, not 40988
bdb(o=testca): DB_ENV->log_put: 20: Invalid argument
bdb_db_destroy: close failed: Invalid argument (22)
slapd stopped.
connections_destroy: nothing to destroy.
-------------------------------------------------------------
Is there something wrong with the DB? Can anyone tell me how to
fix it and let slapd start?
thank you.