Q: Corrupted user in 10.8 (server)
My main user on an iMac 2007 is somehow corrupted in 10.8. (server) All other users are fine.
Symptoms:
- Accountsd (a per user lauchd daemon) is crashing and revived every 10 seconds, see https://discussions.apple.com/message/19263049#19263049 Every other user has no problem.
- Some applications like iPhoto (click on Sharing in menu bar) and "Security & Privacy" control panel do not work/hang/beachball for only this user. see https://discussions.apple.com/message/19263052#19263052
- "Resetting home permissions and ACLs" (located in boot from recovery partition > utitlities > terminal > resetpassword) does not finish its work after a whole night for this user. For every other user it finishes in seconds
What i tried to fix it:
- "reset of home permissions and ACLs" did never finish / hangs with "working"
- everything disk utility offers from recovery partition like repair disk, and repairing disk permissions
- used DiskWarrior (rebuild, ok)
- used DriveGenius (ok)
- used TechTool Pro (no bad blocks)
- New library and rebuild library for iPhoto does not change a thing for this user
- fresh copy of iPhoto did not help (guessed that because only this user is in trouble)
Any hint how i can fix this user?
OS X Mountain Lion
Posted on Aug 16, 2012 3:52 AM
My previous post was correct. The problem is that "~/Library/Accounts/Accounts3.sqlite" does not exist for this account. Something must have gone wrong while upgrading to 10.8 which introduced this daemon.
On top of that the user immutable flag is set on ~/Library which prevents the creation of the missing file and directory:
ls -lOd ~/Library
drwx------@ 76 macmark staff uchg,hidden 2584 Jul 20 2011 /Users/macmark/Library
I changed the flag with
chflags nouchg ~/Library
Then opened the "Security & Privacy" system preferences pane and also used the "Share" menu in iPhoto to ensure the daemon creates its stuff there. And then i changed the flag back to normal with
chflags uchg ~/Library
And everything was fine, the Accounts directory was created, the database was created.
Posted on Aug 21, 2012 10:42 AM