I have an openldap server using libdb-4.5, but somehow my OS had db-utils for 4.8 and I guess I run the wrong commands as I now get the following error when starting the server. Is there a way to "downgrade" to 4.5 ?
Unacceptable log file /var/lib/ldap/log.0000000001: unsupported log version 16
Thank you Markus
--On Monday, August 25, 2014 9:15 PM +0100 Markus Moeller huaraz@moeller.plus.com wrote:
I have an openldap server using libdb-4.5, but somehow my OS had db-utils for 4.8 and I guess I run the wrong commands as I now get the following error when starting the server. Is there a way to "downgrade" to 4.5 ?
Unacceptable log file /var/lib/ldap/log.0000000001: unsupported log version 16
You can rebuild openldap against libdb 4.5... Better solution is to export your db via slapcat from the old OpenLDAP, switch to using mdb, and then slapadd. assuming openldap 2.4.39
--Quanah
--
Quanah Gibson-Mount Server Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Hi Quanah,
I use Opensuse's native package which is build against db-4.5 and wouldn't like to rebuild with 4.8 as it will break when I patch the system the next time.
I my have have used after a crash db_recover from 4.8 as this is Opensuse's default db-utils package :-(. Could this make the file unusable for db-4.5 ?
Thank you Markus
"Quanah Gibson-Mount" wrote in message news:8768EB2149EF8C8C155CF1AE@[192.168.1.2]...
--On Monday, August 25, 2014 9:15 PM +0100 Markus Moeller huaraz@moeller.plus.com wrote:
I have an openldap server using libdb-4.5, but somehow my OS had db-utils for 4.8 and I guess I run the wrong commands as I now get the following error when starting the server. Is there a way to "downgrade" to 4.5 ?
Unacceptable log file /var/lib/ldap/log.0000000001: unsupported log version 16
You can rebuild openldap against libdb 4.5... Better solution is to export your db via slapcat from the old OpenLDAP, switch to using mdb, and then slapadd. assuming openldap 2.4.39
--Quanah
--
Quanah Gibson-Mount Server Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Markus Moeller wrote:
I have an openldap server using libdb-4.5, but somehow my OS had db-utils for 4.8 and I guess I run the wrong commands as I now get the following error when starting the server. Is there a way to "downgrade" to 4.5 ?
Your question has practically nothing to do with OpenLDAP and everything to do with BerkeleyDB. The answer is in the BerkeleyDB docs, you should read them.
Run db_recover; it will delete the transaction log files when it completes.
Unacceptable log file /var/lib/ldap/log.0000000001: unsupported log version 16
If you db_dump your database, you'll know its version; if you "ldd slapd" you know what DB it will use. I don't know what you did to build this scenario.
"Markus Moeller" huaraz@moeller.plus.com schrieb am 25.08.2014 um 21:15 in
Nachricht ltg216$61d$1@ger.gmane.org:
I have an openldap server using libdb-4.5, but somehow my OS had db-utils for 4.8 and I guess I run the wrong commands as I now get the following error when starting the server. Is there a way to "downgrade" to 4.5 ?
Unacceptable log file /var/lib/ldap/log.0000000001: unsupported log version 16
Thank you Markus
openldap-technical@openldap.org