Sometimes the import-svc-cfg subcommand fails because OpenSSO Enterprise cannot delete nodes in the Service Manager data store. The following scenarios can cause this problem:
Configure OpenSSO Enterprise using a remote Sun Java System Directory Server as the configuration data store.
Export the service XML file by using the ssoadm export-svc-cfg command.
Re-import the service XML data obtained in Step 2 using the ssoadm import-svc-cfg command.
When you are asked to delete the existing data, choose yes.
The following error message is returned: Unexpected LDAP exception occurred.
Workaround. Re-execute the ssoadm import-svc-cfg command until it succeeds.