Solved

repair exchange data base

Posted on 2014-02-20
12
430 Views
Last Modified: 2014-02-20
2007 exchange
I have a data base that is in a dirty shut down state. I copied the required transaction logs into a folder and ran the following command.

Eseutil /R E00 /L "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /s "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /d "E:\s2" /i
o   The command completed successfully.
 
¿  We ran the following in the command prompt to check the health of s3 databases.
o    Eseutil /MH "E:\s2\s3.edb"
-------------------------------
State: Dirty Shutdown
-------------------------------
Do I have to move the log files back before I check the database health.

Please Help
0
Comment
Question by:WIZU2
  • 6
  • 6
12 Comments
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39874380
Hello,

You were not supposed to move the logs, you were supposed to copy then. If you moved them, put them back then run:

Eseutil /r E00 /l <path to logs> /d <path to database>

If that doesn't succeed, you will have to try a hard repair:

Eseutil /d <path to database>

After running a hard repair, you will need to remove any log files.

-JJ
0
 

Author Comment

by:WIZU2
ID: 39874524
it says that it completes successfully but when I check the health it says that it is still dirty?
/d or /p for a hard repair?
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39874539
You will need to do a hard repair using /p

-JJ
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:WIZU2
ID: 39874541
After I run this
Eseutil /R E00 /L "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /s "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /d "E:\s2" /I

am I supposed to move those logs back to where I copied them from before I try a health check?
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39874560
No. Before you run Eseutil /R, you should copy the logs and database to another location in case something goes wrong and you need to restore them. After eseutil /r completes, you don't move or copy anything.

-JJ
0
 

Author Comment

by:WIZU2
ID: 39874650
I copied the transaction logs to a folder called requiredlogs including the E00.logs and E00.chk

I ran this

Eseutil /R E00 /L "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /s "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /d "E:\s2" /I

says it completes successfully

then I run
Eseutil /MH "E:\s2\s3.edb"

still says dirty shutdown. So the next step would be to run?????

Eseutil /P E00 /L "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /s "C:\Program Files\Microsoft\Exchange Server\Mailbox\RequiredLogs" /d "E:\s2" /I
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39874656
No, you don't run ESEUTIL against the copy. You need to run it against the originals.

-JJ
0
 

Author Comment

by:WIZU2
ID: 39874831
There is more than one database in the original folder. One of them in there mounts fine. I assume I would need to dismount the other database before I run this? Do I have to copy the databases somewhere first?
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39874859
Yes, you will need to dismount all the stores in the storage group as they share log files.

-JJ
0
 

Author Comment

by:WIZU2
ID: 39874898
So just to be sure try running this first

Eseutil /R E00 /L "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group" /d "E:\s2" /I

if that doesn't work run

Eseutil /P E00 /L "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group" /d "E:\s2" /I
0
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 500 total points
ID: 39874916
No.

Eseutil /r E00 /l "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group" /d "E:\s2"

If that doesn't succeed, you will have to try a hard repair:

Eseutil /d "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\<name>.edb"

Replace <name> with the actual file name.

After running a hard repair, you will need to remove any log files

-JJ
0
 

Author Comment

by:WIZU2
ID: 39874991
It worked....your Awesome!!
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Accepted Domain and Policies Exhange 2010 to 2016 3 44
Exchange without Clustering Redundancy 8 29
exchange 2007 5 20
In place upgrade Win2008R2 to Win2012R2 5 20
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a mailbox database 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 Servers >> Data…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

730 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