• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Dirty Shutdown & eseutil

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2003] >> General >> Dirty Shutdown & eseutil Page: [1]
Login
Message << Older Topic   Newer Topic >>
Dirty Shutdown & eseutil - 2.Jan.2006 8:56:44 AM   
steve02a

 

Posts: 33
Joined: 2.Mar.2005
From: California
Status: offline
I've discovered (and you might see from my other posting here) that I have a bad database file for my exchange.
Most likely, my priv1.edb is all wacko - which of course, has caused my exchange email to pretty much shut down and not
let me mount the mailbox stores.

Anyhow...I've been attempting to run the eseutil /r <log file name> command and it's not working because of a dirty shutdown.

I found the database was in a dirty shutdown (vs. a clean shutdown) because I ran the eseutil /k priv1.edb and it told me.

Here's a little nibble from the results:
File: priv1.STM
ERROR: database was not shutdown cleanly (dirty shutdown)


Operation terminated with error -550 (JET_errDatabaseDirtyShutdown, Database was
not shutdown cleanly. Recovery must first be run to properly complete database
operations for the previous shutdown.) after 161.94 seconds.

So, I run the eseutil /r priv1.edb to see if I can do a soft recovery and I get:

Initiating RECOVERY mode...
   Logfile base name: priv1.edb
           Log files: <current directory>
        System files: <current directory>
Operation terminated with error -1003 (JET_errInvalidParameter, Invalid API para
meter) after 0.0 seconds.

So I find out my database is in a dirty shutdown state.  I try to recover it, and it won't let me.  What do you think I should do next - or maybe I'm missing a step?  Btw, what would cause the dirty shutdown state in the first place?
Post #: 1
RE: Dirty Shutdown & eseutil - 3.Jan.2006 1:30:33 AM   
steve02a

 

Posts: 33
Joined: 2.Mar.2005
From: California
Status: offline
I just wanted to let everyone know my issue has been resolved and my email is back up and running fine.

I ended up getting free support from Microsoft since my company is a partner w/them.  My resolution was:


Ran the eseutil /p frorm the BIN folder and repaired both the priv1.edb and pub1.edb files.
Deleted the log and chk files.
Ran a defrag on the stores . eseutil /d
Ran isinteg (isinteg -s servername -fix -test alltests) frorm the bin folder.
Mounted the stores.

I was weary about running the eseutil /p - since I've read horror stories about using /p - but it worked out fine for me.

Hope someone can use this in the future.

(in reply to steve02a)
Post #: 2
RE: Dirty Shutdown & eseutil - 3.Jan.2006 4:51:05 AM   
Exchange_Admin

 

Posts: 376
Joined: 23.Feb.2003
From: Texas
Status: offline
Those are almost the steps I gave you in your other question. Glad you got everything back up and running.

And you were correct to be leary of ESEUTIL /P. What happens when you run this is that ESEUTIL is that each 4 KB page is checked for errors. If an error is found then it tries to correct it. If the error cannot be found then that page of the database is discarded (thus data loss). I have seen an entire 13 GB database be empty after running ESEUTIL /P. But I have also seen outcomes like yours.
This is why a good backup plan is essential. And test these backups. The last thing you want in a crisis situation is to have to figure out how to restore a backup. There are several disaster recovery whitepages on the internet. As a matter of fact Microsoft has one that you can download.

(in reply to steve02a)
Post #: 3
RE: Dirty Shutdown & eseutil - 8.Mar.2011 12:56:33 PM   
haydenhancock

 

Posts: 2
Joined: 8.Mar.2011
Status: offline
Can you expand of this a little bit?

Which log and chk files were deleted? Do you have to delete these files before running the defragmentation?

(in reply to Exchange_Admin)
Post #: 4
RE: Dirty Shutdown & eseutil - 9.Mar.2011 12:51:20 AM   
uemurad

 

Posts: 8232
Joined: 7.Jan.2004
From: California, USA
Status: offline
First, you do realize you're responding to a thread that's been inactive for 5 years?

The LOG and CHK files mentioned would be the ones associated with the particular mailbox store.  If you are running Standard Edition, there is only one set.  If you are running Enterprise Edition they are the ones associated with the Storage Group.

You do not ordinarily do anything with those files performing an offline defrag.  If you also are experiencing a problem because of a dirty shutdown, I highly recommend you call Microsoft PSS to resolve your issues.  They will do what they can to salvage your data.  As mentioned in the thread, there are no guarantees and you can lose data.

