Benches Mac desktops

15

Creating new login keychain

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

In deleting and reorganizing files the other day, I somehow deleted my keychain(s). I've attempted to verify and repair things using Keychain First Aid and am told "login keychain not found." Attempts to simply create a new keychain by this name or any other names brings about the message, "An error occurred while creating a new keychain."

I've scoured the topics here but have not been able to find instructions specific to this type of issue.

Any advice on how I can restore the login keychain or create a new one is greatly appreciated!

Many Thanks!

15 replies

Sign in or join Beachball Help to reply.

  1. 0

    MGW

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Do you by any chance have a backup?

    Try going to Library>Keychains and trash the Keychains folder, then reboot and a new keychain will be created.

    Please post back with results,

    User uploaded file

  2. 0

    Baby-Boomer-USofA

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    2 more suggestions:

    Deleting a keychain

    Changing your keychain password

    There are a few more suggestions over on Knowledge Base for you to try out if MGW's suggestion does not work -
    http://search.info.apple.com/

    User uploaded file

    User uploaded file

  3. 0

    Glen Maurer

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Miriam - no I don't have a backup. I've completed what you suggested. A new keychain has not been created to replace the one that was deleted from Library. Upon restarting, I had to point my wireless connection to the router and asked that the password be stored in my keychain. I then received the message "A keychain can not be found" and was asked to Cancel or Reset to Defaults. I've received that message a lot in working through this issue and once again chose Reset, but to no avail.

    I fired up Keychain First Aid and verification has failed with the same error message "login keychain not found" in ~/Library/Keychains (that's my user folder, right?) Can this be restored from the backup CDs that came with the machine?

  4. 0

    Glen Maurer

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Boomer - I did do what the first topic you noted suggests but the problem persists. The system seems to be looking for this login.keychain file which I can only assume was deleted from either the Library/keychain folder or the ~Users/Library/Keychain folder.

    I've tried your suggestion of searching Knowledge Base but can't seem to find anything in there that I haven't already tried.

  5. 0

    MGW

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Indeed it can, or you can perform a complete
    Archive and Install or you can first try the suggestions below:

    Login as root and perform repair In some cases, problems with keychains can only be resolved when logged in as the root user.

    First, enable a root user account, as detailed in Knowledge Base article #106290 (briefly: open NetInfo Manager, located in Applications/Utilities, click the lock and enter the administrator password, then select "Enable Root User" from the Security menu and follow on-screen instructions).

    After enabling the root user, and logging in under this account, again open Keychain Access. First attempt repairs using Keychain First Aid, and failing that, delete then recreate the keychain as described above while logged in as root.

    Please remember to log out as root user once you've finished dealing with Keychain.

    Hope one of these helps,

    User uploaded file

  6. 0

    Glen Maurer

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks Miriam for the further advice. Even when logged in as root user, I am still met with the message "An error occurred while creating a new keychain" when I try to create a new keychain. First Aid is still not able to find login.keychain thus it won't verify or repair - is that login.keychain a file that is crucial to the system, yet one we can't actually see or recreate on our own?

  7. 0

    MGW

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I think that the best solution for you would be to perform an
    Archive and Install. You will get a new keychain, and as long as "preserve user preferences and settings" is checked, there should be no problems, other than maybe one or two apps that need re-installing.

    Let us know how you make out, the A&I sounds daunting, but I have done it several times, and it's really painless.

    User uploaded file

  8. 0

    Glen Maurer

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Miriam,

    I've completed the A&I, created a new Keychain and made that my default. I am still having the same issues with Mail emembering my passwords (it won't) and Keychain First Aid still tells me it can not verify or repair because it can not find the login keychain. Any more ideas?

  9. 0

    MGW

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Try running
    Preferential Treatment to see if any of your prefs are corrupt, as that's what it sound like to me.

    User uploaded file

  10. 0

    Baby-Boomer-USofA

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You can also see if repairing permissions & restarting your computer helps. If not, boot from your Tiger System Install DVD & run the repair disk/permissions options from the Utility Menu.

    User uploaded file

  11. 0

    Glen Maurer

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Miriam - I've run Preferential Treatment and that found all to be as it should.

  12. 0

    Glen Maurer

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for the suggestion. I completed that task and apart from a couple of Itunes permission issues, everything checked out.

  13. 0

    MGW

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You are giving me more grey hairs than I should have 🙂

    I am rapidly running out of ides,, can you use [Pacifist|http://www.versiontracker.com/dyn/moreinfo/macosx/12743] and try to extract the Keychain from the install package and reinstall it?

    User uploaded file

  14. 0

    ranafreedman

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Glen, I am having the exact same issue as you. No one seems to be able to help. Did you ever resolve your issue? If so, how? Thanks!

  15. 0

    Baby-Boomer-USofA

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    ranafreedman

    User uploaded file
    User uploaded file
    User uploaded file
    User uploaded file

    You would do better posting in the
    G4 iBook Forums where the iBook users hang out.

    This area is for *G5 iMac* issues.

    User uploaded file