Link to home
Start Free TrialLog in
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????
ASKER CERTIFIED SOLUTION
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Muhajreen
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.
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"
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
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.