_____________________________

Regards,

Dean T. Uemura
Microsoft MVP - Exchange (2007-2011)
exchangeguy.blogspot.com
uemurad@yahoo.com

(in reply to haydenhancock)
Post #: 5
RE: Dirty Shutdown & eseutil - 14.Sep.2013 10:40:00 AM   
Ellinor

 

Posts: 99
Joined: 24.Oct.2011
Status: offline
Users need to backup the edb, logs, and stm files before running eseutil /r or eseutil /p repair command line tools to fix the Exchange dirty shutdown error. Make sure that your hard disk has 110 % free space before running these inbuilt utilites. ESEUTIL /p is a last resort utility that is only run when databases will not mount due to inconsistency or serious issues in databases. If this hard repair methods does not work, then you may take help from a third party software.

Here are some simple steps also to fix this problem: http://rickytechblog.wordpress.com/2012/08/17/tips-to-fix-exchange-dirty-shutdown-state-in-exchange-server/

< Message edited by Ellinor -- 3.Oct.2015 8:47:47 AM >
Post #: 6
RE: Dirty Shutdown & eseutil - 29.Nov.2013 12:16:10 AM   
admin503

 

Posts: 50
Joined: 9.Sep.2012
Status: offline
when exchange server shows up errors like: exchange database is dirty shutdown or cannot mount exchange database etc. This situation clearly reveals that exchange database (edb) is corrupted and lies in dirty shutdown state. At this point, bring database into clean shutdown state by eseutil/r command. But, even after a successful operation to clean shutdown the database, edb files fails to mount and entire exchange mailboxes remain inaccessible. At this point, permanently repair edb file after dirty shutdown without losing original info via a dedicated solution.

_____________________________

Adom Watson (Technology Expert)
http://www.ost2pstpro.com/

(in reply to steve02a)
Post #: 7
RE: Dirty Shutdown & eseutil - 23.Feb.2014 3:50:36 PM   
johndempsey

 

Posts: 8
Joined: 29.Mar.2012
Status: offline
Exchange Server Repair Toolbox is the perfect solution to repair corrupt EDB file and restoring users' mailboxes. This EDB software efficiently recover emails, contacts, calenders, attachments, tasks and other mailbox items from corrupt database. Tool supports MS Exchange Server 2010, 2007, 2003, 2000, and 5.5 and compatible with Windows 7, Vista, Server 2003, XP, and 2000.

http://www.exchangeserver.repairtoolbox.com/

(in reply to steve02a)
Post #: 8
RE: Dirty Shutdown & eseutil - 23.Mar.2014 11:23:51 AM   
yegulalp

 

Posts: 2
Joined: 23.Mar.2014
Status: offline
quote:

ORIGINAL: steve02a

I've discovered (and you might see from my other posting here) that I have a bad database file for my exchange.
Most likely, my priv1.edb is all wacko - which of course, has caused my exchange email to pretty much shut down and not
let me mount the mailbox stores.

Anyhow...I've been attempting to run the eseutil /r <log file name> command and it's not working because of a dirty shutdown.

I found the database was in a dirty shutdown (vs. a clean shutdown) because I ran the eseutil /k priv1.edb and it told me.

Here's a little nibble from the results:
File: priv1.STM
ERROR: database was not shutdown cleanly (dirty shutdown)


Operation terminated with error -550 (JET_errDatabaseDirtyShutdown, Database was
not shutdown cleanly. Recovery must first be run to properly complete database
operations for the previous shutdown.) after 161.94 seconds.

So, I run the eseutil /r priv1.edb to see if I can do a soft recovery and I get:

Initiating RECOVERY mode...
   Logfile base name: priv1.edb
           Log files: <current directory>
        System files: <current directory>
Operation terminated with error -1003 (JET_errInvalidParameter, Invalid API para
meter) after 0.0 seconds.

So I find out my database is in a dirty shutdown state.  I try to recover it, and it won't let me.  What do you think I should do next - or maybe I'm missing a step?  Btw, what would cause the dirty shutdown state in the first place?


Here is an other great opportunity for all Exchange users, Exchange Server with better GUI. By using this utility you can recover your valuable data from damaged Exchange databases using this advance exchange server repair tool.

Download demo version from here : http://email-****-tool.blogspot.in

