- Red Hat Enterprise Linux (RHEL) 4.8 - x86_64
- Red Hat Directory Server (RHDS) 7.1 and 8.2
A Red Hat Directory Server version 7.1 is migrated to version 8.2, and starting the new migrated instance fails with the error "Failed to initialize uniqueid generator".
Follow the instructions in the Installaiton guide at:
If applicable, use the option --cross with the script /usr/sbin/migrate-ds-admin.pl
The exact platform for the older system and the newer system were not indicated in this issue, it was about a cross platform migration, and the option --cross was not used with the script /usr/sbin/migrate-ds-admin.pl
The original steps were like:
/opt/redhat-ds/stop-admin /opt/redhat-ds/slapd-someInstanceId/stop-slapd yum install redhat-ds yum install java-1.6.0-openjdk /usr/sbin/alternatives --config java /usr/sbin/migrate-ds-admin.pl --oldsroot /opt/redhat-ds/ General.ConfigDirectoryAdminPwd=admin
And the results were like:
Beginning migration of Directory and Administration servers from /opt/redhat-ds . . . Beginning migration of directory server instances in /opt/redhat-ds . . . Your new DS instance 'slapd-someInstanceId' was successfully created. Server failed to start !!! Please check errors log for problems Could not start the directory server using command '/usr/lib64/dirsrv/slapd-someInstanceId/start-slapd'. The last line from the error log was '[04/Aug/2010:17:25:13 -0700] - Fatal Error---Failed to initialize uniqueid generator; error = 13. Exiting now. '. Error: Unknown error 256 Exiting . . .
Always indicate the exact plateform we are migrating from and to.
Always follow the documentation steps.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.