A couple of days ago I started having problems with ClamXav Sentry (ClamXav version 2.3.6 with engine 0.97.8). Every time I closed my laptop--MacBook Pro running OS X 10.8.3--Sentry would crash saying that it couldn't find the scanning engine. I did some sleuthing through the logs and found that it crashed because another process was using clamd.socket...that process was clamd itself. I messed with my computer for a while and found out that clamd isn't terminating correctly. If I stop watching the folders from Sentry's drop down menu and then try to restart the watch I get the exact same error in the logs. I assume this is the exact same thing that is happening when I close my laptop.
I have uninstalled ClamXav and the engine, tried to reinstall them, and installed an older version; nothing has fixed this problem. I'm not sure what else I can do. If anyone has an idea of what could be the cause please let me know. Thank you in advance.