[Date Prev][Date Next]
Re: Problems using db4-utils on backend database files
"tamarin p" <email@example.com> writes:
> I'm currently attempting to use berkeley utils on the database files created
> by openldap, such as db_stat -m . However, I get nothing but an error message.
> I found this post in the archives, which seems to be the exact same problem:
> http://www.openldap.org/lists/openldap-software/200401/msg00540.html .
> However, I don't see a solution, just that I might be inadvertently using the
> wrong type of backend.Here's what I'm doing:
> tamarin# db_stat -m
> db_stat: Program version 4.3 doesn't match environment version
> db_stat: DB_ENV->open: DB_VERSION_MISMATCH: Database environment version
> tamarin# db_recover
> db_recover: Program version 4.3 doesn't match environment version
> As far as program versions go, I'm not very proficient with *NIX, so I've
> used yum installs for everything rather than attempt to compile things myself.
> IHere are the versions:
> - db4-utils-4.3.29-9.fc6 (db_stat etc)
> - openldap-servers-2.3.27-8
> - openldap-2.3.27-8
> I'm obviously going wrong somewhere, but where?
You must have more than one BerkeleyDB version installed, as
openldap-2.3.27 most likely has not been compiled with db-4.3, check
the db version slapd has been compiled with and install the apropriate
Dieter Klünter | Systemberatung
GPG Key ID:8EF7B6C6