[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1040
  • Last Modified:

Exchange 2007 unmounted database

Exchange is unable to mount database that you specified ..... error code : MapException.letErrorLogDiskFull:Unable to mount database . (hr+0X80004005, ec=529)

This error message I empty some of log files to an other folder still having same error urgent help needed
Thanks
Exchange 2007
0
mertmina
Asked:
mertmina
  • 30
  • 26
8 Solutions
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
First check if the database is in clean or dirsty shutdown state.

eseutil /mh "localion of .edb"

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
0
 
Sushil SonawaneCommented:
Check the database dirty shutdown state or not.

eseutil /mh "database edb file path"

Check the log file store drive disk space and make sure it is not full.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
mertminaAuthor Commented:
it is dirty shutdown
here is outcomeMicrosoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\administrator.AI>eseutil /mh "E:\exchsrv\mailbox\first storage group\ma
ilbox database.edb"

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

Initiating FILE DUMP mode...
         Database: E:\exchsrv\mailbox\first storage group\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:02/29/2012 18:57:33 Rand:13526892 Computer:
         cbDbPage: 8192
           dbtime: 1924818 (0x1d5ed2)
            State: Dirty Shutdown
     Log Required: 34611-34611 (0x8733-0x8733)
    Log Committed: 0-34611 (0x0-0x8733)
   Streaming File: No
         Shadowed: Yes
       Last Objid: 760
     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: (0x978,CB,123)  03/02/2012 10:53:28
      Last Attach: (0x979,9,86)  03/02/2012 05:53:56
      Last Detach: (0x0,0,0)  00/00/1900 00:00:00
             Dbid: 1
    Log Signature: Create time:02/29/2012 18:57:29 Rand:13498286 Computer:
       OS Version: (6.1.7601 SP 1 NLS 60101.60101)

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.110 seconds.
0
 
mertminaAuthor Commented:
The mail box database not full I emptied to an other file
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Log Required: 34611-34611 (0x8733-0x8733)
Get the logs and run the soft recovery.

Eseutil /R (Soft Recovery) – A Quick and Simple Tutorial
http://exchangeis.com/blogs/exchangeis/archive/2007/04/30/eseutil-r-soft-recovery-a-quick-and-simple-tutorial.aspx

Once done run the eseutil /mh command again to check the DB should be in Clean shutdown :)

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
You will have to get the Required logs files and run the soft recovery command to bring the Database into "Clean shutdown" state to be able to mount it.

- Rancy
0
 
mertminaAuthor Commented:
with this command I got the massage of
"operation terminated with error -1003 (Jet_errInvalidParameter, Invalid API parameter) after 0.16 seconds
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Can you please share a screenshot of the command and error.

- Rancy
0
 
mertminaAuthor Commented:
C:\Users\administrator.AI>eseutil /R "E:\Exchsrv\mailbox\storageRRC\mailboxRRC.e
db"
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.03
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating RECOVERY mode...
    Logfile base name: E:\Exchsrv\mailbox\storageRRC\mailboxRRC.edb
            Log files: <current directory>
         System files: <current directory>
Operation terminated with error -1003 (JET_errInvalidParameter, Invalid API para
meter) after 0.16 seconds.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
ESEUTIL /r E00 /L[path to log files] /d[path to database file] /i

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
ESEUTIL /r E00 /L[path to log files] /d[path to database file] /a /8 /i

- Rancy
0
 
mertminaAuthor Commented:
Here is what I get still dirty shutdown

C:\Users\administrator.AI>ESEUTIL /r E00 /L  "E:\Exchsrv\Mailbox\First Storage G
roup"  /d "E:\Exchsrv\Mailbox\First Storage Group.edb" /a /8 /i
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.03
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating RECOVERY mode...
    Logfile base name: E00
            Log files: E:\Exchsrv\Mailbox\First Storage Group
         System files: <current directory>
   Database Directory: E:\Exchsrv\Mailbox\First Storage Group.edb
Performing soft recovery...
Operation completed successfully in 0.547 seconds.
 
******************************************************************

