Solved

Exchnage 2007 mailbox store that will not mount, error 1216, MapiExceptionJetErrorAttachedDatabaseMismatch

Posted on 2010-08-17
5
5,283 Views
Last Modified: 2016-09-20
I'm working on a server that I have not maintained before that has a dismounted mailbox store in SBS 2008 (so it runs Exchange 2007).  When I try to mount the store, I get:

Exchange is unable to mount the database that you specified. Specified database: SOLAR1\First Storage Group\Mailbox Database; Error code: MapiExceptionJetErrorAttachedDatabaseMismatch: Unable to mount database. (hr=0x80004005, ec=-1216)

I've run an eseutil /p and an eseutil /d on the database.  I still get the same error.

If I run eseutil /mh, I get this:



Extensible Storage Engine Utilities for Microsoft(R) Exchange Server

Version 08.02

Copyright (C) Microsoft Corporation. All Rights Reserved.



Initiating FILE DUMP mode...
         Database: Mailbox Database.edb

        File Type: Database
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,12
 Engine ulVersion: 0x620,12
Created ulVersion: 0x620,12
     DB Signature: Create time:08/17/2010 22:17:57 Rand:1809907780 Computer:
         cbDbPage: 8192
           dbtime: 823693 (0xc918d)
            State: Clean Shutdown
     Log Required: 0-0 (0x0-0x0)
    Log Committed: 0-0 (0x0-0x0)
   Streaming File: No
         Shadowed: Yes
       Last Objid: 777
     Scrub Dbtime: 0 (0x0)
       Scrub Date: 00/00/1900 00:00:00
     Repair Count: 2
      Repair Date: 07/20/2010 23:25:34
 Old Repair Count: 2
  Last Consistent: (0x0,0,0)  08/17/2010 22:22:45
      Last Attach: (0x0,0,0)  08/17/2010 22:22:25
      Last Detach: (0x0,0,0)  08/17/2010 22:22:45
             Dbid: 1
    Log Signature: Create time:00/00/1900 00:00:00 Rand:0 Computer:
       OS Version: (6.0.6001 SP 1 NLS 500100.50100)

Previous Full Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Previous Incremental Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Previous Copy Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Previous Differential Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Full Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Shadow copy backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

     cpgUpgrade55Format: 0
    cpgUpgradeFreePages: 0
cpgUpgradeSpaceMapPages: 0

       ECC Fix Success Count: none
   Old ECC Fix Success Count: none
         ECC Fix Error Count: none
     Old ECC Fix Error Count: none
    Bad Checksum Error Count: none
Old bad Checksum Error Count: none

Operation completed successfully in 0.31 seconds.


------------

If I run isinteg -s solar1 -fix -test alltests, it returns:

Databases for server solar1:
Only databases marked as Offline can be checked

Index  Status       Database-Name
Storage Group Name: First Storage Group
  1    Offline      Mailbox Database
Storage Group Name: Second Storage Group
  2    Offline      Public Folder Database
Enter a number to select a database or press Return to exit.
1
You have selected First Storage Group / Mailbox Database.
Continue?(Y/N)y
Isinteg cannot initiate verification process.


In the event log, I see this after I run "isinteg -s solar1 -fix -test alltests":

event id 494:
MSExchangeIS (2092) First Storage Group: Database recovery failed with error -1216 because it encountered references to a database, 'D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb', which is no longer present. The database was not brought to a Clean Shutdown state before it was removed (or possibly moved or renamed). The database engine will not permit recovery to complete for this instance until the missing database is re-instated. If the database is truly no longer available and no longer required, procedures for recovering from this error are available in the Microsoft Knowledge Base or by following the "more information" link at the bottom of this message.


event id 454:
MSExchangeIS (2092) First Storage Group: Database recovery/restore failed with unexpected error -1216.

event id 9518:
Error 0xfffffb40 starting Storage Group /DC=local/DC=domain/CN=Configuration/CN=Services/CN=Microsoft Exchange/CN=First Organization/CN=Administrative Groups/CN=Exchange Administrative Group (FYDIBOHF23SPDLT)/CN=Servers/CN=SOLAR1/CN=InformationStore/CN=First Storage Group on the Microsoft Exchange

-----------



Here's what I think I'm seeing - the database isn't mounted because Exchange seems to think the database isn't in the proper folder (see event id 494 above).  However, the database is clearly there.  See screen shot below.  Any ideas on what to try next?  I'm a rookie at Exchange database recovery.  Minus eseutil, I've never had to run anything really.
mailboxdatabases.jpg
0
Comment
Question by:dmessman
5 Comments
 
LVL 9

Expert Comment

by:v_9mhdrf
Comment Utility
Please move all the other log files and folders from the database edb file location to another folder.
just keep only the .edb file and move all the log files to another folder and try mounting the stores.

Please check it out and revert back if you have any issues.
0
 
LVL 9

Accepted Solution

by:
v_9mhdrf earned 500 total points
Comment Utility
And also please enable the option "This database can be overwritten by a restore".
It will be the properties of the mailbox store.
Please check that out and revert back if you have any issues.
0
 
LVL 9

Author Closing Comment

by:dmessman
Comment Utility
Damn - that was easy.  I removed all the log files and then checked the box to allow the database to be overwritten by a restore and voila, the mailbox store mounted.
0
 

Expert Comment

by:Duta Goodnews
Comment Utility
I had exactly the same today and just by moving the log files and marking the database to be overwritten by  a restore does the magic.

Thank you so much. I really appreciate.
0
 

Expert Comment

by:ZUBAIR KHAN
Comment Utility
I did the same steps as mention above and MY DATABASE mount and production  Exchange server working Fine now. Thanks a lot for the  for your informative  steps & procedure..
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

772 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

12 Experts available now in Live!

Get 1:1 Help Now