Results 1 to 2 of 2

Thread: ldap export/import?

Hybrid View

  1. #1
    Join Date
    May 2008
    Rep Power

    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 : (active , 5.0.18 oss) (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:
    $ 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:

    $ 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:

    $ 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?

  2. #2
    Join Date
    Feb 2007
    Portland, OR
    Rep Power


    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

Similar Threads

  1. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  2. Replies: 3
    Last Post: 08-08-2008, 09:59 AM
  3. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. Replies: 4
    Last Post: 11-15-2006, 11:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts