Solved

Failed to mount database "Mailbox Database" in SBS2011

Posted on 2012-12-21
44
2,323 Views
Last Modified: 2013-12-02
Exchange Mount Failure Error Message
  I can't mount mailbox database even though PUBLIC database is mounted. I checked all Exchange Server related services in SERVICES.MSC and they have all started.

  Can you help?
0
Comment
Question by:sglee
  • 26
  • 18
44 Comments
 
LVL 8

Accepted Solution

by:
PaulD77 earned 500 total points
ID: 38713661
here's a list of utilities you can try to test what the issue with the database is..

http://www.virtualhelp.me/windows/579-exchange-2010-error-unable-to-mount-database
0
 

Author Comment

by:sglee
ID: 38713715
Do I run eseutil /mh "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb" in Exchange Management Shell or Command window?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38713721
in the management shell
0
 

Author Comment

by:sglee
ID: 38713846
This is what I got:

Initiating FILE DUMP mode...
Error: Access to source database 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Databa
se.edb' failed with Jet error -1811.

Operation terminated with error -1811 (JET_errFileNotFound, File not found) after 0.78 seconds.
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38713887
Did you try  to run  /P to repair?  Make sure you have a good backup before you run a repair though.
0
 

Author Comment

by:sglee
ID: 38713921
My bad ... I had exchange database in another Drive and folder  --->  E:\exchange\Mailbox\Mailbox Database.edb
I ran it again and this is the result:

[PS] C:\program files\microsoft\exchange server\v14\mailbox\mailbox database>eseutil /mh "E:\exchange\Mailbox\Mailbox Database.edb"

Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 14.01
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating FILE DUMP mode...
         Database: E:\exchange\Mailbox\Mailbox Database.edb


DATABASE HEADER:
Checksum Information:
Expected Checksum: 0x12da28e4
  Actual Checksum: 0x12da28e4

Fields:
        File Type: Database
         Checksum: 0x12da28e4
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,17
 Engine ulVersion: 0x620,17
Created ulVersion: 0x620,17
     DB Signature: Create time:07/02/2012 13:27:25 Rand:21822536 Computer:
         cbDbPage: 32768
           dbtime: 134075366 (0x7fdd3e6)
            State: Dirty Shutdown
     Log Required: 311323-311343 (0x4c01b-0x4c02f)
    Log Committed: 0-311344 (0x0-0x4c030)
   Log Recovering: 311323 (0x4c01b)
  GenMax Creation: 12/21/2012 09:19:59
         Shadowed: Yes
       Last Objid: 33348
     Scrub Dbtime: 0 (0x0)
       Scrub Date: 00/00/1900 00:00:00
     Repair Count: 0
      Repair Date: 00/00/1900 00:00:00
 Old Repair Count: 0
  Last Consistent: (0x4BF77,8,1F)  12/21/2012 00:10:17
      Last Attach: (0x4BF78,9,86)  12/21/2012 00:10:18
      Last Detach: (0x0,0,0)  00/00/1900 00:00:00
             Dbid: 1
    Log Signature: Create time:05/20/2011 14:28:17 Rand:1158643 Computer:
       OS Version: (6.1.7601 SP 1 NLS ffffffff.ffffffff)

Previous Full Backup:
        Log Gen: 311131-311151 (0x4bf5b-0x4bf6f) - OSSnapshot
           Mark: (0x4BF6F,376,1B3)
           Mark: 12/20/2012 23:00:27

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

  Last checksum finish Date: 00/00/1900 00:00:00
Current checksum start Date: 00/00/1900 00:00:00
      Current checksum page: 0


Operation completed successfully in 0.62 seconds.

[PS] C:\program files\microsoft\exchange server\v14\mailbox\mailbox database>
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38713941
Ok, so you had a dirty shut down...
    DB Signature: Create time:07/02/2012 13:27:25 Rand:21822536 Computer:
         cbDbPage: 32768
           dbtime: 134075366 (0x7fdd3e6)
            State: Dirty Shutdown

make sure you have a clean backup and run.


eseutil /p "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb"

Replace C: with your exchange drive...

after it completes run the first step again and make sure you have a clean shutdown then try to mount
0
 

Author Comment

by:sglee
ID: 38713951
Mailbox Folder ContentsIt looks like it is "Dirty Shutdown". Therefore I need to run "Repair"?
I checked the backup overnight and it was done, but just in case, can I copy the entire database folder to another location to be safe?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38713961
You do not want to copy the corrupted database.  Why don't you do a test restore just to make sure your exchange DB is there.  What backup are you using?  If you are using something like symantec BU exec, you can test a restore down to an individual email to see its there.
0
 

