Solved

Unable to restore mailbox database in exchange 2007

Posted on 2013-12-24
11
1,245 Views
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
0
Comment
Question by:kmkj4ever
  • 4
  • 2
  • 2
  • +2
11 Comments
 
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.
0
 
LVL 15

Assisted Solution

by:Rajkumar-MCITP
Rajkumar-MCITP earned 333 total points
ID: 39738443
0
 

Author Comment

by:kmkj4ever
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?
0
 
LVL 15

Assisted Solution

by:Rajkumar-MCITP
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
0
 

Author Comment

by:kmkj4ever
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.
0
 
LVL 31

Expert Comment

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

Expert Comment

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

Anyways,
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
http://technet.microsoft.com/en-us/library/bb267025(v=exchg.80).aspx

Mahesh
0
 

Accepted Solution

by:
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
0
 
LVL 2

Expert Comment

by:colin_Paul
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
http://support.microsoft.com/kb/240145
 

Resources:-

1. http://social.technet.microsoft.com/Forums/exchange/en-US/4d1f1ec0-afa7-4a97-af2c-896f3d3c2abb/failed-to-mount-database-mailbox-database-hr0x80004005-ec528?forum=exchangesvravailabilityandisasterrecoverylegacy

2. http://www.symantec.com/connect/articles/how-restore-exchange-2007-mailbox-store-tape-using-backup-exec-12

3. http://www.symantec.com/business/support/index?page=content&id=TECH65681

Thanks
Colin Paul
0
 

Author Closing Comment

by:kmkj4ever
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.
0

Join & Write a Comment

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now