Error 32: Process cannot access the file

Post Reply
deepakjain2020
Regular Participant
Posts: 152
Joined: Sat May 25, 2013 10:32 am
OLAP Product: TM1
Version: 9.5.2; 10.2.2
Excel Version: 2007

Error 32: Process cannot access the file

Post 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 6417 times
Thanks in advance :)
rmackenzie
MVP
Posts: 733
Joined: Wed May 14, 2008 11:06 pm

Re: Error 32: Process cannot access the file

Post 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.
Robin Mackenzie
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Error 32: Process cannot access the file

Post 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.
Technical Director
www.infocat.co.uk
deepakjain2020
Regular Participant
Posts: 152
Joined: Sat May 25, 2013 10:32 am
OLAP Product: TM1
Version: 9.5.2; 10.2.2
Excel Version: 2007

Re: Error 32: Process cannot access the file

Post 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.
deepakjain2020
Regular Participant
Posts: 152
Joined: Sat May 25, 2013 10:32 am
OLAP Product: TM1
Version: 9.5.2; 10.2.2
Excel Version: 2007

Re: Error 32: Process cannot access the file

Post 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
User avatar
macsir
MVP
Posts: 785
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: Error 32: Process cannot access the file

Post 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.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
deepakjain2020
Regular Participant
Posts: 152
Joined: Sat May 25, 2013 10:32 am
OLAP Product: TM1
Version: 9.5.2; 10.2.2
Excel Version: 2007

Re: Error 32: Process cannot access the file

Post by deepakjain2020 »

Hi Friends,

Still no success. Can someone pls help.

Regards,
DJ
PlanningDev
Community Contributor
Posts: 349
Joined: Tue Aug 17, 2010 6:31 am
OLAP Product: Planning Analytics
Version: 2.0.5
Excel Version: 2016

Re: Error 32: Process cannot access the file

Post 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?
Post Reply