C:\Users\administrator.AI>eseutil /mh "E:\Exchsrv\Mailbox\First Storage Group\ma
ilbox database.edb"
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.03
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating FILE DUMP mode...
         Database: E:\Exchsrv\Mailbox\First Storage Group\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:02/29/2012 18:57:33 Rand:13526892 Computer:
         cbDbPage: 8192
           dbtime: 1924818 (0x1d5ed2)
            State: Dirty Shutdown
     Log Required: 34611-34611 (0x8733-0x8733)
    Log Committed: 0-34611 (0x0-0x8733)
   Streaming File: No
         Shadowed: Yes
       Last Objid: 760
     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: (0x978,CB,123)  03/02/2012 10:53:28
      Last Attach: (0x979,9,86)  03/02/2012 05:53:56
      Last Detach: (0x0,0,0)  00/00/1900 00:00:00
             Dbid: 1
    Log Signature: Create time:02/29/2012 18:57:29 Rand:13498286 Computer:
       OS Version: (6.1.7601 SP 1 NLS 60101.60101)
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.94 seconds.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Do you have all the required logs in the location "E:\Exchsrv\Mailbox\First Storage G
roup" ??

- Rancy
0
 
mertminaAuthor Commented:
yes
I have copied to an other file the logs that I have delete
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
What logs deleted ??
If the required logs arent there .... we will have to Repair the DB :( ... what is teh size of DB ?

- Rancy
0
 
mertminaAuthor Commented:
26 GB
0
 
mertminaAuthor Commented:
how can I repair the database
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
ESEUTIL /P parameters
http://technet.microsoft.com/en-us/library/aa998231(v=EXCHG.80).aspx

Please create a copy of the Database file before running the Repair as it would remove all corrupted and damaged data.
ESEUTIL /P databasefilename.edb

Also if the users are in Outlook cache you can convert the OST to PST using Outlook.

- Rancy
0
 
mertminaAuthor Commented:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Users\administrator.AI>eseutil /P "E:\Exchsrv\mailbox\first storage group\mai
lbox database.edb"
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.03
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating REPAIR mode...
        Database: E:\Exchsrv\mailbox\first storage group\mailbox database.edb
  Temp. Database: TEMPREPAIR4136.EDB
Checking database integrity.
The database is not up-to-date. This operation may find that
this database is corrupt because data from the log files has
yet to be placed in the database.
To ensure the database is up-to-date please use the 'Recovery' operation.

                     Scanning Status (% complete)
          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................

Scanning the database.
                     Scanning Status (% complete)
          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................

Repairing damaged tables.
                     Scanning Status (% complete)
          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................

Repair completed. Database corruption has been repaired!
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 with 595 (JET_wrnDatabaseRepaired, Database cor
ruption has been repaired) after 184.31 seconds

This outcome bit still unable to mount the database with same error
0
 
mertminaAuthor Commented:
It shows clean shutdown right now but still log files full error
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Hope you have just the .edb (no .log no .chk no.jrs or any other files) ?

Can you mount a new Database ?

- Rancy
0
 
mertminaAuthor Commented:
I have 3 databases one of them still mounted but because of cluster I can only add one mailbox database to a storage it says now
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Is this a CCR or SCC ?
Can you please share some screenshot.

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Is now the Database in Clean or Dirty shutdown ??

- Rancy
0
 
mertminaAuthor Commented:
it is clean now
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Ensure all logs files ... chk or any other file in the Log adn DB location shouldnt be there apart from .edb and then try to mount.

- Rancy
0
 
mertminaAuthor Commented:
how can I do this
exc1.JPG
0
 
mertminaAuthor Commented:
0
 
mertminaAuthor Commented:
Those are screen shots
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Is this a SCC or CCR ?
Also check and try to bring the SG resource Online :)

- Rancy
0
 
mertminaAuthor Commented:
I am new  I don't know It should be SCR how I can understand this
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
What does it shows for COpy status in EMC in the same database location ....

Ensure all logs files ... chk or any other file in the Log adn DB location shouldnt be there apart from .edb and then try to mount.

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
The error says ..

MapException.letErrorLogDiskFull:Unable to mount database . (hr+0X80004005, ec=529)

- Rancy
0
 
