[Date Prev][Date Next]
moving ldap database and upgrading
I am trying to move my ldap to a new machine to upgrade from
openldap2.2 to openldap2.3. I moved all of my config files and created
new certificates, but I am having difficulties. I am running on
Debian, and if I start slapd by /etc/init.d/slapd start, I get:
Starting OpenLDAP: slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).
Jul 18 08:08:01 maude slapd: main: TLS init def ctx failed: -1
Jul 18 08:08:01 maude slapd: slapd stopped.
Jul 18 08:08:01 maude slapd: connections_destroy: nothing to destroy.
If I then try to start slapd using slapd -d 16383, it seems to start
up fine, but can't read the database.
maude:/etc/ldap# ldapsearch -x "uid=maria"
<output truncated to what I think is the pertinent info>
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990)
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: err=32 matched="" text=""
send_ldap_response: msgid=2 tag=101 err=32
ber_flush: 14 bytes to sd 12
0000: 30 0c 02 01 02 65 07 0a 01 20 04 00 04 00 0....e... ....
# search result
result: 32 No such object
Any ideas, or any other troubleshooting to try?