Failed to mount database 'Mailbox Database' hr=0x80004005, ec=-528
Hi, I noticed that my Outlook was disconnected, so on checking the Exchange server (2007 SP1), i realized that the mailbox database is dismounted, all attemps to mount the database results in this error:
Exchange is unable to mount the database thay you specified. Specified database: Servername\First Storage Group\Mailbox Database; Error code: mapiExceptionCallFailed: Unabble to mount database. (hr=0x80004005, ec=-528)
Answers
Hi,
It looks like you have removed the log file which has not been wrote into database.
If the database has been shut down correctly(clean shutdown), please moved the Checkpoint file and all Logfiles to a different folder and try to mount database again. If the database has not been shut down correctly(dirty shutdown). You may need to restore the database with the backup. Or you need to do a database repair.
We don’t suggest removing log files as that way, regarding how to remove the log files, you can refer to the following article:
How to remove Exchange Server transaction log files
http://support.microsoft.com/kb/240145
Hope this helps. Thanks,
Elvis
We're going to jump through every jet error code, aren't we? -550 is DatabaseDirtyShutdown. Using eseutil you should be able to see that the database is in a dirty shutdown state. Using recovery mode of eseutil bring the database to a clean shutdown state. You might have to try two or three times. Once the database says it's in a clean shutdown state you should be able to remount.
By the way, what process do you usually use to cleanup log files? Circular logging, or do you wait for log truncation after a backup?
All Replies
-528 is the error code for Current log file missing. Do you see the Exx.log? Is there a file handle open on that log? Is this database on a CMS?
Yes, I can see the E00.log file. i actually clean up some log files earlier in the day when my i noticed that i was running out of space on the hard drive. could that be responsible because i have done this before. what do you meant by "file handle open"? if you are referring to content management system as regards the database, the answer is no
Usually -528 is making reference to the Exx.log (E00.log in your case), but I guess it could apply to one of the logs that you deleted. How many logs did you leave behind? Did you delete a log with 'tmp' in the name? This error might also appear if some other process had the Exx.log open at the same time as when Exchange was trying to open it. It's one of the reasons why you configure your anti virus to not look at the log or database directories. You might have to restore the log files you deleted to mount. It's possible that you deleted a file that didn't have a typical log name (ExxNNNNNNNN.log) and you need to restore it.
I did not delete the log with .tmp extension in the name at all but now i cant find it. Also i cant find the MDBdata folder in my exchange installation folder. Could my antivirus be responsible as well because after i finished the clean up i still recieved some mails in my own inbox. One more issue is that i can not lay hands on the transaction log that i deleted because i was running out of space so i did not back them up. Please is there a way out?
Go to the mailbox server and try to mount the database. Look at the event viewer and there should be a log in the event viewer with the name of the file it's looking for. If you can find the file put it back.
If you can't find the file try Mount-Database -AcceptDataLoss (you're at the point your going to lose data).
If that doesn't work try Restore-StorageGroup <SG> and then mount.
If that doesn't work create an empty file called Exxtmp.log (so in your case it will be E00tmp.log) put it in the log directory and try to mount.
If that doesn't work create a dummy storage group, and a dummy mailbox database (don't mount it), mark the dummy database for disaster recovery, mount the databaes and move the mailboxes to the new database.
I might have missed something, so I would suggest reading all the documentation you can find on Exchange Disaster Recovery, and follow it closely.
Hello jader3rd, I was able to locat the file which i put back inside the Log folder. I tried to mount the database but i got this error back in return: Exchange is unable to mount the database atht you specified. Specified database: Servername\ First Storage Group\ Mailbox database; Error code: MapiExceptioncallfailed: Unable to mount database. (hr=0x080004005, ec=-515) Then from the even viewer, i have this event ID 454. what do i do next please ?-515 is Missing Log File. There isn't perchance a gap in the log stream that you could fill? Do you know what generation the E00.log is?
Hi,
It looks like you have removed the log file which has not been wrote into database.
If the database has been shut down correctly(clean shutdown), please moved the Checkpoint file and all Logfiles to a different folder and try to mount database again. If the database has not been shut down correctly(dirty shutdown). You may need to restore the database with the backup. Or you need to do a database repair.
We don’t suggest removing log files as that way, regarding how to remove the log files, you can refer to the following article:
How to remove Exchange Server transaction log files
http://support.microsoft.com/kb/240145
Hope this helps. Thanks,
Elvis
i was able to locate the sequence of the log that was stated as missing. i have inserted it back into the transaction log folder, now i have this error coming up when i try to mount the storage group back.
Error: Exchange is unable to mount that database that you specified. Specified database: Servername\First Storage Group\Mailbox database; Error code: mapiExceptioncallFailed: Unable to mount database. (hr=0x80004005, ec=-550)
Then from the event viewer, i have the following errors
event id 9519: error database is in inconsistent state starting database "first storage group\mailbox datase" on the microsoft exchange information store.
event id 9518 error database is in inconsistent state starting storage group /DC= LOCAL/DC=DOMAIN/CN=Configuration/CN=Services/CN=Microsoft exchange/CN=Organisation/CNAdministrative Groups/CN=Exchange Administrative group (FYDIBOHF23SPDLT)/CN=Servers/CN=Servername/CN=InformationStore/CN=First Storage Group on the Microsoft exchange Information Store. MDB failed to start.
We're going to jump through every jet error code, aren't we? -550 is DatabaseDirtyShutdown. Using eseutil you should be able to see that the database is in a dirty shutdown state. Using recovery mode of eseutil bring the database to a clean shutdown state. You might have to try two or three times. Once the database says it's in a clean shutdown state you should be able to remount.
By the way, what process do you usually use to cleanup log files? Circular logging, or do you wait for log truncation after a backup?
- Hi,
First stop information store, clear the application log and perform check eseutil /mh on the database. It will tell you database is clean or corrupted. If it is clean then select the option "Do not mount the store" and start the information. If you still face the problem then your mailboxes are corrupted and repair it using Stellar phoenix mailbox recovery. Download demo version from here: http://www.ms-exchange-server-recovery.com and check the preview of recovered mailboxes and EDB files.
I have been able to resole the issue and my mail server is back up and ruuning.
I have to run the eseutil /p to carry out a repair process on the mailbox database, it actually took my hours almost 24 hours to complete the repair process because of my mailbox database size.
i followed through all the instruction. During this process, my information store service was shut down
i navigated to the folder that contained my database on the command prompt window, then i ran this command " eseutil /p "mailbox database.edb" "
after the finishing the repair process, I cleared my Transaction Log Folder by cpying the contents to a temporary folder. With a blank Transaction Log folder, i attempted to mount the database for the storage group. To my greatest joy, i was able to mount the database and all my users were all back and running.
I have redirected my transaction log folder to another partition on my server that has a much bigger space so my database and transaction logs are on different partitions. should i need to clean up my Transaction logs, the tips that was given by the moderator is going to be a very helpful one which will be my guiding principle when cleaning up.
I want to say a big thank you to all of you out there, you just wonderful. Thank you very much. God bless you all real good.
Hi,
After running eseutil /p you must also run isinteg.
eseutil /p can be a destructive proces whuch deletes database pages - isinteg corrects links after this,
You should also make sure that yout backup runs - a full exchange backup should clear the transaction logs.
Leif
- You save my life
NerdNero wrote: I have been able to resole the issue and my mail server is back up and ruuning.
I have to run the eseutil /p to carry out a repair process on the mailbox database, it actually took my hours almost 24 hours to complete the repair process because of my mailbox database size.
i followed through all the instruction. During this process, my information store service was shut down
i navigated to the folder that contained my database on the command prompt window, then i ran this command " eseutil /p "mailbox database.edb" "
after the finishing the repair process, I cleared my Transaction Log Folder by cpying the contents to a temporary folder. With a blank Transaction Log folder, i attempted to mount the database for the storage group. To my greatest joy, i was able to mount the database and all my users were all back and running.
I have redirected my transaction log folder to another partition on my server that has a much bigger space so my database and transaction logs are on different partitions. should i need to clean up my Transaction logs, the tips that was given by the moderator is going to be a very helpful one which will be my guiding principle when cleaning up.
I want to say a big thank you to all of you out there, you just wonderful. Thank you very much. God bless you all real good.

I have been able to resole the issue and my mail server is back up and ruuning.
I have to run the eseutil /p to carry out a repair process on the mailbox database, it actually took my hours almost 24 hours to complete the repair process because of my mailbox database size.
i followed through all the instruction. During this process, my information store service was shut down
i navigated to the folder that contained my database on the command prompt window, then i ran this command " eseutil /p "mailbox database.edb" "
after the finishing the repair process, I cleared my Transaction Log Folder by cpying the contents to a temporary folder. With a blank Transaction Log folder, i attempted to mount the database for the storage group. To my greatest joy, i was able to mount the database and all my users were all back and running.
I have redirected my transaction log folder to another partition on my server that has a much bigger space so my database and transaction logs are on different partitions. should i need to clean up my Transaction logs, the tips that was given by the moderator is going to be a very helpful one which will be my guiding principle when cleaning up.
I want to say a big thank you to all of you out there, you just wonderful. Thank you very much. God bless you all real good.
You certainly saved my life also. Thankyou so much for the post...much appreciatedthank you sooooooooooo much for this post, it helped me alot and saved my life. big thxxxxxxxxxxxxxxxxxxxxxx


