Try this
/usr/local/openldap/sbin/slapcat -f slapd.conf -l /home/backup/output.ldif
-----Original Message-----
From: openldap-software-bounces+kumuthiny.srilakshmanan=auspost.com.au@OpenLDAP.org [mailto:openldap-software-bounces+kumuthiny.srilakshmanan=auspost.com.au@OpenLDAP.org] On Behalf Of Laura Iacob
Sent: Tuesday, 23 October 2007 12:34 AM
To: openldap-software@openldap.org
Subject: slapcat error

Hello there,
I need some assistance with an error generated while trying to perform a slapcat.
/usr/local/openldap/sbin/slapcat -d 1 -l /home/backup/output.ldif
slapcat init: initiated tool.
>>> dnNormalize: <cn=Subschema>
<<< dnNormalize: <cn=subschema>
Unrecognized database type (bdb)
database bdb initialization failed.
slapcat: bad configuration file!
The database which is currently available in the path as set-up in slapd.conf was recently copied(binary copy) from another machine in order to perform some tests on it.
slapd.conf has the exact configuration as on the the machine from which the database was copied....
However the openldap version seem to be different between the systems:
on the test machine : openldap-2.0.27-22
on the production machine: openldap-2.0.23-4
Can the difference between the two cause the error?

Thanks!

Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website.

The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged.  It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference.

If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.