Hello All,
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.
Code:
openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -b "" -l /tmp/zimbra-ldap.ldif
After that I import the data in newly installed server with below commands.
Code:
rm -f openldap-data/*
openldap/sbin/slapadd -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.
Code:
zimbra@backup:~/bin> zmcontrol start
Host backup.deepakfasteners.com
Starting ldap...Done.
FAILED
Failed to start slapd. Attempting debug start to determine error.
backend_startup_one: bi_db_open failed! (-1) where is the problem??