The process cannot access the file because it is being used by another process
Problem reported by Pratik Jajal - September 21, 2016 at 10:36 AM
Submitted
Hello Support,
 
I have configured SpamAssasin Server with SmarterMail. I am receiving an error frequently that "[2016.09.21] 22:43:15 Unable to process Event Hook! Event: 10011 (SpamAssassinFailure), Guid: a404757505b242358cbd08a10d892ad0, Exception: System.IO.IOException: The process cannot access the file 'C:\Program Files\SmarterTools\SmarterMail\Service\eventHooks_temp.xml' because it is being used by another process."
 
Can you please assist me how to fix this error? 
 
If you wish, I can provide you detailed logs so that you can determine.
 
Awaiting for the quick solution.
 
Thanks,
Pratik Jajal

5 Replies

Reply to Thread
0
Pratik Jajal Replied
Hello SmarterMail Support Team,
 
Would you please assist for this query?
 
Awaiting for your quick response.
 
Thanks,
Pratik Jajal
0
Ed Welch Replied
Do you have anti-virus running on the server, and is it scanning that directory? It is possible for a file to be locked long enough while being virus-checked to create that error.
0
Pratik Jajal Replied
Hello Ed Welch,

We use TrendMicro for our server since we have started to work with the server. We are receiving this error since last 3-4 months. We haven't made any change in our Server then why we are getting this error?

Can you please provide me root cause for the same?

Awaiting for the expeditious response.

Thanks,
Pratik Jajal
0
Ed Welch Replied
I don't know if that is the problem on your server. However, there is a general issue of anti-virus products locking files that are re-written often - long enough to create issues. SmarterTools recommends excluding some directories from scanning. A quick search turned up this thread - part way down Bruce Barnes explains the exclusions: https://portal.smartertools.com/community/a18/account-passwords-disappear-missing.aspx
0
Pratik Jajal Replied
Hello Ed Welch,

Did you properly read the error message?

The error says that this file "eventHooks_temp.xml" is being used by another process.

If the Virus is locking the files then this issue should be persisting from the beginning.

It might happen that we had uninstalled the SpamAssassin and re-installed it and then after we are facing this issue.

Any solution please!

Thanks,
Pratik Jajal

Reply to Thread