Avatar of Muhajreen
Muhajreen
 asked on

Exchange DB mounting issue

Hello experts,

I have an Exchange 2010 SP1 DB> Accidentally deleted log files (as many other people did).

I have googled for tens of solutions but no one worked.

I tried to move all the rest of log files to a new folder.
I tried eseutil /mh and found that it's in dirty shutdown mode.
When trying to eseutil /p it gives error 1032 that file is locked or in use
I have shutdown all exchange services and still the same.
I used a file locking explorer utility to see if any other process is locking the file, but didn't find any thing locking.

Any help????
Exchange

Avatar of undefined
Last Comment
Muhajreen

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Simon Butler (Sembee)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Muhajreen

ASKER
Thank you.

Ok I will disable all AV and exchange services and will reboot the server. Right now I am copying the deb file away to another server. I will update you shortly.
Muhajreen

ASKER
After doing all the needful, disabling all exchange services and AV services, and after rebooting the server, again getting the same error 1032 when I try to run eseutil.exe /p "mailbox file"
Seth Simmons

i would use handle to see what has the file open

run this from elevated command prompt and redirect the output to a file then you can open in notepad (or other text editor) and search for the database file name.  then you scroll up to where it shows the process that has the file open and go from there.  let us know what that process is if you can't determine how to resolve at that point

Handle
http://technet.microsoft.com/en-us/sysinternals/bb896655

you would basically do handle > c:\handle.txt
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Muhajreen

ASKER
While services were still disabled, I ran EMS as an administrator, and that solved the problem.

I didn't formerly use to run EMS as administrator to give it authority to perform commands. This was strange. And no online article mentioned that (at least those which I was googling)

Thank you all for your kind support.