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

Re: (ITS#4400) open ldap not started



--nextPart8149075.TLvSEcJuoF
Content-Type: text/plain;
  charset="iso-8859-6"
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) (220.227.147.6)
>
>
> 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=
=20
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=
,=20
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.

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

will most likely fix your problem.

=2D-=20
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

--nextPart8149075.TLvSEcJuoF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBD8e7UrJK6UGDSBKcRAh89AKCUXPxR5IUeY668cWSR21jctm1WtACgrLTi
b4UUVBgcNttcTox0xI5WFNQ=
=UDZX
-----END PGP SIGNATURE-----

--nextPart8149075.TLvSEcJuoF--