Farmacy

Oct 17 2017

Exchange 2010 – Unable to mount Database

Last Modified: 2012-09-08

Hi, I have quite a problem on my hands and have been working on it for a few hours with no success. Firstly i dont have a recent enough backup, so i cannot restore. (i know, but there is nothing i can do about it now)

The machine went a bit screwy over the weekend and was stuck on a reboot screen when they came in this morning. Everything but exchange came right on a hard reboot.

The EMC tells me that Mailbox Database is dismounted. When trying to mount i get gives the error output below.

Mailbox Database
Failed
Error:
Couldn’t mount the database that you specified. Specified database: Mailbox Database; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)
. [Database: Mailbox Database, Server: SERVER.rapidspillrespo.loc al].

An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)
. [Database: Mailbox Database, Server: SERVER.rapidspillrespo.loc al]

An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)
. [Server: SERVER.rapidspillrespo.loc al]

MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)

After a whole lot of ggling i have:
Restarted the server again.
Restarted all Exchange services quite a few times in between tries.
run an ESEUTIL /r
ESEUTIL /p
eseutil /ml
checked that it is CLEAN Shutdown
deleted 216Gb of logs

but i still get the same -515 error.

Just sorted it out after a marathon session.

This is what i did:

Link- Virtual Helpme – Exchange 2010 Error: Unable to mount database
ran.
eseutil /mh C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb found State: Dirty Shutdown
ran. eseutil /p C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb and then re-ran eseutil /mh and found Clean Shutdown .
As a sidenote, if the database state is Clean Shutdown you can safely remove the logs. Then i cut all log files from
C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database
and pasted them elsewhere (for deletion later if all goes right.)

i attempted to re-mount and it still didn’t work.

i rebooted and found the error had now changed to ec=-528 when attempting to mount.

link- Experts Exchange – Cannot Mount Database in Exchange Server 2010 missing log file
I did a bit more digging on the interwebs and found that tmp.edb and e00tmp.log can be moved and recreated. So i cut and moved them, created blank .txt files and renamed them tmp.edb and e00tmp.log Tried to mount one more time and it hopped right on and outlook connected instantly.

Check your mailboxes to make sure everything is there, and go ahead and delete the log files if everything is as it should be.

There was probably a much more straight forward way, but this fixed it. Hope it helps someone else too. )

Overall: Level 1

I’ve requested that this question be closed as follows:

Accepted answer: 0 points for RichJS’s comment #a38338830

for the following reason:

After a lot of digging on the web and reading through pages and pages of info i put together different steps that eventually worked. since it was an urgent matter, i could not wait for more input and managed to find the solution myself.

Overall: Level 52

I guess i asked you all possible thing to move all files apart the .edb and also if the server was re-installed to get it to the same SP and then it did the trick. nothing different.

I guess i should be awarded points. but wont Object will leave to you to take the decision 🙂

Overall: Level 5

Check and Repair the database,
Check whether the database state is dirty or clean.
If database state is dirty you have to repair database first and it state is clean then you can go directly for mount the database.
May be database state is clean but some of log is creating issue, for that we have to check using chkdsk utility.

How to check the database:

Run eseutil /mh C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb

Look for the following in the output: State: Dirty Shutdown

2 Database is not properly shut down so it should be repiared first.

Before attempting any kind of repiar make sure you have backup of database.

To repairthe database, run the following command:

eseutil /p C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb

3 Re-run the database check from Run eseutil /mh C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb and if all goes well, you should see this somewhere in the output: State: Clean Shutdown

You can try mounting the database. If it mounts, you are good to go, if it doesn’t you have to check the logs:
Check and Repair the database logs

4 Check the exchange logs (don’t forget to specify E00 – the starting sequence for the logs)

eseutil /ml C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\E00

5 There will be a list of logs and depending on their state, you may get an error. (They should all say OK, if the logs are clean) Errors vary, but most likely it is a file corruption and needs a chkdsk to run.
if the database state is Clean Shutdown you can safely remove the logs.

Written by admin


Leave a Reply

Your email address will not be published. Required fields are marked *