Question

priv1.edb recovery

Asked by: pfsilva

Hello,
I ran across a corrupted priv1.edb exchange database. I followed the excellent article Dealing with Exchange Database Corruption by Brien Posey (in http://www.brienposey.com/kb/database_corruption.asp) but still can´t mount priv1.edb.
1) I'm running W2K Server and Exchange 2K with recent Service Packs applied.
2) I've run ESEUTIL /MH on my priv1.edb
3) I've run ESEUTIL with the p switch to repair
4) I've run ESEUTIL /MH again and found that the number of repairs done on the database were 2
5) I've tried to run ISINTEG -S servername -FIX -TEST ALLTESTS but received an error stating that ISINTEG stopped due to an invalid parameter.
6) I've run again ESEUTIL with the /d switch to defrag
7) I've run ESEUTIL /MH again and found that the number of repairs done on the database were now zero (0)
8) I've tried to mount priv1.edb but receive an error message saying that the mount was unsucessuful and that I should try to restart Exchange System Manager and/or the Exchange Infor. Store
9) I've gathered the event log and paste it here
.....................................A.............................
Event Type: Information
Event Source: ESE
Event Category: General
Event ID: 100
Date:  29-08-2003
Time:  13:44:23
User:  N/A
Computer: SNUCKERSERVER
Description:
Information Store (2040) The database engine 6.00.6249.0000 started.
For more information, click http://www.microsoft.com/contentredirect.asp.
.....................................B.............................
Event Type: Information
Event Source: ESE
Event Category: General
Event ID: 102
Date:  29-08-2003
Time:  13:44:23
User:  N/A
Computer: SNUCKERSERVER
Description:
Information Store (2040) 8f47d891-b071-466b-b70d-ae123f886ea6: The database engine started a new instance (0).
For more information, click http://www.microsoft.com/contentredirect.asp.
.....................................C.............................
Event Type: Information
Event Source: ESE
Event Category: Logging/Recovery
Event ID: 300
Date:  29-08-2003
Time:  13:44:25
User:  N/A
Computer: SNUCKERSERVER
Description:
Information Store (2040) 8f47d891-b071-466b-b70d-ae123f886ea6: The database engine is initiating recovery steps.
For more information, click http://www.microsoft.com/contentredirect.asp.
.....................................D.............................
Event Type: Information
Event Source: ESE
Event Category: Logging/Recovery
Event ID: 301
Date:  29-08-2003
Time:  13:44:26
User:  N/A
Computer: SNUCKERSERVER
Description:
Information Store (2040) 8f47d891-b071-466b-b70d-ae123f886ea6: The database engine has begun replaying logfile C:\Program Files\Exchsrvr\mdbdata\E00.log.
For more information, click http://www.microsoft.com/contentredirect.asp.
.....................................E.............................
Event Type: Information
Event Source: MSExchangeTransport
Event Category: Exchange Store Driver
Event ID: 334
Date:  29-08-2003
Time:  13:44:27
User:  N/A
Computer: SNUCKERSERVER
Description:
SMTP service instance 1 has been started.
For more information, click http://www.microsoft.com/contentredirect.asp.
.....................................F.............................
Event Type: Error
Event Source: ESE
Event Category: Logging/Recovery
Event ID: 494
Date:  29-08-2003
Time:  13:44:27
User:  N/A
Computer: SNUCKERSERVER
Description:
Information Store (2040) Database recovery failed with error -1216 because it encountered references to a database, 'C:\Program Files\Exchsrvr\mdbdata\priv1.edb', which is no longer present. The database was not brought to a consistent state before it was removed (or possibly moved or renamed). The database engine will not permit recovery to complete for this instance until the missing database is re-instated. If the database is truly no longer available and no longer required, please contact PSS for further instructions regarding the steps required in order to allow recovery to proceed without this database.
For more information, click http://www.microsoft.com/contentredirect.asp.
.....................................G.............................
Event Type: Error
Event Source: ESE
Event Category: Logging/Recovery
Event ID: 454
Date:  29-08-2003
Time:  13:44:27
User:  N/A
Computer: SNUCKERSERVER
Description:
Information Store (2040) Database recovery/restore failed with unexpected error -1216.
For more information, click http://www.microsoft.com/contentredirect.asp.
.....................................H.............................
Event Type: Information
Event Source: ESE
Event Category: General
Event ID: 101
Date:  29-08-2003
Time:  13:44:27
User:  N/A
Computer: SNUCKERSERVER
Description:
Information Store (2040) The database engine stopped.
For more information, click http://www.microsoft.com/contentredirect.asp.
10) I've noticed that on the mdbdata folder I've besides priv1.edb (and the other files associated with it) a bunch of log files and E00.log.
 
