Link to home
Start Free TrialLog in
Avatar of WIZU2
WIZU2

asked on

repair exchange data base

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
Avatar of Jamie McKillop
Jamie McKillop
Flag of Canada image

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
Avatar of WIZU2
WIZU2

ASKER

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?
You will need to do a hard repair using /p

-JJ
Avatar of WIZU2

ASKER

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?
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
Avatar of WIZU2

ASKER

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
No, you don't run ESEUTIL against the copy. You need to run it against the originals.

-JJ
Avatar of WIZU2

ASKER

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?
Yes, you will need to dismount all the stores in the storage group as they share log files.

-JJ
Avatar of WIZU2

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Jamie McKillop
Jamie McKillop
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of WIZU2

ASKER

It worked....your Awesome!!