Avatar of kmkj4ever
kmkj4ever
 asked on

Unable to restore mailbox database in exchange 2007

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
ExchangeActive DirectoryStorage Software

Avatar of undefined
Last Comment
kmkj4ever

8/22/2022 - Mon
SOLUTION
Gareth Gudger

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Rajkumar Duraisamy

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
kmkj4ever

ASKER
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?
SOLUTION
Rajkumar Duraisamy

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
kmkj4ever

ASKER
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.
Gareth Gudger

Try restoring it with Backup Exec again.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Mahesh

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
ASKER CERTIFIED SOLUTION
kmkj4ever

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
colin_Paul

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
kmkj4ever

ASKER
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.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.