This question already has an answer here:
Everytime I start my MacBook Pro (which is set to automatically boot into my account) I get the error message "unable to unlock login keychain" with 3 options - continue (which will give me errors as I use my computer whenever I need the login keychain) create new keychain (I know this creates a new keychain, but does it copy all my keys? Or are they lost now?) or Update keychain password.
I've used the password which I think should work, but it doesn't. Now my machine auto logs in, and I get the error, and at the moment I'm clicking continue.
I've tried using keychain repair, which finds no errors.
Please: How should I trouble shoot my keychain errors? How do I fix my keychain errors? Is there any way to keep all my old passwords, or have I lost those?