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

Re: (ITS#4400) open ldap not started

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 14 February 2006 10:28, vivek.vets@gmail.com wrote:
> Full_Name: Vivek Vets
> Version: 2.2.13
> OS: Fedora Core 3
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> I'm having Fedora Core 3.
> I'm trying to install OpenLDAP server 2.2.13 on the same.
> I get following error when I start ldap server using #slapd -d 1
> --------------------------Error Message------------------
> bdb_db_open: dbenv_open(/var/lib/ldap)
> bdb(dc=3Dxero,dc=3Dorg): PANIC: fatal region error detected; run recovery
> bdb_db_open: dbenv_open failed: DB_RUNRECOVERY: Fatal error, run database
> recovery (-30978)
> backend_startup: bi_db_open(0) failed! (-30978)
> slapd shutdown: initiated
> =3D=3D=3D=3D> bdb_cache_release_all
> slapd shutdown: freeing system resources.
> bdb(dc=3Dxero,dc=3Dorg): txn_checkpoint interface requires an environment
> configured for the transaction subsystem
> bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
> slapd stopped.
> connections_destroy: nothing to destroy.
> -----------------------Error Message------------------------
> Please help me understanding where am I missing.

Most likely slapd was shutdown uncleanly, and database recovery was not run=
before slapd was started.

I note that:
1)This is not a bug in OpenLDAP, it may however be an omission in the=20
packaging of the software (consulting your vendor would be more appropriate=
but may or may not produce results in your case).
2)Current versions of OpenLDAP do database recover during startup.

Please use an alternative means for acquiring support, such as the=20
OpenLDAP-software mailing list.

# db_recover -h /var/lib/ldap
# chown -R ldap:ldap /var/lib/ldap

will most likely fix your problem.

Buchan Milne
ISP Systems Specialist

Content-Type: application/pgp-signature

Version: GnuPG v1.4.2 (GNU/Linux)