Error while importing data

I have installed DS 5.2 sp4 on AIX 5.3. We have changed the structure of our DIT.

later i have exported the entries from the existing Server, made modifications to the ldif file and added it to the new server using ldapmodify -a.

Then i have colleced all the rejected entries,made the required corrections and then again added the entries that are rejected during the first time adding.. then i got the follwoing error

ERROR<33041> - Attribute Uniqueness Plugin - conn=15 op=2 msgId=3 - ADD result 19

When i checked the Sun Docs,it says sth with the corruption of database...and was asking to contact Sun representative....

actually before adding the entries from the rejectedfile, i have changed some indexes(deleted some of the indexes) and also enabled the uniqueness plugin after the first time import....

So does this error occured because of these changes i have made (Indexes and Uniqueness pluign enabling on uid)..

is it suggested to make all the indexes before importing data?Any help is regarded ..

[1067 byte] By [anandkaturia] at [2007-11-27 4:02:19]
# 1

I don't have an easy answer, but a few things come to mind that you might want to check:

(1) Did you delete any indexes which were related to the attribute (uid) you enabled uniqueness on?

(2) Did you delete any of the system indexes listed in the Admin guide table 10-1?

(3) If you deleted any of the default indexesin table 10-2, are you sure that they were not being used?

(4) Are you using Multi-Master Replication? (If so check the warnings in the docs)

(5) Do you know if you have any duplicate uids in your existing data or in the data you're adding?

You might try reverting your changes, rebuilding your indexes (see page 350 of the Admin Guide), and running the inserts anew.

I'm wondering why you both disabled the indexes (presumably to improve modify performance) and enabled the uid uniqueness plugin (which will probably cause a hit on modify performance). Modifies should be much less frequent than reads (unlike many relational databases), so you may not have enough modify activity to warrant fine tuning of it.

Good Luck,

-Scott-

Scott.R.Corzinea at 2007-7-12 9:07:02 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
i think you were right on point...I must have made a mistake in deleting some of the System attributes .....especially i made changes to the uid thing......Anyway now i have uninstalled the whole thing and installed it again...rather i must be careful from now...Regards
anandkaturia at 2007-7-12 9:07:02 > top of Java-index,Web & Directory Servers,Directory Servers...