Are you running the latest version? If not, update it, and see if it works. If you're running the latest version already, create another user account on the computer and see if it fails in there as well. If it does, you'll probably need to reinstall Safari. If not, its probably the Safari plist or caches located in your user library.