This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

open /Library/Sophos Anti-Virus/Sophos.keychain: No such file or directory

Hi,

I uninstalled sophos quite some time ago. However today i noticed that Mail seems to try to be using it:

open /Library/Sophos Anti-Virus/Sophos.keychain: No such file or directory from com.apple.securityd

The keychain indeed does not exist. Any idea how to resolve this?

Regards,

   JP



This thread was automatically locked due to age.
Parents
  • Hi JP,

    The easy way is here: https://community.sophos.com/kb/zh-cn/122638

    Open Terminal and use the following command:

    sudo security delete-keychain "/Library/Sophos Anti-Virus/Sophos.keychain"

    While our software is removed, the keychain in OS X still has a reference, so when an application loads a keychain (Mail in this case), it checks all keychains, and fails to find Sophos. This command should tell the keychain (Called "security" in Terminal) to remove the reference.

Reply
  • Hi JP,

    The easy way is here: https://community.sophos.com/kb/zh-cn/122638

    Open Terminal and use the following command:

    sudo security delete-keychain "/Library/Sophos Anti-Virus/Sophos.keychain"

    While our software is removed, the keychain in OS X still has a reference, so when an application loads a keychain (Mail in this case), it checks all keychains, and fails to find Sophos. This command should tell the keychain (Called "security" in Terminal) to remove the reference.

Children
  • Already tried this before I opened the message:

    sudo security delete-keychain "/Library/Sophos Anti-Virus/Sophos.keychain"
    security: SecKeychainDelete: The specified keychain could not be found.

    But the problem persists.

  • Hi James. I have the same problem, although it's Time Machine (backupd) that wants access to the Sophos keychain. Sophos is already uninstalled, and the keychain item is successfully removed. I expect Sophos has installed somewhere deep in OS X a reference that causes Time Machine to want to open the Sophos keychain. I have issued the command you suggested and get the response that it doesn't exist.

    How can I tell OS X (actually MacOS Sierra) that there is no need for the Sophos keychain?

    Here are the relevant log records:

    default 17:09:22.069927 -0700 backupd DbOpen of /Library/Sophos Anti-Virus/Sophos.keychain
    default 17:09:22.070046 -0700 backupd open /Library/Sophos Anti-Virus/Sophos.keychain: No such file or directory
    default 17:09:22.070128 -0700 backupd CSSM Exception: -2147413737 CSSMERR_DL_DATASTORE_DOESNOT_EXIST
    default 17:09:22.070247 -0700 backupd CSSM Exception: -2147413737 CSSMERR_DL_DATASTORE_DOESNOT_EXIST
    default 17:09:22.070378 -0700 backupd CSSM Exception: -2147413737 CSSMERR_DL_DATASTORE_DOESNOT_EXIST
    default 17:09:22.070427 -0700 backupd dbBlobVersion() failed for a non-existent database
    default 17:09:22.070555 -0700 backupd DbOpen of /Library/Sophos Anti-Virus/Sophos.keychain
    default 17:09:22.070677 -0700 backupd open /Library/Sophos Anti-Virus/Sophos.keychain: No such file or directory
    default 17:09:22.070726 -0700 backupd CSSM Exception: -2147413737 CSSMERR_DL_DATASTORE_DOESNOT_EXIST
    default 17:09:22.070826 -0700 backupd CSSM Exception: -2147413737 CSSMERR_DL_DATASTORE_DOESNOT_EXIST
    default 17:09:22.070895 -0700 backupd CSSM Exception: -2147413737 CSSMERR_DL_DATASTORE_DOESNOT_EXIST
    default 17:09:27.565081 -0700 backupd 0x7f9574f1f8b0 free /Library/Keychains/System.keychain buffer 0x111f0a000