Solved

repair exchange data base

Posted on 2014-02-20
12
421 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
 

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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Can’t get the mobile email signature right?

Not having any luck when trying to create an email signature for mobile devices? Does the formatting keep messing up? Make sure you have great email signatures on all devices by using Exclaimer Cloud - Signatures for Office 365.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an email address policy 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 Mail Flow…
how to add IIS SMTP to handle application/Scanner relays into office 365.

895 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

11 Experts available now in Live!

Get 1:1 Help Now