Author Comment

by:sglee
ID: 38713976
I am using Windwos Server Backup - incremental backup.
I have never tried "restore" from either Backupexec or Windows Server Backup before.
BTW, I do use Symantec Backupexec only to backup Exchange once a week. So the last good one is this past weekend and the exchange system went down early this morning.
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38713985
Well backup exec does granular backups, meaning if i wanted to restore one email out of the entire exchange DB i can do it with backup exec.  If you have 2 backups, one with win server and one with backup exec.  I would say it's safe to run the repair.  You can at least get the DB back in the proper state and check for data loss.  I'm not saying you will lose anything at all, but theres always a chance.
0
 

Author Comment

by:sglee
ID: 38713996
so run : eseutil /p "E:\exchange\Mailbox\Mailbox Database.edb" ?
0
 

Author Comment

by:sglee
ID: 38713999
another question. per screenshot of mailbox, why do I see two of "mailbox database.edb" ?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714002
Is that where your Db is?  Run it the same way you did the firs command just with /p  if it was on the C: drive, it's typically

eseutil /p "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\Mailbox Database.edb"
0
 

Author Comment

by:sglee
ID: 38714011
Yes. that is where the exchange database is located. I moved it from default location.

Another question. per screenshot (ID: 38713951) of mailbox, why do I see two of "mailbox database.edb" ?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714029
I'm not sure why there are 2 but they are the same size...try the repair and see what happens.
0
 

Author Comment

by:sglee
ID: 38714035
OK. I will run a repair and keep you posted.
0
 

Author Comment

by:sglee
ID: 38714159
Exchange Mount Error after successful repairThe repair was successful, but when I tried to mount, it gave me this error:

Should I have restarted Exchange related services or should I run repair again?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714168
Run the repair again...but before you mount you need to make sure it's not in a dirty restart still by running the

eseutil /mh E:\exchange\Mailbox\Mailbox Database.edb

analyze the results and be sure its in a clean restart state
0
 

Author Comment

by:sglee
ID: 38714171
Exchange Mount Error 2Here is bottom part of the same error message screenshot.
0
 

Author Comment

by:sglee
ID: 38714172
ok I will.
0
 

Author Comment

by:sglee
ID: 38714176
I ran eseutil /mh "E:\exchange\Mailbox\Mailbox Database.edb" and it say "Clean Shutdown" like below. I will run Repair again.

DATABASE HEADER:
Checksum Information:
Expected Checksum: 0x1cd061c0
  Actual Checksum: 0x1cd061c0

Fields:
        File Type: Database
         Checksum: 0x1cd061c0
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,17
 Engine ulVersion: 0x620,17
Created ulVersion: 0x620,17
     DB Signature: Create time:12/21/2012 14:15:51 Rand:16103406 Computer:
         cbDbPage: 32768
           dbtime: 137869024 (0x837b6e0)
            State: Clean Shutdown
     Log Required: 0-0 (0x0-0x0)
    Log Committed: 0-0 (0x0-0x0)
   Log Recovering: 0 (0x0)
  GenMax Creation: 00/00/1900 00:00:00
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 8

Expert Comment

by:PaulD77
ID: 38714181
Also, this error is disk related.  I would reboot and run a chkdsk
0
 

Author Comment

by:sglee
ID: 38714191
Two databases in mailbox folderWhy do I still have two databases?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714196
One has gotten bigger too.  Reboot, run a check disk..make sure the disk is in good shape and repair anything that needs repairing.  Then try to mount the DB.  I don't know why you have  2 DB's...what happened that caused all this anyway?
0
 

Author Comment

by:sglee
ID: 38714197
[PS] C:\Users\admin\Desktop>eseutil /p "E:\exchange\Mailbox\Mailbox Database.edb"

Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 14.01
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating REPAIR mode...
        Database: E:\exchange\Mailbox\Mailbox Database.edb
  Temp. Database: TEMPREPAIR14144.EDB

Checking database integrity.

                     Scanning Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................


Integrity check successful.

Note:
  It is recommended that you immediately perform a full backup
  of this database. If you restore a backup made before the
  repair, the database will be rolled back to the state
  it was in at the time of that backup.

Operation completed successfully in 323.687 seconds.
0
 

Author Comment

by:sglee
ID: 38714203
When I tried to mount the database, I get the same error as below:
The repair was very short 2nd time compared to first time.

