Microsoft exchange error failed to mount database



Microsoft exchange error failed to mount database

Вопрос

When I try to mount the exchange database I receive the following:

Failed to mount database «Exchange2013». Error: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionDatabaseError: Unable to mount database. (hr=0x80004005, ec=1108) Diagnostic context: Lid: 65256 Lid: 10722 StoreEc: 0x454 Lid: 1494 —- Remote Context Beg —- Lid: 45120 dwParam: 0x495E49 Lid: 57728 dwParam: 0x495FB1 Lid: 46144 dwParam: 0x49602E Lid: 34880 dwParam: 0x49602E Lid: 34760 StoreEc: 0xFFFFFDF0 Lid: 41344 Guid: d8f4016a-7694-48c1-be7a-dee192166b6e Lid: 35200 dwParam: 0x6FFC Lid: 46144 dwParam: 0x496781 Lid: 34880 dwParam: 0x496781 Lid: 54472 StoreEc: 0x1388 Lid: 42184 StoreEc: 0x454 Lid: 1750 —- Remote Context End —- Lid: 1047 StoreEc: 0x454 [Database: Exchange2013, Server: exchange.XXXXXXXXXXXXXXXXXXXX.com]

Here’s the bad news. It looks like one of my team deleted several log files. Since the log files were deleted more than a day ago, I don’t have a backup. I only have a full backup from after the deletion happened.

So, basically, I need to know how to mount an *.EDB file that has missing log files.

I am a novice, and not super technical. Probably know just enough to get myself into trouble.

Any help is greatly appreciated.

Ответы

Check with eseutil /mh if database is not in clean shutdown, if not just run with /p switch to get it in clean shutdown Once it come to clean shutdown state, then try moving the checkpoint and logs to a temporary location and mount database to see whether it works.

Given the error message, here also a solution for this issue in : Problem in Exchange 2013 Database mount failed!

For ESEUTIL explanation please refer to the article: Not able to mount database — Eseutil.exe to the rescue

Please note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information. And the changes made in the above blog is not supported officially by Microsoft.

Jason Chao
TechNet Community Support

Please remember to mark the replies as an answer if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Все ответы

Here’s what happens when I try to mount in PowerShell:

Источник

Microsoft exchange error failed to mount database

Question

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

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

Hope this helps. Thanks,

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.

  • Proposed as answer by Igor_Zz Wednesday, July 27, 2011 11:59 AM
  • Marked as answer by Terence Yu Moderator Monday, April 15, 2013 2:21 AM
Читайте также:  Ubuntu one login error

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 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?

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

Hope this helps. Thanks,

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)

Читайте также:  Exception http error python

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?

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.

  • Proposed as answer by Igor_Zz Wednesday, July 27, 2011 11:59 AM
  • Marked as answer by Terence Yu Moderator Monday, April 15, 2013 2:21 AM

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.

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.

Читайте также:  Java assert with exception

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 appreciated

thank you sooooooooooo much for this post, it helped me alot and saved my life. big thxxxxxxxxxxxxxxxxxxxxxx

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.

God bless ya! So many lives were saved. Seems to me, we owe you beer, bro. Or a battle JD Single Barrel. email me if you’ll stay in moscow

( I don’t normally post, but have to give thanks, where it’s due.- hope this help some lost souls)

I was in the same problem after moving my transaction logs to a different drive and I guess I deleted some of the files :(. Anyway, I tried the eseutil/p and deleted all my files in my log folder and —BINGO 🙂

Источник

Оцените статью
toolgir.ru
Adblock
detector