(in reply to steve02a)
Post #: 9
RE: Dirty Shutdown & eseutil - 8.May2014 5:44:48 AM   
GaryDangelo75

 

Posts: 4
Joined: 18.Feb.2014
Status: offline
Although ESEUTIL /p repair tool can help you to repair your corrupt Exchange database but due to some limitations, it does not give the accurate results. Specially, when exchange database file is severely damaged. In such cases, only a third party Exchange EDB recovery tool may help you to rebuild the corrupted items in databases. Here is one such program that helped us to recover and restore the damaged Exchange database file successfully from Exchange dirty-shut down problem:
http://bit.ly/1QvJlkZ
Use Free Version to Get Results.

< Message edited by GaryDangelo75 -- 23.Feb.2016 3:16:31 AM >

(in reply to yegulalp)
Post #: 10
RE: Dirty Shutdown & eseutil - 2.Jun.2014 5:50:13 AM   
GeorgeSellers

 

Posts: 5
Joined: 25.Mar.2014
Status: offline
Read blog post to repair corrupt exchange server database errors.
http://exchangeserverstips.wordpress.com/2013/12/05/how-to-solve-when-exchange-database-fails-to-mount-with-hr0x80004005-ec-528-error/

I hope it will help you.
Thanks
Post #: 11
RE: Dirty Shutdown & eseutil - 14.Aug.2014 1:19:16 AM   
LouisBlackmore

 

Posts: 5
Joined: 8.May2014
Status: offline
Microsoft provides some free utilities, named as Eseutil.exe, Exmerge.exe and Export-Mailbox. These tools convert EDB to PST and extract the user mailboxes in .PST file format. However in case of severely corruption, these tools may fails. The best way to handle this situation is using some advanced third party Exchange Server Recovery software. You can use free trial version for extracting edb mailboxes.
http://www.exchangeserver.pcrecoverytools.com/
Free to Try

(in reply to GeorgeSellers)
Post #: 12
RE: Dirty Shutdown & eseutil - 9.Oct.2015 2:01:16 PM   
amiliaa1

 

Posts: 2
Joined: 9.Oct.2015
Status: offline
Exchange Server Recovery is the best and powerful solution to fix all EDB file corruption issues effectively. The software performs accurate recovery of all emails, attachments, contacts, and other mailbox items from corrupt EDB files in a very short span of time. Read more information and free download click here http://exchangeserverdatabaserecovery.blogspot.com and http://mailbox-exchange-recovery.blogspot.com
Post #: 13
RE: Dirty Shutdown & eseutil - 25.May2017 7:15:21 AM   
annabeleva042

 

Posts: 10
Joined: 26.Sep.2016
Status: offline
Enstella Exchange EDB Recovery Software is very protected and trustworthy application to scan and repair several types of Exchange EDB corruption issues like as :- Dirty Shutdown errors , file size errors , jet engine errors and unavailability of internet etc and gives the four easy to readable formats to convert Exchange EDB File to PST (Outlook)/EML/MSG and HTML. This tool has powerful capacity to transfer single and multiple Exchange Mailboxes Data to Outlook with all attachment/properties/journal/appointment/body content and contact etc. This application gives the split command to break oversize of PST File into small PST File from 1 GB to 5 GB during conversion process.


Read More :- Exchange EDB to PST Recovery

(in reply to amiliaa1)
Post #: 14
RE: Dirty Shutdown & eseutil - 15.Jun.2017 5:36:11 AM   
lizzewatson90

 

Posts: 13
Joined: 15.Apr.2015
Status: offline
EDB Repair software helps to export exchange database to PST. Exchange **** easily repair corrupt EDB and extract EDB emails with all email properties like: To/Cc/Bcc/Subject/Date & Time etc and swiftly export to PST mailbox.

(in reply to annabeleva042)
Post #: 15
RE: Dirty Shutdown & eseutil - 7.Oct.2019 2:56:57 AM   
gupta1991ravi

 

Posts: 9
Joined: 7.May2016
Status: offline
I found a blog where some easy steps have been discussed related to your query. I think it will help you to repair Exchange database from dirty shutdown state.

https://www.mailsdaddy.com/blogs/repair-exchange-database-edb-dirty-shutdown-state/

(in reply to steve02a)
Post #: 16

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2003] >> General >> Dirty Shutdown & eseutil Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter