Jochen
OK, we've seen this before. Standard post follows, let me know if you need any clarification. BTW, you can ignore the
/usr/sbin/lookupd": exited abnormally: since that happens all the time.
Where the system log shows "AuthorizationRef doesn't have a username" followed by "exiting to console ", the NetInfo database is corrupt. so we will need to give you a new one. This will involve re-creating the user accounts (don't worry, this doesn't take too long) but the
order in which they are created matters. I recommend you print this out in a largish mono-spaced font so you don't miss any spaces (or add extra ones). Note that case is important.
Start up in Single User Mode and type carefully:
/sbin/fsck -fy
Repeat the above until it says your disk is OK. Then:
/sbin/mount -uw /
cd /var/db/netinfo
mv local.nidb/ local.nidb.bad
ls -ln /Users
This last command will give you one line for each user, plus one for the "Shared" directory, which doesn't interest us. Each user will have a line like one of these:
<pre>
drwxr-xr-x 29 501 501 986 Jan 17 18:38 michaelc
drwxr-xr-x 14 520 20 476 Sep 10 2004 jdoe
</pre>The
second numeric field (501, 520) is the user ID (UID) and you need to list the uids against the
shortname s given in the final column. Make sure you get the name right for UID 501! Then continue with
reboot
When you restart, you should get the Setup Assistant, just as if it was a new machine. You will be prompted for all of your user information. Be careful to use the same short name as previously for user 501.
If there are any further users, these can be added,
in the order of their UIDs, i.e. 502, 503 …, using System Preferences > Accounts. Again, be careful to use the same shortname. If there are any gaps in the UID sequence 501, 502, … you will need to create dummy users to fill them. These can later be deleted.