Results 1 to 2 of 2

Thread: ldap export/import?

  1. #1
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    6

    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

  2. #2
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 12:16 PM

Posting Permissions

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