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 Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-2010, 04:02 AM
Intermediate Member
 
Posts: 20
Default Ldap Migration Error

Hi,
i Have this error when i am trying to migrate ldap db

[root@mail zimbra]# ./openldap/sbin/slapadd -F /opt/zimbra/data/ldap/config/ -l /tmp/ldap.ldif
The first database does not allow slapadd; using the first available one (2)
=> hdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already exists (-30995)
=> hdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
slapadd: could not add entry dn="cn=zimbra" (line=1): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
_ 0.44% eta none elapsed none spd 266.8 k/s
Closing DB...

Any Ideas?
Reply With Quote
  #2 (permalink)  
Old 12-29-2010, 04:09 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by Mido3mad View Post
Hi,
i Have this error when i am trying to migrate ldap db

[root@mail zimbra]# ./openldap/sbin/slapadd -F /opt/zimbra/data/ldap/config/ -l /tmp/ldap.ldif
The first database does not allow slapadd; using the first available one (2)
=> hdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already exists (-30995)
=> hdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
slapadd: could not add entry dn="cn=zimbra" (line=1): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
_ 0.44% eta none elapsed none spd 266.8 k/s
Closing DB...

Any Ideas?
Is this part of the moving your server to another server thread? This isn't a 'migration' question, it should have been added to the other thread. You're not actually giving any useful information about the circumstances under which this problem is happening, please expand your post about this problem.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 12-30-2010, 05:30 AM
Intermediate Member
 
Posts: 20
Default

i am using
Release 5.0.20 on RHEL4 FOSS edition
and i am trying to transfer ldap account and password to anther mail server with new domain
so i export ldap.ldif file and edit the file by changing the domain name for each user manually so when i am trying to import the file in new mail that error occured
Reply With Quote
  #4 (permalink)  
Old 12-30-2010, 05:51 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Your version information should go in your forum profile, put the output of the following command in theer (do not post the output in this thread):

Code:
zmcontrol -v
Quote:
Originally Posted by Mido3mad View Post
and i am trying to transfer ldap account and password to anther mail server with new domain
Why? Is it part of your other thread (as I asked you earlier)? Are both machines the same architecture?
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.