QUESTION
I) How can I recover from this situation?
II) Should I have E00.log and the other E00xx.log files on the mdbdata folder or should I cut them off there?
NOTE: After ESEUTIL procedures the priv1.edb files were consistent (as far as ESEUTIL reported)

Thanks in advance,
Pedro

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
2003-08-29 at 10:08:44ID20723964
Tags

recovery

Topic

Exchange Email Server

Participating Experts
9
Points
125
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. Priv1.edb
    I need to extract the mail boxes from a Priv1.edb. What is the best way of performing this task.
  2. Difference between priv1.edb and priv1.stm, need to …
    I need to determine the actual size of these files, I am having issues and i've posted a question under outlook app section, i can't even determine if it is a client side or server side, in my assumption i think it is server side exchange issue but thats what i am trying to n...
  3. Exchange 2000 CRC data error in priv1.edb but IS star…
    Please help, 1. IS runs fine, and no problems are evident untill I look at the logs. 2. When trying to do a backup on Exchange Server I get lots of I/O errors, backup stopped -1022... 3. My Pub1.edb/.stm files backup fine, but Priv1.edb doesn't, Priv1.stm seems to backup OK ...
  4. Exchange server hard disk crash priv1.edb 0KB - Exch…
    Hi First post.. We have had a production exchange 2000 server crash this morning (Hard disk failure, RAID 5 config yet it didnt remain redundant. Have now managed to rebuild the logical disk, but there has been file corruption) The priv1.edb file is 0KB the priv1.stm is 2.6...
  5. Database recovery help
    We have a Win2k3 server that does our email with Exchange 2k3. I didn't have a backup implemented (long story :-P) so when the server crashed and had to be wiped, I just pulled the MDBData folder out of C:\Program Files\Exchsrvr\ and wiped the machine. I have reinstalled Wi...

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: OneHumpPosted on 2003-08-29 at 10:50:10ID: 9249840

Pedro,

I respectfully suggest that you do one of two things:

1.  Restore from backup.

2.  Call Microsoft for support.

You are neck-deep in a very complicated issue.  I don't believe your issue can be fully worked in a forum.  If you have specific questions, I'm sure someone here can answer them, but working through a complex recovery scenario is not going to go well without being on the console.

We can't answer questions about log file preservation without knowing what's going on in the storage group.  If this goes wrong, you'll have more than one database with a problem.

If you have specific questions, please ask.  If you value your data, please call Microsoft.  That is the best advice I can give you.


OneHump

 

by: Exchange_AdminPosted on 2003-08-29 at 14:53:52ID: 9251792

Since you have run an ESEUTIL /P and ESEUTIL /D against the database, any log files remaining are no longer needed.
Make sure the database is in a CONSISTANT or Clean Shutdown  state. To do this run ESEUTIL /MH against the database. If it is consistant, then rename the MDBDATA folder containing the EDB logfiles to MDBDATA.LOGS.
Create a new MDBDATA folder.
Now try to start the Information Store service and mount your database.

If this fails or your databases are INCONSISTANT or DIRTY SHUTDOWN state, then I agree with OneHump about considering placing a call to Microsoft PSS.

 

by: seeimredPosted on 2003-08-30 at 10:53:17ID: 9254572

