Question

Database Corruption in MS Exchange 2007 Databases...

Asked by: DWTCIT

Hi,

We are running a two node clustered mailbox configuration on Windows 2003 EE x64 SP2, MS Exchange 2007 SP1. We noticed that in the last week, several of our databases are getting corrupted we are having serious downtime on our email. The error which seems to be coming up in the Application Log most often is :

Event Type:      Error
Event Source:      ESE
Event Category:      Database Corruption
Event ID:      467
Date:            2/16/2009
Time:            10:57:43 AM
User:            N/A
Computer:      DWTCEXCMB2
Description:
MSExchangeIS (3560) Third Storage Group: Database U:\Third Storage Group\Mailbox Database 8.edb: Index Content Indexing Property Store Deleted Items index of table I-3-1 is corrupted (0).

For more information, click http://www.microsoft.com/contentredirect.asp.


We have 5 Storage Groups with more than 16 databases - total approximate size of Exchange DBs is about 1.4TB (yes it is huuuuge!).

We are repairing these databases with ESEUtil and we are able to recover them but it takes several hours and after that they get corrupted again or other databases get corrupted.

Any advice on where we should be looking to figure out this error message. There are hundreds of these messages in the event viewer.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-02-15 at 23:09:32ID24145756
Tags

database

,

corruption

,

ms exchange

,

2007

,

exchange

,

e-mail

,

microsoft

Topic

Exchange Email Server

Participating Experts
3
Points
500
Comments
12

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. ESEUTIL
    What is the function of ESEUTIL /mh? Here is the story. Last night my backup would not finish. It stopped on the information store and indicated corrupt messages. I tried to abort the job and couldn't even do that!! I finally stopped the services and rebooted the server an...
  2. eseutil /p fails on exchange 2000 server
    Hi, got an exchange database that has been failing to backup due to read errors, and now it has died. I have run eseutil /r, and eseutil /p (but not eseutil /mh yet) eseutil /p gets to the 3rd scanning phase and aborts with the following error: Operation terminated with er...
  3. ESEUTIL - Corrupted Exchange 2000 Databse will not m…
    I am trying to do repair on database in exchange 2000 - can never get eseutil to work keep getting jet database errors.... help /s<file> - set streaming file name (default: NONE) /t<db> - set temp. database name (default: TEMP...
  4. ISINTEG and ESEUTIL Corrupt Database
    Hi, I have a corrupt database in exchange... Symantec backup is showing use emails as being corrupt and will not backup. Last night I took the Database offline then ran the eseutil /d on the database and still it shows corrupt emails. What do I use to fix the corrupt emai...
  5. eseutil and operations of
    I have 4 message stores on my system with each being about 30 gigs in size. I take one message store offline at at a time to do compaction on it which minimizes having my whole organization offline. We run 7 days a week 24 hours a day. Problem I am having is that the es...
  6. eseutil utility
    I am having problems with backing up my exchange database. It comes back as corrupt database and it says to run eseutil utility to defrag it. When I run the defrag I get this error message "Operation terminated with error -1018 (JET_errReadVerifyFailure, Checksum error...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: x-samPosted on 2009-02-15 at 23:45:47ID: 23647545

Try to Follow this Microsoft Article...
http://support.microsoft.com/kb/329817

There are two ways to resolve this issue :
1)
we have to run ISISNTEG which will
help to remove logical corruption from database

2) create a new store and move all the maliboxes to that store.. and then discard this store...
The reason i said this is ... when we move mail box to a diff store.. it leaves behind all the corruption.
So the mailboxes which are moved would be perfectly clean with out corruption...

-x

 

by: DWTCITPosted on 2009-02-15 at 23:51:49ID: 23647574

Dear x-sam,

Thanks for your reply. We have tried both options separately and have had corruptions in same (and other databases) after these tasks were completed successfully.

Thanks for your help.

 

by: x-samPosted on 2009-02-16 at 00:26:48ID: 23647727


Perfect.. so is the issue resolved or u stil have any problem?

 

by: DWTCITPosted on 2009-02-16 at 00:44:50ID: 23647795

Hi x-sam,

