Solved

Dirty shutdown to Clean Shutdown

Posted on 2016-07-21
9
53 Views
Last Modified: 2016-08-29
Hi Expert,

Trying restore mailbox from the .edb file,

[PS] C:\Recoverdatabse\RBD>Eseutil /mh DDB01.edb.

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

Fields:
        File Type: Database
         Checksum: 0xfbbd8216
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,20
 Engine ulVersion: 0x620,20
Created ulVersion: 0x620,20
     DB Signature: Create time:10/18/2015 23:20:42.023 Rand:3055696134 Computer:
         cbDbPage: 32768
           dbtime: 883331822 (0x34a692ee)
            State: Dirty Shutdown
     Log Required: 1262926-1263028 (0x13454e-0x1345b4)
    Log Committed: 0-1263029 (0x0-0x1345b5)
   Log Recovering: 1263029 (0x1345b5)
  GenMax Creation: 06/10/2016 19:01:25.983
         Shadowed: Yes
       Last Objid: 129667
     Scrub Dbtime: 0 (0x0)
       Scrub Date: 00/00/1900 00:00:00
     Repair Count: 0
      Repair Date: 00/00/1900 00:00:00.000

To make database clean shutdown, I ran following comdlet.

[PS] C:\Recoverdatabse\RBD>eseutil /r "E06" /l "C:\Recoverdatabse\RBD\_restoredLogs"  /d "C:\Recoverdatabse\RBD\DDB01.edb"

Got the following error.

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

Initiating RECOVERY mode...
    Logfile base name: E06
            Log files: C:\Recoverdatabse\RBD\_restoredLogs
         System files: <current directory>
   Database Directory: C:\Recoverdatabse\RBD\DDB01.edb

Performing soft recovery...
                      Restore Status (% complete)

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



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

Any hint would be appreciated.
0
Comment
Question by:Ali-Raza111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 17

Expert Comment

by:Ivan
ID: 41724753
Hi,

did you run PS with "Run as admin"?

Regards,
Ivan.
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 41724847
And, did you stop all of the Exchange and Antivirus services?
Something with a higher authority (the SYSTEM account?) jumped in and opened that file.
0
 

Author Comment

by:Ali-Raza111
ID: 41725042
@Ivan,

I did run PS with Exchange Admin.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:Ali-Raza111
ID: 41725045
@Davis McCarn

I'm restoring mailbox from the database, Do you think I really need to stop services for production server?
0
 

Author Comment

by:Ali-Raza111
ID: 41725049
Somehow I'm very close you solve the issue.

Can Any one help me to understand this.

To resolve this, run soft recovery with the “/i ” switch at the end and it will override the EDB-STM mismatch.

Thank you
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 41725288
That /I switch is for when the attachment database is missing files and I don't think it will help you.
And no, now that I look further, if those are backup copies of the database you have copied or restored, downing the active  exchange services shouldn't be necessary.  Instead;though, you might want to stop your antivirus/security software while you run it.  Again, something jumped in and opened that file!
0
 

Author Comment

by:Ali-Raza111
ID: 41729844
Thank you all for the assistance, I have done the Hard Recovery to restore mailbox, Which works for me.
0
 
LVL 43

Accepted Solution

by:
Davis McCarn earned 500 total points (awarded by participants)
ID: 41750200
We don't know what the author meant by "Hard Recovery" so don't know what was done to fix it.
As it stands, I vote for delete, not enough information to confirm an answer.
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 41774457
What I already said in that post and I hope the question is deleted.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This video discusses moving either the default database or any database to a new volume.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

624 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