Once you've done the /p & /d, then Isinteg -fix -tests alltests... clear out all log files & the chk file, there's one more place you need to touch before mounting a recovered/restored database. I don't see anywhere in you recovery steps where this was done.  If you're familiar with Exchange 5.5 recovery, you'll recall you had to run Isinteg -patch before you could successfully start the IS. Well, in Exchange 2k, this is sort of built in to the GUI on the properties of the Mailbox Store. Check the box "Allow database to be overwritten with a restore" on the Database tab.

Make sure the service pack on the server matches what the database was maintained with originally.

That should be all you need and save you a call to PSS.

 

by: pfsilvaPosted on 2003-09-01 at 03:48:29ID: 9260837

OK Thans Exchange_Admin ....

It worked. I assume that as my exchange databases (priv1.edb and pub1.edb) were in a consistent state (checked by the state line in the ESEUTL /MH report and after good ESEUTIL /p & /d) I no longer need the log files. At least it worked.

Thanks to all that have contributed,

PS. OneHump, yes I think your answer is a wise one but I strongly believe in exchanging knownledge before... Thanks anyway.

Pedro

 

by: OneHumpPosted on 2003-09-02 at 10:57:50ID: 9268860

It's definitely great to Exchange knowledge, and I'm glad you got the answer you wanted.

My goal is zero data loss.  If you are running a repair on your database, you are at risk of losing data.  While I am aware of what my options are in those cases, I usually call Microsoft just to validate my solution.  If things to horribly wrong, I can tell management that Microsoft concurred.  This is more CYA than anything else.

If you are not completely clear about what to do, it becomes even more important to get proper help.  I certainly advocate exchanging knowledge, but the vendor should be used in parallel.

The reason I would not touch that question is because I'm not aware of the other stores in the affected storage group.  Messing with a repair in that case could jeopardize other data.  I believe that tremendous detail must exist before making an intelligent decision that could affect the outcome of a disaster recovery scenario.

Best of luck.  :)

OneHump

 

by: bobsensorPosted on 2004-03-17 at 13:22:45ID: 10618926

question for Exchange_Admin or pfsolva...

you say "If it is consistant, then rename the MDBDATA folder containing the EDB logfiles to MDBDATA.LOGS.
Create a new MDBDATA folder."

question: what do you put in the MDBDATA FOLDER???? just PUB1.EDB & PRIV1.EDB???

that you very much!


 

by: Exchange_AdminPosted on 2004-03-17 at 22:03:03ID: 10621336

This depends on your configuration.
Is the location of your logfiles the same as the location of your databases? If so, then you would only need the PRIV1.EDB and PUB1.EDB. If the databases are shut down cleanly then they should be in a consistent state. If they are in a consistent state then all the log files have been committed and are actually no longer needed.

I agree with OneHump. There are alot of things to consider. Number of databases, storage groups, etc.
Having worked for PSS in my past, I have seen many cases that could have been easily fixed if they only would have called first before trying different things.
It is kind of like plumbing, if you aren't careful, you can really make things alot worse. :)

 

by: MiniVealPosted on 2004-04-15 at 10:19:49ID: 10835117

THANK YOU! THANK YOU! THANK YOU!

After reading through your account and fix I was able to fix my own store.  Is this site great or what!?

 

by: rakeshgurmelPosted on 2004-06-30 at 21:32:44ID: 11443198

I have a corrupt exchange database store and the store wond mount I have reinstalled new exchange server, and got exchange up and running. Cause back is not working and I have copied all old exchange files to a network drive. I have priv1 and pub file with log, I would like to know if there is a way to extract email, contact etc  from priv database.

Any solution to my solution


 

by: abiberPosted on 2004-08-10 at 09:33:40ID: 11764733

You guys rule! Thank you Exchange Admin. After /p and /mh , verified cleanliness, I still could not mount. Wiping the Logs fixed it, It never occured to me that those were live files.

 

by: nathanaclarkPosted on 2008-03-01 at 08:21:17ID: 21022214

You guys have saved me again. This question may be 4 years old, but still very relevant! Thank you!!

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...