Hi,
I just started to set up a test ldap server and followed some tutorials. One topic is the tuning/monitoring of the bdb.
So I installed the db4-utils and executed a "db_stat -h /var/lib/ldap/ -m".
The answere is no stat, but:
db_stat: Program version 4.3 doesn't match environment version db_stat: DB_ENV->open: DB_VERSION_MISMATCH: Database environment version mismatch
The systemsetup is a basic, fresh centos 5.4 isntallation. So why do I get this message?
db4-4.3.29-10.el5 db4-utils-4.3.29-10.el5 openldap-servers-2.3.43-3.el5
Thanks and best regrads,
Götz
Hi,
openldap-2.3.43 in centos 5.4 comes with db 4.4 build in ...
ldd /usr/sbin/slapd |grep db
libslapd_db-4.4.so => /usr/lib64/tls/libslapd_db-4.4.so (0x00002ab129590000)
and also ships his own db-utilities ...
/usr/sbin/slapd_db_archive /usr/sbin/slapd_db_checkpoint /usr/sbin/slapd_db_deadlock /usr/sbin/slapd_db_dump /usr/sbin/slapd_db_hotbackup /usr/sbin/slapd_db_load /usr/sbin/slapd_db_printlog /usr/sbin/slapd_db_recover /usr/sbin/slapd_db_stat /usr/sbin/slapd_db_upgrade /usr/sbin/slapd_db_verify
great ... :-|
Regards,
Götz