No the problem is still there - the corruptions keep coming back after we completed the tasks you mentioned. We had tried these about two nights ago and the database was fine (clean) but the errors returned and db is now corrupted again :-(

Any other ideas?

 

by: abdulzisPosted on 2009-02-16 at 00:53:24ID: 23647831

Sounds like a hardware (disk) or third party issue.

Do you have any file level anti-virus scanning the database and log files?
Look in the system log for disk related errors
Get a health check done by your disk vendor to see if they are functioning properly.

 

by: x-samPosted on 2009-02-16 at 01:17:30ID: 23647934

check the exclusions on the anti virus...it should exclude exchsrc folder, inetsrc, inetpub..
check if you are getting any 327 or any other errors like 447 etc.... try changing the location of the database to a different drive...

 

by: kevalaPosted on 2009-02-16 at 13:02:13ID: 23653765

ISinteg typically does not resolve the ESE corruption errors like this, because it is at the physical level (the 4kb pages), which can only be handled by ESEutil.

If the problem is repeating, or spreading, it is most likely as previously mentioned, a  hardware problem. These errors happen when there is a bad checksum detected in one or more of the database pages. I.E. A checksum is written to each 4kb page, and to it's spot on the disk. (which should match) If the hardware mis-writes this, or reads it improperly, it will be considered a bad checksum, or corrupted. You get several warnings because we attempt 16 to 18 read attempts, then give a final ESE error.

If you can avoid repairing the same databases over and over, it is in your best interest because you will eventually have a useless database, unless you are doing the offline defrag after each repair, which effectively gives you a new database. I would try to restore from backup if possible when the corruption occurs. So basically, get a good backup of each database (after repairing, or restoring from a previous good backup), then if the corruption occurs, restore from backup and let it play through logs. This is much better than going through ESEUTIL /P, then ISINTEG -FIX, then ESEUTIL /D every time, on every database.

However, managing the databases like this is only a temporary fix, you need to run some serious hardware diagnostics to find out what keeps causing the bad checksums, or the misread checksums in the databases. The common causes are memory, bad disks, firmware updates, etc.

Also, as mentioned, antivirus file level scanning can cause this, but is not as common as hardware causing it. This will keep happening over and over until you find the hardware problem and/or eliminate the antivirus.

 

by: DWTCITPosted on 2009-02-17 at 02:13:38ID: 23657841

Dear Kevala,

Your comments were very useful. We have cross checked the storage and storage controller logs and found no i/o related errors which is why we are looking for logical problems in the database.

Another strange happening is that once a particular database gets corrupted (Engineering DB) it goes offline and brings down all other databases as well. After this, Engineering does not come online without a recovery/restore but sometimes the other ones do. If this happens a few times, then the other databases get corrupted as well and require a recover/restore.

I have found the following error in the Engineering DB :

Event Type:      Error
Event Source:      EXCDO
Event Category:      General
Event ID:      8199
Date:            2/17/2009
Time:            8:02:11 AM
User:            N/A
Computer:      DWTCEXCMB2
Description:
Calendaring agent failed in message save notification with error 0x800703eb on user.name@domain.com: /Calendar/Emergency Procedures and Major Incident Planning.EML.


I found that this particular user (user.name) has one calendar occurrence which exceeded the 1300 limit mentioned in :

http://support.microsoft.com/kb/943371/

For the time being, I am restoring the Engineering DB and this user is in that database. I will try to bring up the DB and then remove the 1300 calendar occurrence and see if the above error disappears. Right now it is a case of eliminating the obvious errors.

Will keep you posted.

Thanks for your help.

 

by: x-samPosted on 2009-02-17 at 04:27:29ID: 23658632

The error 8199 comes only if some mailboxes have more than 1,300 recurring appointments. EXCDO has a limit of 1,300 recurring appointments.To resolve this problem in Exchange Server 2007 Service Pack 1, install Update Rollup 6 for Exchange Server 2007 Service Pack 1. it was already resolved by rollup1 but still upgrade it to rollup 6 which is just released .

 

by: kevalaPosted on 2009-02-17 at 10:23:38ID: 23662565

The reason 1 database going offline is affecting all; is because information about all stores is kept in the log files. So basically, when you try to being one of the stores online, it does a soft recovery (replay of the logs) and even though you are trying to mount "mailbox store 1", it will error/fail referencing "mailbox store 3"...

If this happens again:
1. Move out the corrupted database.edb file
2. Open a command prompt and switch to the Exchange "bin" folder
3. Run the following:    "Eseutil /r Exx /i"

NOTE:  Exx is the prefix of the log for the storage group. Like E00, E01, etc.
NOTE2:  the "/i" in the eseutil command tells eseutil to ignore missing database files

This way you can at least try to get the other stores up while you recover the corrupted one.

However, there is still something going on.. Hardware, or 3rd party software related.
I would seriously consider the thought of removing ALL 3rd party applications, and calling the hardware vendor in for some assistance.

NOTE3: If you remove AV, just make sure you have the mail scanning/filtering through another server or host first.

 

by: DWTCITPosted on 2009-02-19 at 04:58:11ID: 23680738

Okay - thank you for all your replies.

After consulting with Microsoft for more than 30 hours - they recommended that we put the database in recovery mode and create a fresh dial-tone database. After this, we allowed the users to connect to the fresh database (with no e-mails, calendars etc) and then we began the process of merging the corrupted database with the new one. This process took several hours and the corrupted data in the DB was left behind.

Essentially all the errors have disappeared from the event logs on the MB server but now we are facing some new challenges. The most major one is that there are some users who can not see any of their rules or calendar entries in their newly created mailbox but their e-mails have been restored. Another related issue is that when they receive a calendar appointment - they are unable to open it or dismiss it. Error message is "Cannot turn off the reminder. You may be reminded again".

Any ideas?

 

by: x-samPosted on 2009-02-19 at 20:06:58ID: 23688777

Ask those users to create a new Outlook Profile and test the same....
OR
I guess you will have to run the ISINTEG command on the database... this will remore the logical corruption in it....

can you tell me with whom did you work in Microsoft... [His name] if you dont mind...

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...