We help IT Professionals succeed at work.

unable to mount database back

tganus
tganus asked
on
Are server crashed and had to recover the C:/ drive to get it to boot again, now i am not able to mount the database in exchange 2010.  I have used eseutil /r e00 /a and gettings error -543 for missing log files.  I have moved all the backup log files back into the location and still not able to mount this or repair it.
Comment
Watch Question

Author

Commented:
The server didn't crash, it wouldn't boot to the desktop, found the store service was hanging it up from booting to desktop. So i set the store service to start delayed and i was able to boot to the desktop now, but this was after i restored the c: drive. the database is located on the D:

Author

Commented:
--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
Failed to mount database 'Mailbox Database 2011063010'.

Mailbox Database 2011063010
Failed
Error:
Couldn't mount the database that you specified. Specified database: Mailbox Database 2011063010; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-543)
. [Database: Mailbox Database 2011063010, Server: MWCS-DC1.MWCSHQ.local].

An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-543)
. [Database: Mailbox Database 2011063010, Server: MWCS-DC1.MWCSHQ.local]

An Active Manager operation failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-543)
. [Server: MWCS-DC1.MWCSHQ.local]

MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-543)





--------------------------------------------------------
OK
--------------------------------------------------------
Will SzymkowskiSenior Solution Architect
Most Valuable Expert 2015
Top Expert 2015

Commented:
Exchange Databases will not mount if they are in a Dirty shutdown state. Run the following command.

eseutil /mh <databasepath.edb>

You can also use the eseutil /p as a hard recover. This would be a last restore, if you cannot get the database to a clean shutdown state..

Also take a look at the following link for additional details.
http://mikepfeiffer.net/2010/04/getting-an-exchange-database-into-a-clean-shutdown-state-using-eseutil/


Will.

Author

Commented:
That is another issues i am running into, when i run the eseutil /mh <databasepath.edb>  ...........   "<mydatapath> " it acts like i am just running basic eseutil.exe and shows me what to. doesn't pull the database up to show the state.
Will SzymkowskiSenior Solution Architect
Most Valuable Expert 2015
Top Expert 2015

Commented:
Are you running this command prompt with Admin Privileges? (Run As)?

Will.

Author

Commented:
Yes sir, running in "as administrator"
Will SzymkowskiSenior Solution Architect
Most Valuable Expert 2015
Top Expert 2015

Commented:
What is the error message you are getting? You also need to type the full database path as well.

eseutill /mh "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\MailboxDatabase 0834048268\Mailbox Database 0834048268.edb"

When you run this it will show you all of the details. You can also do eseutil /mh /? for additional details.

You will also see an error message stating why the details did not display. file locked etc.

Will.

Author

Commented:
That is what i am typing in, attached is the screen shot of the cmd line
exchange.png

Author

Commented:
added "" and it worked
Will SzymkowskiSenior Solution Architect
Most Valuable Expert 2015
Top Expert 2015

Commented:
I have looked at the screenshot and you require "quotes" around your file path because it has spaces in the file name. Add the quotes and run the command again.

Will.

Author

Commented:
Now i am getting error -1216, attached is a SS
Error--1216.png

Author

Commented:
did /i at the end and not getting error anymore
Will SzymkowskiSenior Solution Architect
Most Valuable Expert 2015
Top Expert 2015

Commented:
This is because some of the logs are missing.

Have you tried using the eseutil /p <database.edb>?

Is did the eseutil /mh state that the shutdown was dirty?

Will.

Author

Commented:
after running the /i it states successful but when you run the /mh it still states it is in dirty shutdown, then i ran the /r without the /i at the end and it said successful. Run the /mh and still states in dirty shutdown.
Senior Solution Architect
Most Valuable Expert 2015
Top Expert 2015
Commented:
If you do not have the appropriate logs to restore you might have to use the eseutil /p hard recover.

Will.