Unable to restore mailbox database in exchange 2007

Posted on 2013-12-24
Last Modified: 2014-03-28
Recently we had our exchange 2007 server fail. Reinstalled exchange on a new server and attempted to restore the mailbox database to a Recovery Storage Group with Backup Exec 12.5 The restore seemed to work until I attempted to mount the database.

Received the following error when trying to mount the restored database in the EMS TA.:

Error encountered while trying to mount the database

Error encountered while trying to mount the database (Mailbox Database) in the recovery storage group (Recovery Storage Group). error message is Exchange is unable to mount the database that you specified. Specified database \WIN2K8-EX\Recovery Storage Group\Mailbox Database; Error code: MapiExceptionCallFailed: Unable to mount database (hr=0x80004005, ec=1276)

In the event viewer I see the following errors:

Event 1088, MSExchangeIS
The information store could not be loaded because the distiguised name (DN /O=LAN/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN= of message database "Recovery Storage Group\Mailbox Databe" does not match the DN of directory /O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP(FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=.
The database may have been restored to a computer that is in an organization or site different than the original database.

Event 9519, MSExchangeIS
Error 0x4fc starting database "Recovery Storage Group\Mailbox Database" on the Microsoft Exchange Information Store.

Event 9518, MSExchangeIS
Error 0x4fc starting Storage Group /DC=COM/DC=LAN/CN=Configuration/CN=
Service/CN=Microsoft Exchange/CN=First Organization/CN=Administrative Group/CN=Exchange Administrative Group  (FYDIBOHF23SPDLT)/CN=Server/CN=WIN2K8-EX/CN=Information Store/CN=Recovery Storage Groupon the Microsoft Exchange Information Store.
MDB failed to start

I have search the web with various articles talking about scanning and repairing the database, but as far as I can tell the database is cleanly shutdown. It looks like the errors point to a difference in the organization name from the old server to the new server.

Any help you could provide would be greatly appreciated.

Kevin B
Question by:kmkj4ever
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +2
LVL 31

Assisted Solution

by:Gareth Gudger
Gareth Gudger earned 167 total points
ID: 39738442
Yes. The Organization Name must be the same in order for the database to mount.
LVL 15

Assisted Solution

Rajkumar-MCITP earned 333 total points
ID: 39738443

Author Comment

ID: 39738488
When I reinstalled exchange I did not see the option for naming the organization? Is there a step that I missed during the setup or are there additional steps to remove exchange from AD before reinstalling it.

From the other post I should be able to mount the database if I am able to reinstall exchange and name the organization correctly?
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

LVL 15

Assisted Solution

Rajkumar-MCITP earned 333 total points
ID: 39738494
Specifying the organization name comes into play when you run the exchange for the first time in a DC or running Setup /PrepareAD /OrganizationName:YOURORGNAME

Try to have a DC, Exchange and organization with the same name as like the previous setup. it will allow you to mount the database.

We have a setup , where we dont have a disk space in the production to create a recovery database, so we build test lab with the same DC, and Exchange servers name, org name, including same IP addresses in a isolated network and we are able to successfully mount the db and perform restores

Author Comment

ID: 39738645
Ok, I was able to uninstall exchange and reinstall using the old organization name. Then it allowed me to mount the recovery storage group mailbox database, but it wont show any old emails in the account?

I can even copy the database over to the first storage group and mount it, but the user accounts have no email in them? I know something is there because the database is about 8Gb, not empty.

I tried to use the merge copy feature in the EMC, but it errors out each time.

Is there a trick to get the email back into the users mailboxes?

Thank you for your earlier assistance.
LVL 31

Expert Comment

by:Gareth Gudger
ID: 39738805
Try restoring it with Backup Exec again.
LVL 37

Expert Comment

ID: 39739138
Instead of reinstalling Exchange you could have recover exchange on new server at 1st place with recoverserver switch.

An MSExchangeIS 1088 event can occur if an Exchange database is restored to an Administrative Group that has a different value for the legacyExchangeDN attribute than its original Administrative Group. This behaviour is by design. To mount stores on an Exchange Server, the value for the legacyExchangeDN attribute of the Organization and the Administrative Group of the Exchange databases must match the value for legacyExchangeDN attribute of the Organization and the Administrative Group in Active Directory.

Try to follow steps in below article probably will help


Accepted Solution

kmkj4ever earned 0 total points
ID: 39739143
I read serveral articles about using the recoverserver switch and I beleive that would have been possible before one of the other techs deleted all the exchange object from AD with ADSI edit. I came in a little late on the problem and have been picking up the pieces.

Using ADSI edit I was able to change a few of the legacyDN values, but once you have a different organization name it is next to impossible to get everything to work out.

We were able to get everything back up and running by uninstalling exchange and reinstalling with the old organization name. Now the only thing that remains is to restore the mailboxes, but that is another issue so I consider this one closed.

Thank you for all your help on this matter.

Kevin B

Expert Comment

ID: 39739667
Hello kmkj4ever,

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





Colin Paul

Author Closing Comment

ID: 39745771
The problem was that the organization name was different in the new install. This made it difficult to mount the old mail database. You have to either re-install exchange with the old name or make a test environment to do the same to retrieve your old mail.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question