Quote:
Originally Posted by phoenix |
Thank's Bill,
I've already follow the instructions from zimbrablog about exporting ldap accounts, and finished up without problem. But when I tried to start zimbra service or see service's status I get some error messages.
This is instructions:
Zimbra’s LDAP Wiki Page:
LDAP - Zimbra :: Wiki
Introduction To LDAP:
ldapman.org - Introduction to LDAP
Special Thanks to Carlos from the Zimbra Forums!
Tree Picture Credit: Guerito from Flickr –
Winter Tree on Flickr - Photo Sharing!
UPDATE for 6.0:
To dump on the 32-bit:
/opt/zimbra/libexec/zmslapcat /backup
Which is essentially running ${zimbra_home}/openldap/sbin/slapcat -F ${zimbra_home}/data/ldap/config -b “” -l $DEST/ldap.bak.${D}
To import on the 64-bit:
- rm -rf /opt/zimbra/data/ldap/hdb/*
- If this is an ldap master with replicas: rm -rf /opt/zimbra/data/ldap/accesslog/*
- mkdir -p /opt/zimbra/data/ldap/hdb/db /opt/zimbra/data/ldap/hdb/logs
- If this is an ldap master with replicas: mkdir -p /opt/zimbra/data/ldap/accesslog/db /opt/zimbra/data/accesslog/logs
- Copy the file /opt/zimbra/data/ldap/hdb/db/DB_CONFIG from the 32-bit server to /opt/zimbra/data/ldap/hdb/db on the 64-bit server. Note: If this file does not exist, or is empty, creating it may improve performance.
- Type chown -R zimbra:zimbra /opt/zimbra/data/ldap
- Copy from the 32-bit server to the 64-bit server the /backup/ldap.bak file.
- Type /opt/zimbra/openldap/sbin/slapadd -q -b “” -F /opt/zimbra/data/ldap/config -cv -l /backup/ldap.bak.
And this is error messages when I tried to start zimbra service's
[zimbra@mail ~]$ zmcontrol start
Host mail.lerindro.com
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (-1)
I think the problem with ldap password or some parameters (suffix) but i don't know how fixed the problem..
Confused...