Link to home
Start Free TrialLog in
Avatar of garethcairns
garethcairns

asked on

Exchange 2010 Wont Mount - In Dirty Shutdown State

Have a new customer running a Server 2008 and Exchange 2010 installed by a previous company.

Exchange Server 2010 as of 12:25pm has dismounted. When I try and remount the database it fails.

First I receive a At least one committed transaction log file is missing message. If I accept this I get the following error


--------------------------------------------------------
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. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)
. [Database: Mailbox Database, Server: IBMSERVER.express.local].

An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)
. [Database: Mailbox Database, Server: IBMSERVER.express.local]

An Active Manager operation failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)
. [Server: IBMSERVER.express.local]

MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)

--------------------------------------------------------
OK
--------------------------------------------------------

Errors in event logs include


Active Manager failed to mount database Mailbox Database on server IBMSERVER.express.local. Error: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)

An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)

These are the results when I do C:\Users\Admin>eseutil /mh "E:\Program Files\Microsoft\Exchange Server\V14\Mailb
ox\Mailbox Database\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:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbo
x Database\Mailbox Database.edb


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

Fields:
        File Type: Database
         Checksum: 0xe08b5ae
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,17
 Engine ulVersion: 0x620,17
Created ulVersion: 0x620,17
     DB Signature: Create time:07/31/2011 06:18:45 Rand:1492038 Computer:
         cbDbPage: 32768
           dbtime: 21286391 (0x144cdf7)
            State: Dirty Shutdown
     Log Required: 35570-35575 (0x8af2-0x8af7)
    Log Committed: 0-35576 (0x0-0x8af8)
   Log Recovering: 35575 (0x8af7)
  GenMax Creation: 09/01/2011 12:23:55
         Shadowed: Yes
       Last Objid: 8284
     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: (0x87F9,8,1F)  08/31/2011 07:41:26
      Last Attach: (0x87FA,9,86)  08/31/2011 07:41:46
      Last Detach: (0x0,0,0)  00/00/1900 00:00:00
             Dbid: 1
    Log Signature: Create time:07/31/2011 06:18:43 Rand:1470494 Computer:
       OS Version: (6.1.7600 SP 0 NLS ffffffff.ffffffff)

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: 28261-28401 (0x6e65-0x6ef1) - OSSnapshot
           Mark: (0x6EF1,42,18)
           Mark: 08/15/2011 23:08:01

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.47 seconds.

Any Ideas?
 
Avatar of Systech Admin
Systech Admin
Flag of India image

Did you have a dirty shutdown to this server???
Avatar of garethcairns
garethcairns

ASKER

At this stage I am not aware of how or why the Exchange server got into a dirty shutdown state.

Update - When I tried to do a Hard Repair I get a Operation Terminated with error 1620 Decompression failed Data could not be decompressed
Please check the Exchange databas state by using exchange eutisl cmnds
Which cmnds specifically. I ran eseutil /mh with the results as per the first post.

The Database is in Dirty SHutdown State
If I try and do a repair I get the following error.



C:\>eseutil /p "E:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox D
atabase\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:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox
 Database\Mailbox Database.edb
  Temp. Database: TEMPREPAIR13152.EDB

Checking database integrity.

                     Scanning Status (% complete)

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



Operation terminated with error -1312 (JET_errIllegalOperation, Oper. not suppor
ted on table) after 45.739 seconds.


What does that mean?
If I check the Log files I get the following error


C:\Users\Admin>eseutil /ml "C:\Program Files\Microsoft\Exchange Server\V14\Mailb
ox\Mailbox Database"

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

Initiating FILE DUMP mode...

      Base name: Mai
      Log file: C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox D
atabase
                ERROR: Cannot open log file (C:\Program Files\Microsoft\Exchange
 Server\V14\Mailbox\Mailbox Database). Error -1032.

Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access fi
le, the file is locked or in use) after 0.15 seconds.


Make sure you have enough free space on the exchange server.
You can also try copying the database (recommended) to another location on the server and run the eseutil /p from there
It's not a space issue.

Can anyone tell me specifically what the above errors mean? For instance why access is denied when i try and check the log files or why the data integrity check might fail?
Well access denied means some program, some command window, something has its fingers on the file/files Try shutting down all exchange services and see if you can access the file cleanly then. Try downloading process monitor from sysinternals and sort by disk activity, it will then show you what has a lock on the file/files

The user account the application is running under doesn't have permissions
to write to the data directory.
That is usually something that is easily fixed, you should be able to write
to your own directory
ASKER CERTIFIED SOLUTION
Avatar of Systech Admin
Systech Admin
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Not getting very far at all.

Can anyone let me know why this error occurs when I try and mount the database and any fixes when an error relating to log files missing occurs.

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. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)
. [Database: Mailbox Database, Server: IBMSERVER.express.local].

An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)
. [Database: Mailbox Database, Server: IBMSERVER.express.local]

An Active Manager operation failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)
. [Server: IBMSERVER.express.local]

MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database. (hr=0x80004005, ec=-586)
it is basically saying there are log files that are needed to bring the database back into a consistent mode. This usually involves replaying the log files. But since you are missing the log files the eseutil will not automatically mount accepting data loss
use Mount-Database -Identity 'mail.yourdomain.com\Mailbox Database" -acceptdataloss from powershell will ignore the missing log files.
This means mail that is not committed will be lost
The question was not answered