Repairing "Keychain cannot be found" error on Mac OS X Leopard

I installed an update to Adobe Flash player yesterday, and my applications started popping up error messages similar to 'A keychain "login" cannot be found to store "Safari"'.  The error would occur every minute or two, depending on what I was doing, interrupting my work and making me enter my password to dismiss it.

There is a description of a similar problem at Apple support site here: Mac OS X 10.5: Keychain cannot be found message after upgrade install

I tried fixing the problem by running the "Keychain Access" utility program, and doing Repair and Verify.  Verify told me that everything was OK, but I continued to get the error.  I would still assume that it is safe to try doing this first to see if it helps at all.

What worked for me was not exactly the fix described in the support article.  I shut down all applications, then moved ~/Library/Preferences/com.apple.keychainaccess.plist to a backup location someplace, then restarted the machine.  No more error messages.