Page 1 of 1

Error 32: Process cannot access the file

Posted: Sun May 26, 2013 12:57 pm
by deepakjain2020
Hi All,

Windows services

When we are trying to start the server services, it is throwing error 32.
We deleted and created the server services again, but no success.


Application Services


When we are running it as an application services, it is running fine.


Error seems to be very simple, but we are unable to find out where exactly file is being used and which one.
Untitled.png
Untitled.png (4.67 KiB) Viewed 6412 times
Thanks in advance :)

Re: Error 32: Process cannot access the file

Posted: Mon May 27, 2013 3:02 am
by rmackenzie
You should check that no other TM1 instance (either application or Windows service) is trying to access the tm1s.log file that lives in the logging directory of the instance you are trying to start. Check the different tm1s.cfg files for conflicts - if no logging directory is specified then tm1s.log will live in the data directory.

Re: Error 32: Process cannot access the file

Posted: Mon May 27, 2013 10:11 pm
by Steve Rowe
It may also be a security issue with the account the service is running on? Not sure that the error messages are that accurate.

Re: Error 32: Process cannot access the file

Posted: Wed May 29, 2013 12:32 am
by deepakjain2020
Hi rmackenzie,

Thanks for your reply,
There is only one .cfg file on server. It used to run properly thru windows services, but all of a sudden started giving error 32.

Re: Error 32: Process cannot access the file

Posted: Wed May 29, 2013 12:41 am
by deepakjain2020
Hi Steve,

Thanks for response,
Previously it was running fine with same service account. So I feel there shouldn't be security issue with respect to service account.

Regards,
Deepak Jain

Re: Error 32: Process cannot access the file

Posted: Wed May 29, 2013 4:52 am
by macsir
Check to see whether there is any anti-virus or anti-spyware tool running on the Server, in particular if either tool has an 'On-Access' scanner.

Process Explorer shows you information about which files processes have opened or loaded.
· Download Process Explorer from the Microsoft site ( http://technet.microsoft.com/en-us/sysi ... 96653.aspx ) and run the program.
· Click the Find menu, and choose Find Handle or DLL...
· Type the file name (name of the file which is locked by some process.)
· After typing the search phrase, click the Search button
You should see the list of applications which are accessing the file.

Re: Error 32: Process cannot access the file

Posted: Fri May 31, 2013 9:53 am
by deepakjain2020
Hi Friends,

Still no success. Can someone pls help.

Regards,
DJ

Re: Error 32: Process cannot access the file

Posted: Sun Jun 02, 2013 2:18 pm
by PlanningDev
You can try some third party tools like Lock Hunter or Unlocker and run them against the logging directory to see if anything has a hold of the log file. Have you checked permissions to the data and logging directories as states by other users above?