--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
Failed to mount database 'Mailbox Database'.

Mailbox Database
Failed
Error:
Couldn't mount the database that you specified. Specified database: Mailbox Database; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionJetErrorDiskIO: Unable to mount database. (hr=0x80004005, ec=-1022)
 [Database: Mailbox Database, Server: DC1.DC.local].

An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionJetErrorDiskIO: Unable to mount database. (hr=0x80004005, ec=-1022)
 [Database: Mailbox Database, Server: DC1.DC.local]

An Active Manager operation failed with a transient error. Please retry the operation. Error: MapiExceptionJetErrorDiskIO: Unable to mount database. (hr=0x80004005, ec=-1022)
 [Server: DC1.DC.local]

MapiExceptionJetErrorDiskIO: Unable to mount database. (hr=0x80004005, ec=-1022)
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714206
Error: MapiExceptionJetErrorDiskIO

This is a hard disk error.  Try to run the check disk utility from the cmd prompt
0
 

Author Comment

by:sglee
ID: 38714217
In fact, when I logged on to the SBS2011, there was a popup windows about "RAID" error. Let me look into it. But the file server is up and running right now and people are accessing files and creating documents as we speak.
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714247
then you probably can't restart the server right now since people are working, but i would go to disk management and see if any disks are in an unhealthy state.
0
 

Author Comment

by:sglee
ID: 38714249
Try to run the check disk utility from the cmd prompt  ---> what is the command ?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714255
chkdsk E:
0
 

Author Comment

by:sglee
ID: 38714272
RAID StatusI will try that. Here is the RAID status screen.
0
 

Author Comment

by:sglee
ID: 38714278
C:\Users\admin>chkdsk E:
The type of the file system is NTFS.
Volume label is New Volume.

WARNING!  F parameter not specified.
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
 1 percent complete. (59879 of 598784 file records processed)
Attribute record (128, "") from file record segment 96348
is corrupt.
Attribute record (128, "") from file record segment 96451
is corrupt.
  598784 file records processed.
File verification completed.
  59 large file records processed.

Errors found.  CHKDSK cannot continue in read-only mode.

C:\Users\admin>
0
 
LVL 8

Assisted Solution

by:PaulD77
PaulD77 earned 500 total points
ID: 38714290
run

chkdsk /f E:

to repair
0
 

Author Comment

by:sglee
ID: 38714293
ok
0
 

Author Comment

by:sglee
ID: 38714299
C:\Users\admin>chkdsk /f E:
The type of the file system is NTFS.

Chkdsk cannot run because the volume is in use by another
process.  Chkdsk may run if this volume is dismounted first.
ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID.
Would you like to force a dismount on this volume? (Y/N)


If I answer "YES" then this will kick people off the files that are open?
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714308
yea, thats the problem with doing it while logged in.  I think once you are able to fix the disk, you should be able to mount the DB though
0
 

Author Comment

by:sglee
ID: 38714317
OK. I think users are pretty much gone now. I will do that in about 30 min. or so.
0
 

Author Comment

by:sglee
ID: 38714610
I talked to RAID support person at LSI and they recommended against running CHKDSK /f.
Based on their request, I sent RAID controller diagnostic tool log to them and they said that their CARD memory is faulty. That is the reason it caused the problem with Exchange database. They are going to replace the card next week.
I scheduled "consistency" check in their RAID software program and I like to see if it will solve the problem.
At the same time I opened the case with Microsoft because I am concerned that there are two exchange databases and one of them is not going away.
I will keep you posted.
0
 

Author Comment

by:sglee
ID: 38714701
My windows backup starts at 11PM and I like to stop it because I do not want to backup corrupted exchange database and at the same time preserve a good backup.How do you stop scheduled windows server backup? I looked around, but I can't seem to find it in either Task Scheduler or Windows Server Backup program.
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38714739
Go to the sbs console from start menu
0
 

Author Comment

by:sglee
ID: 38717287
I ended up calling Microsoft Exchange Support engineer for help knowing the severity of the issue on my customer's server. I finally got the issue resolved.
In a nutshell, the support engineer did what you suggested that I do based on the link you provided.
http://www.virtualhelp.me/windows/579-exchange-2010-error-unable-to-mount-database

Thank you for your help.
0
 
LVL 8

Expert Comment

by:PaulD77
ID: 38717296
good to hear...happy holidays
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

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

14 Experts available now in Live!

Get 1:1 Help Now