mertminaAuthor Commented:
What I need to do log files are not full
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Do you mean to say that the log files folder location isnt full ? Are there any logs there ? if so how many ?
Did you remove all other logs, chk, jrs any termp files from the DB or Logs location and then try to mount ?

- Rancy
0
 
mertminaAuthor Commented:
I remove most of the logs , and all chk,jrs and the DB is 5 GB now it is not full and still same error. It shows clean shutdown
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Try running

Setup.com /PrepareAD from the setup folder location.

- Rancy
0
 
mertminaAuthor Commented:
"exchange server setup encountered an error" That is what I got
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Are all Exchange services running ?
Was any changes done and is the DC\GC contactable ?
Check event viewer for any errors.

- Rancy
0
 
mertminaAuthor Commented:
ONTARIO\First Storage Group
Microsoft.Exchange.Cluster.Replay.FileCheckLogfileGenerationException: File check failed : Logfile 'E:\Exchsrv\Mailbox\First Storage Group\E00.log' is generation 20826; however, the expected generation is 34612. at Microsoft.Exchange.Cluster.Replay.FileChecker.CheckLogfileGeneration(String logfilePath, Int64 generation, MJET_LOGINFOMISC loginfo) at Microsoft.Exchange.Cluster.Replay.FileChecker.CheckE00Log(String e00LogPath, MJET_LOGINFOMISC loginfo) at Microsoft.Exchange.Cluster.Replay.FileChecker.CheckE00Log() at Microsoft.Exchange.Cluster.Replay.FileChecker.RunChecks() at Microsoft.Exchange.Cluster.Replay.ReplicaInstance.ConfigurationChecker(Object stateIgnored)
ERROR 2070
0
 
mertminaAuthor Commented:
Nothing changed that is the error massage in event viewer
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Can you tell me what happened as this seems that your server somehow is looking for some different log files than present.

- Rancy
0
 
mertminaAuthor Commented:
Nothing it just stop working today and you know the rest of the story
0
 
mertminaAuthor Commented:
I am desperate what can I do now
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Did the server restart or something ?

If the database is clean and we dont have any other files in the Log or DB locations it should mount ..... Can you please make sure the DB's are clean with the correct location adn we dont have any other file and try to restart Information Store service.

Are all other Exchange services running on the server ?

Also as i asked did you try to mount database with Blank ?
Are the users in cache mode Outlook ? If so can we take the data from OST to PST ?
Was any changes done and is the DC\GC contactable ?
Hope the FSMO roles are with the GC ?

- Rancy
0
 
mertminaAuthor Commented:
I can create a new storage group and new mail database here but When I try to mount a database it shows error with the same outcome I have sent as an attachment before
0
 
mertminaAuthor Commented:
Not all of the user in cashed mode no change is done in DC It shows clean shutdown now
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Some issue for sure as "Setup.com /PrepareAD" should run without any issues and you cant even mount a new Database.

Where is the DC\GC ?
With what Exchanhge rights account are you logged into the Server ?
Did you try restaing your Exchange server ?

- Rancy
0
 
mertminaAuthor Commented:
DC\GC in an other server I restart server 2 times because it does not allow me to start the services in the first attempt and now same error when mounting the DB
0
 
mertminaAuthor Commented:
And still same error when I apply Setup.com /Prepare AD
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
What is the Exchange version and what rights does your account have ?
Hope your Physically on the machine and not doing VPN or remote ?
Your using the Same SP setup version file to run the "Setup.com /PrepareAD" :)

- Rancy
0
 
mertminaAuthor Commented:
Exchange 2007 SP2
I am using Logmein and connected to server by Remote desktop from another machine
I am using this setup.com on same server I have exchange
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Maybe that could be the issue ... can someone run this command physically ?

- Rancy
0
 
mertminaAuthor Commented:
I can do this tomorrow morning
0
 
mertminaAuthor Commented:
Thanks for everything for both of you it is running now but still 2 of 3 storage group shows one failed the anther suspended. do I need to do anything for them because all mailboxes are mounted.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
If its Suspended and failed means its CCR as i assume ....... so from the passive you need to use Update Storage Group.

- Rancy
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 30
  • 26
Tackle projects and never again get stuck behind a technical roadblock.
Join Now