I was making backup server for my production zimbra server with the help of
Scripts to sync to a remote Zimbra backup machine - Zimbra :: Wiki
I installed a new server for backup and given name backup.xxxxxx.com and my original server name is mail.xxxxxxx.com. newly server was working fine.
I go through all the steps given in above link and export my LDAP to a file e.g. on my production server.
After that I import the data in newly installed server with below commands.
openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -b "" -l /tmp/zimbra-ldap.ldif
Now when I start the zimbra server I got LDAP error e.g.
rm -f openldap-data/*
openldap/sbin/slapadd -f /opt/zimbra/conf/slapd.conf -b "" -l /tmp/zimbra-ldap.ldif
where is the problem??
zimbra@backup:~/bin> zmcontrol start
Failed to start slapd. Attempting debug start to determine error.
backend_startup_one: bi_db_open failed! (-1)