On Friday, 25 May 2007, Craig wrote:
Hmm... it seems related:
It's a built-in copy of Berkeley DB shipped with the RH package (since the "system" version differs).
$ slapd_db_recover blah usage: db_recover [-ceVv] [-h home] [-P password] [-t [[CC]YY]MMDDhhmm[.SS]]
(I am assuming it is related because the useage line refers to "db_recover" and not "slapd_db_recover".)
However, they are not identical: $ ll /usr/bin/db_recover -r-xr-xr-x 1 root root 8704 Feb 21 2005 /usr/bin/db_recover $ ll /usr/sbin/slapd_db_recover -rwxr-xr-x 1 root root 8932 Aug 12 2006 /usr/sbin/slapd_db_recover
Obviously, the difference may be superficial.
Like the <sarcasm>trivial</sarcasm> thing of database/library major versions ....
But, I'd still like to know where the "slapd_db_*" apps come from.
BTW, I run CentOS 4.4 and the rpm came from the centos repo: http://isoredirect.centos.org/centos/4.4/os/i386/CentOS/RPMS/openldap-serve rs-2.2.13-6.4E.i386.rpm
$ rpm -qlp openldap-servers-2.2.13-6.4E.i386.rpm |grep slapd_db /usr/lib/libslapd_db-4.2.so /usr/lib/tls/i486/libslapd_db-4.2.so /usr/lib/tls/i586/libslapd_db-4.2.so /usr/lib/tls/i686/libslapd_db-4.2.so /usr/sbin/slapd_db_archive /usr/sbin/slapd_db_checkpoint /usr/sbin/slapd_db_deadlock /usr/sbin/slapd_db_dump /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
BTW, you may want to take a look at this:
http://anorien.warwick.ac.uk/mirrors/buchan/openldap/rhel4/
(unfortunately I don't currently have access to anorien ... so I haven't been able to make my 2.3.35 packages available yet).
Regards, Buchan