You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Cannot login after Lion Update

After completing the Lion update, I attempted to login into my primary account. After getting the spinny for a while in the password box, the screen turned grey with a "faded" login photo for my account, then went completely grey, then I was returned to the login screen.


Fortunately I have a separate account on my machine and have been able to log in with that account.


Both of these accounts are FileVaulted. The administrative aspects of this primary account still seem functional, since I'm able to do things like (once I'm logged into the secondary account) open Software Update. I can also ssh into my primary account. But If I try to User-Switch using the user-switching menu in the upper-right corner of the screen to my primary account, I see very similar behavior. I get a grey screen, followed by a flash of the standard spiral-galaxy background, followed by a grey screen and a return to the login screen.


It seems like trying to go through one of the initialization steps on my primary account is failing.


Obviously, I'm pretty disappointed with this outcome. Anyone else seeing anything like this? Any pointers on how to further diagnose?

MacBook, Mac OS X (10.7)

Posted on Jul 21, 2011 2:08 AM

Reply
10 replies

Jul 21, 2011 5:13 AM in response to jrosenblum

As a further update, there appear to be these messages in Console around the time of every failed login attempt:


7/21/11 5:11:00.239 AM com.apple.launchd.peruser.502: ([0x0-0x3f03f].com.apple.iTunesHelper[1203]) Exited: Killed: 9

7/21/11 5:11:00.243 AM com.apple.launchd.peruser.502: ([0x0-0x53053].com.apple.AppleSpell[1311]) Exited: Killed: 9

7/21/11 5:11:00.254 AM com.apple.launchd.peruser.502: (com.apple.mdworker.pool.0[2890]) Exited: Terminated: 15

7/21/11 5:11:00.259 AM com.apple.launchd.peruser.502: (com.apple.talagent[1115]) Exited: Killed: 9

7/21/11 5:14:05.191 AM com.apple.launchd.peruser.502: (com.apple.quicklook.32bit) Unknown key for boolean: DisallowDataExecute

7/21/11 5:14:05.191 AM com.apple.launchd.peruser.502: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self

Jul 22, 2011 6:55 AM in response to jrosenblum

As an update, an Apple Senior Advisor called me yesterday. While he was very patient and helpful, we were unable to make meaningful progress.


As a further update, I tried to restore my machine using TimeMachine to a backup of 10.6.8 just before the install, and now that restored system will not boot (hangs on the Apple-logo-grey-background-spinning-gear forever). See Unable to restore to 10.6.8 after upgrade to Lion .


Now I'm very concerned. If I cannot restore my system to a backup, then I've done everything that Apple has asked before doing an upgrade and have a brick and a backup that isn't really a backup.

Jul 22, 2011 12:44 PM in response to jrosenblum

From MacRumors Forums. Sounds like a similar-enough issue to give this a try (http://forums.macrumors.com/showthread.php?t=1191239):


I got the answer here


Ok step 1


Boot your mac with Option + R holding it will boot into recovery mode

Step 2 go into disk util and take terminal


write resetpassword


Choose root and put a password to log on root


Reboot the mac and log in as root and root password that you've done


Go in System Preference then users and group


Create a new account with the SAME NAME and SAME PASSWORD as your old account and put it as an administrator



When you accept it will say that in MacHD you already have an account with the same name do you want to use THAT folder


You say YES it will take 3 mnutes about.


Then log off and your account will be there, select it and put the password


It will log and all your files will be there.


That is what i done and it worked, my desktop docs and itunes is all there


And for the time i took


They refunded my Lion purchase and will send me a 50$ itunes store card 😝


Gotta love it hehe



Sorry for the bad english User uploaded file


Message was edited by: michaelfromeagle

May 25, 2012 5:24 AM in response to jrosenblum

This was exactly my problem too, after upgrading to Lion. I originally solved it by booting in recovery mode, renaming my library folder (not deleting so as to keep backup of all prefences and app data) and logging back in. Followed by 4-5 hours reconstructing my account, from the Library backup. Even then, only about 80% of original account config, but at least I was up and running. For about 1 month...


This morning I restarted (not for the first time, since restoring my account) and guess what... yes AGAIN! To say I'm angry is an understatement.


Same symptoms as noted by jrosenblum. I can ssh, but otherwise always grey for a couple of secs, before switching back to login screen. The suggested solution I'd already tried. That is for when lion has "lost" your account. In our case, the account is there, as proved by ssh. Hence you can't even do the above mentioned, osx won't let you because the "account name already exists". It's IMPOSSIBLE to enter SAME NAME / PASSWORD.


In contrast to jrosenblum what I see in the console is a loginwindow crash. Every time. And always KERN_INVALID_ADDRESS at 0x000000000000001c


Googling that confirms my suspicion it's a driver problem but hasn't helped much beyond that. Most perplexing is that I can't even log in in safe mode.

May 25, 2012 7:17 AM in response to jrosenblum

Nailed it!!! (for me at least)


A couple of work colleagues have had the same problem; it turned out to be a wonky keychain! Man, man, man!!!


Solution was to rename the old Keychains folder, then I could login in. That was all! Then from KC Assitant open the old keychain, set it as default, and delete the new empty one created at log in. All my passwords and certs and keys restored.


Maybe because I often run a developmennt script for building apps, which adds and removes a keychain. Something must have got screwed up. Would explain why 3 of us here at work have had the problem, which otherwise doesn't seem to be too common.


Nevertheless... SL never had this difficulty. I don't like Lion.

Cannot login after Lion Update

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.