Solved

Exchange Store - Won't Mount, Repair Failed (DatabaseLogSetMismatch)

Posted on 2009-05-04
12
1,511 Views
Last Modified: 2012-05-06
Hey Everyone,

Not quite sure what is happening... The server blue screened, and Exchange wouldn't mount when it came back up. Traced through the event log and tried to run a soft recovery, here is what it said - I've never seen this before. Any ideas?

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating RECOVERY mode...
    Logfile base name: E00
            Log files: C:\Program Files\Exchsrvr\MDBData
         System files: <current directory>

Performing soft recovery...

Operation terminated with error -539 (JET_errDatabaseLogSetMismatch, Database does not belong with the current set of log files) after 5.0 seconds.
0
Comment
Question by:ryanj1987
  • 6
  • 5
12 Comments
 
LVL 3

Expert Comment

by:tompi68
Comment Utility
try to run eseutil /mh on the db. Is the db in clean or in dirty shutdown.
If it is in dirty shutdown, run eseutil /p on the database. After that remove all transaction log files out of the folder.
The db should mount. After that run eseutil /d on the db.
0
 
LVL 49

Expert Comment

by:Akhater
Comment Utility
As  a start try the following

COPY all the files (logs and db and all to another location)


delete all log files from the directory BUT the e00.log

so you should retain only

e00.log
*.edb *.stm *.chk


Try mounting it again.

If you are lucky it will work.


If not you will have to perform hard recovery and ignore the logfiles
0
 

Author Comment

by:ryanj1987
Comment Utility
Yes, it was a dirty shutdown.

Ran what you requested, said it wasn't up to date (Naurally, dirty shutdown). Said I should only run Repair on a damaged or corrupted dB. Bypassed it, and this is what it had to say...

Operation terminated with error -4001 (JET_errFileIOBeyondEOF, a read was issued to a location beyond EOF (writes will expand the file)) after 65.344 seconds.

Should I continue with your steps, Tompi68?
0
 

Author Comment

by:ryanj1987
Comment Utility
Akhater,

I'm not too worried about the Log files, any incoming mail that wasn't committed can easily be resent using the Barracuda (I'll just issue a re-mail on anything > crash date / time). How do I go about doing that, if the first suggestion doesn't work?
0
 
LVL 49

Expert Comment

by:Akhater
Comment Utility
If it is a dirty shutdown and you do not have logfiles then you are left with 2 options


1) Restore from recent backup (i'd advise you to start with this one)
2) run hard recovery

0
 

Author Comment

by:ryanj1987
Comment Utility
Akhater,

Okay. I'll have my tech load tapes when he gets in (I'm far away from the server, a few hour drive at least). What's the down side to running a hard recovery on one set of the files? (I've made an 'Orignal' copy that I can restore to). Is it just the loss of the inbound mail? How do I start a hard recovery?
0
Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

 
LVL 49

Expert Comment

by:Akhater
Comment Utility
hard recovery will take more time than a restore if your database is big, in both cases (restore and hard recovery) you will loose new emails without logfiles



what do you mean by >>I've made an 'Orignal' copy that I can restore to<<


for the repair mode http://technet.microsoft.com/en-us/library/aa997215(EXCHG.65).aspx



0
 

Author Comment

by:ryanj1987
Comment Utility
| what do you mean by >>I've made an 'Orignal' copy that I can restore to<<
>> By Orignial, I mean when the server came back up and wouldn't mount. The 'Bad' files, so I can always go back to what the server 'was' when it first came back up.

Again, new e-mails aren't a super huge issue. I can re-deliver them all back to exchange using Barracuda - it keeps all incoming mail for 6 months. We'd really only lose some internal mail, server went down fairly early into a 5/4 work day.
0
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
Comment Utility
Try a restore or a eseutil /P

0
 

Author Comment

by:ryanj1987
Comment Utility
Tried a eseutil /P and got this ...

Operation terminated with error -4001 (JET_errFileIOBeyondEOF, a read was issued to a location beyond EOF (writes will expand the file)) after 13.594 seconds.
0
 

Author Comment

by:ryanj1987
Comment Utility
Here's a few things from the Event Log

Information Store (4264) First Storage Group: Corruption was detected during soft recovery in logfile C:\Program Files\Exchsrvr\mdbdata\E00.log. The failing checksum record is located at position 1526:357. Data not matching the log-file fill pattern first appeared in sector 1653. This logfile has been damaged and is unusable.

Information Store (4264) First Storage Group: The log range read from the file "C:\Program Files\Exchsrvr\mdbdata\E00.log" at offset 781312 (0x00000000000bec00) for 512 (0x00000200) bytes failed verification due to a range checksum mismatch.  The expected checksum was 0 (0x00000000) and the actual checksum was 0 (0x00000000). The read operation will fail with error -501 (0xfffffe0b).  If this condition persists then please restore the logfile from a previous backup.

Information Store (4264) First Storage Group: Database recovery/restore failed with unexpected error -4001.

0
 
LVL 49

Expert Comment

by:Akhater
Comment Utility
Try restoring from backup it seems the E00 is corupted
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
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 Accepted Domain 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 >> Ac…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

728 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

12 Experts available now in Live!

Get 1:1 Help Now