Solved

repair exchange data base

Posted on 2014-02-20
12
425 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
Does Powershell have you tied up in knots?

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

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
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…

810 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