Avatar of aarondarr
aarondarr asked on

SBS 2003 exchange database corrupt

on SBS 2003:

after running C:\Program Files\Exchsrvr\MDBDATA>"C:\Program Files\exchsrvr\BIN\eseutil" /ml e00.log

I get this below but dont know what to do next?



C:\Program Files\Exchsrvr\MDBDATA>"C:\Program Files\exchsrvr\BIN\eseutil" /ml e0
0.log

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating FILE DUMP mode...

      Base name: e00
      Log file: e00.log
      lGeneration: 539 (0x21B)
      Checkpoint: NOT AVAILABLE
      creation time: 01/23/2009 05:02:08
      prev gen time: 01/22/2009 14:55:16
      Format LGVersion: (7.3704.8)
      Engine LGVersion: (7.3704.8)
      Signature: Create time:08/02/2008 12:05:04 Rand:2991510 Computer:
      Env SystemPath: C:\Program Files\Exchsrvr\mdbdata\
      Env LogFilePath: C:\Program Files\Exchsrvr\mdbdata\
      Env Log Sec size: 512
      Env (CircLog,Session,Opentbl,VerPage,Cursors,LogBufs,LogFile,Buffers)
          (    off,    252,  12600,   1741,  12600,    500,  10240, 147456)
      Using Reserved Log File: false
      Circular Logging Flag (current file): off
      Circular Logging Flag (past files): off
      1 C:\Program Files\Exchsrvr\mdbdata\priv1.edb
        dbtime: 3464046 (0-3464046)
        objidLast: 1431
        Signature: Create time:08/02/2008 12:05:05 Rand:3013991 Computer:
        MaxDbSize: 0 pages
        Last Attach: (0x206,679,1CD)
        Last Consistent: (0x206,672,16)
      2 C:\Program Files\Exchsrvr\mdbdata\pub1.edb
        dbtime: 1219504 (0-1219504)
        objidLast: 2543
        Signature: Create time:08/02/2008 12:05:04 Rand:2985700 Computer:
        MaxDbSize: 0 pages
        Last Attach: (0x206,679,F9)
        Last Consistent: (0x206,678,56)

      ERROR: Log damaged (unusable). Last Lgpos: (0x21b,20F9,0). Error -501.

Operation terminated with error -501 (JET_errLogFileCorrupt, Log file is corrupt
) after 1.78 seconds.




C:\Program Files\Exchsrvr\MDBDATA>

ExchangeSBSWindows Server 2003

Avatar of undefined
Last Comment
abhi_ak

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
rakeshmiglani

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
abhi_ak

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
aarondarr

I will need to do a hard repair as all the backups are not working correctly.





C:\Program Files\Exchsrvr\MDBDATA>"C:\Program Files\exchsrvr\BIN\eseutil" /ml pr
iv1.edb

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating FILE DUMP mode...

      Base name: pri
      Log file: priv1.edb
                ERROR: Cannot read log file header. Error -514.

Operation terminated with error -514 (JET_errBadLogVersion, Version of log file
is not compatible with Jet version) after 1.15 seconds.




C:\Program Files\Exchsrvr\MDBDATA>
ASKER
aarondarr

if it comes down to it.. I have backups of all the users pst files as of yesterday, all users are told to back them up each week.. there is only 10 users? can I create the database again and import the pst files?



rakeshmiglani

>>"C:\Program Files\exchsrvr\BIN\eseutil" /ml priv1.edb
this command is not correct
you need to use the /mh switch
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
abhi_ak

Hi,
Firstly as rakesh said you have run a wrong command. You have to run eseutil /mh priv1.edb

But ir-respective it does not matter now coz if your E00.log is corrupted there are really very few options to get your database mounted if its in a dirty shutdown state.

Please get the dump of the eseutil /mh on priv1.edb over here.

To do a hard repair it's a 3 step process.

1. Hard Repair : eseutil /p priv1.edb (This runs at approximately 4 to 5 GB/hr and will take that much time based on your DB size.)
2. Offline Defrag : eseutil /d priv1.edb (Before you run this step make sure you have 110% free space relative to your DB Size on the drive which has you database. So if your db is 10GB you need to have more than 11GB free on the same drive, if you do not have that much space please let us know and we will give you a workaround)
3. ISINTEG : isinteg -s <Servername> -fix -test alltests (This is required to fix all logical errors in your database)

If you do a hard repair, please make sure you follow all 3 steps in order.

You can always create a new DB and import all the PST's. To create a new DB you just have to make sure you move all the log files and the database files of the previous database to a different location and then try to mount the store.

The moment you try to moment the store it will automatically detect that there is no DB present in the location and will prompt you to create a new one. You just say yes to it and the store gets mounted with the new DB.

After that you start importing the PST files to the server either from users outlook or by using Exmerge. (Exmerge can be used only if the PST files are in ANSI format, by default PST files created by Outlook 2003 and 2007 are in Unicode format and cannot be bulk imported using ExMerge)

Please feel free to get back to us if you still have any more doubts or questions.

Regards,
Abhijeet K.
ASKER
aarondarr

thankyou Abhijeet and rakeshmiglani

i get stuck on step 3 with

Error: unable to get databases status from the server. The reason could be either wrong server name or networking problems

using: isinteg -s bajariaserv1 -fix -test alltests
rakeshmiglani

what happened to the eseutil /mh command?
did that complete?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
aarondarr

i started the information store service (with mount database unchecked) and ran again, it gave me the option to pick the mailbox store but pushed out this error..

isinteg canot initiate verification process. Please review the log file for more information



...where would I find the log file to look through?
ASKER
aarondarr

the /mh command terminated with error 1811 file not found
rakeshmiglani

please paste the complete command that you tried to run.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
abhi_ak

Hi,
Please do the following.

1. If the offline defrag and repair has completed in that case you need to mount the store once and dismount it so that isinteg runs on the database.

I forgot to mention this step sorry for the inconvienance. Mount the store once and dismount it immidiately and then run isinteg the command that you ran is correct.

lemme know if you have any problems or questions.

Regards,
Abhijeet K
ASKER
aarondarr

it fails on mounting.. it still says it is corrupt
rakeshmiglani

move out all the logs from the existing logs folder to another folder.
do the same for the .chk file also (if it is not in the same location)
try to mount the database.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
aarondarr

great that worked. are there anymore steps? do I follow the same instructions for the public folder store?
rakeshmiglani

first check if it is clean shutdown
abhi_ak

yup... run eseutil /mh on pub1.edb and check the state.

if its clean shutdown in that case you dont need to run anything on it.

if not then follow the same process.

let me know if you have any more doubts or questions.

Regards,
Abhijeet K
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy