Cen92

Q: Keychain login cannot be found to store session token

Hi,

 

A couple of days ago I started getting errors with my Keychain.

 

I have tried a couple of solutions on the web such as verifying and repairing my keychain but it seems to keep getting corrupted.

I have also run Disk Utilities and verified the disk to no joy.

The only application I have installed since the errors started appearing was a "Pixelmator" trial. I have since deleted the App but the errors are still appearing.

 

They are appearing when I open app's such as Chrome and Safari.

 

Deleting login.keychain, logging out/in it prompts me for my iMessage and Facetime password on logging back in but I still get the errors.

 

I have also tried to restore my Keychain from a TimeMachine backup from last week but it has since been corrupted again.

 

Please find attached screenshot.Screen Shot 2013-09-30 at 13.35.09.png

MacBook Pro, OS X Mountain Lion (10.8.5)

Posted on Sep 30, 2013 5:51 AM

Close

Q: Keychain login cannot be found to store session token

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,Helpful

    Linc Davis Linc Davis Sep 30, 2013 8:03 PM in response to Cen92
    Level 10 (207,936 points)
    Applications
    Sep 30, 2013 8:03 PM in response to Cen92

    At some point, you reset your keychain to default in Keychain Access. That caused your login keychain to be renamed.
    Back up all data.
      
    In Keychain Access, delete the login keychain from the keychain list. Choose Delete References when prompted, not Delete References & Files.
      
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard (command-C):
    ~/Library/Keychains
      
    In the Finder, select
      
    Go ▹ Go to Folder...
      
    from the menu bar, paste into the box that opens (command-V), and press return. A folder will open. Rename the file "login.keychain" in that folder to something like "login-old.keychain". Rename the file "login-renamed.keychain" to "login.keychain".
     
    Back in Keychain Access, select
      
    File Add Keychain...
      
    from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file you named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred.

  • by Cen92,

    Cen92 Cen92 Oct 1, 2013 2:27 AM in response to Linc Davis
    Level 1 (2 points)
    Oct 1, 2013 2:27 AM in response to Linc Davis

    Hi Linc,

     

    I had followed the above steps from another answer on a thread I found after some Googling but the problem still persists.

     

    My Login keychain keeps disappearing...

     

    I had not recieved any error since repairing(creating a new login.keychain) logging in/out. But after closing the shell of my laptop, with an app which uses login.keychain (Spotify), on reopening I recieved the below error.

     

    Please see the below error from Spotify after re-opening & unlocking my laptop.

     

    As in the below screenshot you can see the files that are in /System/Library/Keychains/

     

    It seems that my Keychain folder in /username/Library/ is being deleted for some reason.

     

    If you have any other tips/tricks to stop this from happening that would be brilliant!

     

    Screen Shot 2013-10-01 at 10.17.38.png

     

     

    EDIT: Just now I tried to follow your steps above and as soon as I copied my login.keychain and tried to paste( To make the login.old.keychain file) The folder had been deleted!!

     

    Message was edited by: Cen92

  • by Linc Davis,

    Linc Davis Linc Davis Oct 1, 2013 8:22 AM in response to Cen92
    Level 10 (207,936 points)
    Applications
    Oct 1, 2013 8:22 AM in response to Cen92

    That's not the right folder. Please follow the directions exactly. Don't do something else that you think will have the same effect.

  • by leitandchoco,

    leitandchoco leitandchoco Dec 25, 2013 2:24 AM in response to Linc Davis
    Level 1 (0 points)
    Dec 25, 2013 2:24 AM in response to Linc Davis

    Thank you so much, seems like I did fix my issues by following those steps, now I am able to login as I used to even to my facetime messages, etc, etc...

     

    Thank you again...

  • by gld,

    gld gld Jan 4, 2014 7:16 AM in response to Linc Davis
    Level 1 (0 points)
    Jan 4, 2014 7:16 AM in response to Linc Davis

    Hi Linc, I'm also having the same problems. I followed your steps here however when I add the login.keychain back into Keychain Access, it doesn't show up in the Keychains list. In the Keychains list I only see the following Keychains: "Local items", "System", "System Roots". Do I have a permissions issue which prevents it being added?

  • by gld,

    gld gld Jan 4, 2014 7:33 AM in response to gld
    Level 1 (0 points)
    Jan 4, 2014 7:33 AM in response to gld

    Turns out a reboot fixed it. Some kind of glitch I guess?

  • by Smithiesmith,

    Smithiesmith Smithiesmith Feb 13, 2014 10:15 AM in response to Linc Davis
    Level 1 (0 points)
    Feb 13, 2014 10:15 AM in response to Linc Davis

    this sorted my issue out at long last. Many thanks

  • by Paul.Karroum,

    Paul.Karroum Paul.Karroum Feb 16, 2014 10:58 AM in response to Cen92
    Level 1 (0 points)
    Feb 16, 2014 10:58 AM in response to Cen92

    Hey sorry for resurecting these post. I am at the step to find the folder in ~/Library/Keychains however the folder doesn't exist. I went to just library and searched too but could not find the folder. My laptop was working perfectly fine about two hours ago and now this happened. I don't know what happened.

  • by baltwo,

    baltwo baltwo Feb 16, 2014 5:52 PM in response to Paul.Karroum
    Level 9 (62,256 points)
    Feb 16, 2014 5:52 PM in response to Paul.Karroum

    Make sure you're lookng in the right place. Full path is /boot volume/Users/current user/Library/Keychains/.

  • by snehalm,

    snehalm snehalm Feb 25, 2014 11:10 AM in response to Linc Davis
    Level 1 (0 points)
    Feb 25, 2014 11:10 AM in response to Linc Davis

    Perfect!

  • by svenaerts228,

    svenaerts228 svenaerts228 Mar 27, 2014 6:55 PM in response to Linc Davis
    Level 1 (0 points)
    Mar 27, 2014 6:55 PM in response to Linc Davis

    cf your "Rename the file "login.keychain" in that folder to something like "login-old.keychain". Rename the file "login-renamed.keychain" to "login.keychain"."

     

    Sounds you ask me to hit "return" while on the file "login.keychain", rename it to "login-old.keychain" and then to rename it back to "login.keychain" ? Or do you want us to duplicate the file, and rename one to "login-old.keychain"?

     

    Thy

  • by svenaerts228,

    svenaerts228 svenaerts228 Mar 27, 2014 7:44 PM in response to Linc Davis
    Level 1 (0 points)
    Mar 27, 2014 7:44 PM in response to Linc Davis

    In the application Keychain, when I click on File/Add Keychain, and select the

    "login.keychain" and the "login-old.keychain", they won't appear in the keychain named "login".

    This "login" keychain is completely empty. Is that normal?

    PS

    I've unlocked the keychain named "login" and "system".

     

    Thy

  • by cuti_95,

    cuti_95 cuti_95 Apr 3, 2014 2:29 AM in response to Linc Davis
    Level 1 (0 points)
    Apr 3, 2014 2:29 AM in response to Linc Davis

    Hi Linc,

     

    I have the same problem as Cen92 , most ly in safari. ( in fact I have numerous problems since got the Maverick on , keychain is just one). I followed your instruct but stuck at the folder link:

     

    in the user/library/keychains I only found these files:

    1. apsd.keychain
    2. System.keychain
    3. System.keychain-orig
    4. System.keychain.2001-01-01.13/00/35
    5. System.keychain.2009-06-14.06/58/05

     

    So I am not sure where to go next:

     

    Any suggestion?

     

    Thanks

    Levan

     

    My Mbp is mid2009, 2.24GHz, RAM 4GHz

  • by baltwo,

    baltwo baltwo Apr 3, 2014 12:52 PM in response to cuti_95
    Level 9 (62,256 points)
    Apr 3, 2014 12:52 PM in response to cuti_95

    Check in  each /Users/username/Library/Keychains/.

Page 1 Next