Solved

repair exchange data base

Posted on 2014-02-20
12
419 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
Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

 
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

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
To show how to create a transport rule 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 >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.

743 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