Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-28-2009, 03:15 AM
Advanced Member
 
Posts: 196
Default ldap export/import?

Dear All,

i'm following article from : Exporting and Importing Zimbra LDAP Data » Zimbra :: Blog for export/import LDAP data.

my environment is :
192.168.1.17 mailz.xxx.com (active , 5.0.18 oss)
192.168.1.188 mailz.xxx.com (testing, 5.0.18 oss , newly install)

and encounter some problems below:

1. when i dump LDAP data from active server, i got this warning message:
Code:
$ openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
The first database does not allow slapcat; using the first available one (2)
2. when removing openlda-data/* , i got this warning message:

Code:
$ rm -f openldap-data/*
rm: cannot remove `openldap-data/db': Is a directory
rm: cannot remove `openldap-data/logs': Is a directory
(should I remove openldap-data/db/* and openlda-data/logs/* ???)

3. when importing to "testing server" , i got this message:

Code:
$ openldap/sbin/slapadd -f /opt/zimbra/conf/slapd.conf -l /root/ldap.ldif 
The first database does not allow slapadd; using the first available one (2)
bdb_db_open: Warning - No DB_CONFIG file found in directory /opt/zimbra/openldap-data: (2)
Expect poor performance for suffix .
any advice on this?
Thanks
Reply With Quote
  #2 (permalink)  
Old 11-06-2009, 04:16 PM
Moderator
 
Posts: 778
Default

rm will refuse to delete directories unless you use the -R option. That post appears to be rather old, probably from the 4.5.x release, 5.0.x has a few directories within the data directory.

As for the errors I can't provide too much help there sorry
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0