Migrating from Directory Server 4.2 to 5.2 using LDIF file

We are experiencing problem migrating 4.2 LDAP Data to 5.2 using LDIF format. we export the data using "db2ldif" in 4.2 server. export the ldif file to new server where sun 5.2 DS is installed. edit the LDIF file to change the server ID. When try to import using "ldif2db" on 5.2 server, I am getting the following error.

[10/Jul/2006:09:05:57 -0400] - DEBUG - conn=-1 op=-1 msgId=-1 - ERROR 2: There is no backend instance to import to. But the server is running.

Thanks for the help,

Satya

[516 byte] By [csatyam] at [2007-11-26 8:35:09]
# 1
Before you import your data, you need create root suffix in your 5.2 installation, by default this suffix will be called userRoot. So when you ran ldif2db, you have to use: ldif2db -n userRoot -i yourfile
sun_iplanet at 2007-7-6 22:03:46 > top of Java-index,Web & Directory Servers,Directory Servers...