Symptom
Mac OS X Server Setup Assistant does not complete after installing the Mac OS X Server 10.2 package (MacOSXServerInstall.mpkg).
Solution
This issue is resolved in Mac OS X Server 10.2.3 or later. See technical document 107265, "
Mac OS X Server: About the Mac OS X Server 10.2.3 Update".
The following workaround may be used when installing an earlier version.
You may resolve this issue by changing user ID (UID) numbers. Follow these steps:
1. Start up the computer in single-user mode. If you need help, see technical document 106388, "Mac OS X: How to Start Up in Single-User or Verbose Mode".
2. Gain write access by typing this command:
mount -w /
3. Press Return. An admin user exists with a UID of either 501 or 502.
4. Use the following commands to find the Admin user, pressing Return after each command:
nicl -raw /var/db/netinfo/local.nidb -read /name=users/uid=501
nicl -raw /var/db/netinfo/local.nidb -read /name=users/uid=502
One of these will return a user record for the Admin user. You must now cycle through the UIDs in the 50x range to find an available UID.
5. Entering the following command:
nicl -raw /var/db/netinfo/local.nidb -read /name=users/uid=503
If the text "read: Invalid Path" is returned, skip to Step 7.
6. Increment the number at the end of the command by one until the text "read: Invalid Path" is returned (504, 505, 506, and so forth).
7. Change the UID of the Admin user to the available UID by entering the following command:
nicl -raw /var/db/netinfo/local.nidb -create /users/yyy uid xxx
Note: When typing, you would replace "yyy" the actual value of "name:" in the user record for the Admin user, and "xxx" with the available UID that you found previously.
8. Type: exit then press Return
The computer starts up and the Setup Assistant appears.
9. Create a new Admin user in the Setup Assistant.
Note: After completing the Setup Assistant and restarting the computer, you can use the Workgroup Manager application to change the UID of your newly-created Admin user to something else, then change the UID of your original admin user back to 501 or 502, if desired.