Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2511
  • Last Modified:

Exchange 2010 Database failed, eseutil cannot fix, need to restore with BE

I have an Exchange 2010 server that had a database die.  I can't fix it with eseutil /p as it errors with "Operation terminated with error -1022 (JET_errDiskIO, Disk IO error)".  It reports as a clean shutdown with eseutil /mh, but it won't mount even with a -force.

I have a backup, but it is from a month ago.  All of the log files are there and I'm wondering what I should do next?  Can I restore the database from Backup Exec and commit the log files somehow and have it be current?
0
LrdKanien
Asked:
LrdKanien
  • 13
  • 7
  • 2
1 Solution
 
dreamraghuCommented:
If the database is in clean shut down state, move all the transaction log files and checkpoint file to a different folder and try to mount the store. This should work.
Also check the option "this database can be overwriiten by a rstore" and try to mount the store and let me know.
0
 
LrdKanienAuthor Commented:
Error below with mount-database database4 -force

Couldn't mount the database that you specified. Specified database: Database4; Error code: An Active Manager operati
on failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to
mount database. (hr=0x80004005, ec=-344)
. [Database: Database4, Server: EXCHANGE.domain.local].
    + CategoryInfo          : InvalidOperation: (Database4:ADObjectId) [Mount-Database], InvalidOperationException
    + FullyQualifiedErrorId : EB769E1,Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase
0
 
dreamraghuCommented:
Have you tried with the above options?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LrdKanienAuthor Commented:
I've moved the log files and the chk file to a separate directory.  I've also enabled the option able to be overwritten by a restore.
0
 
dreamraghuCommented:
Ok, do you have a passive copy in any other mailbox server for this database? If YES< then check the consistency of the database and if it is in a clean shut down state, then you can replace(dont delete, just rename it to old) the old database file with this one and try to mount the store.

If you dont have the passive copy then the next step would be copy all the log files and current database file in a different folder and start restoring the database(make sure, you dont check the option to commit the log files and to mount the store), because we have to replay the production log files after the backup by running the >eseutil /cc from a restore.env file path.
0
 
LrdKanienAuthor Commented:
I do not have a usable passive copy.  This happened while the copy was being seeded.
0
 
dreamraghuCommented:
Then lets start restoring the file, copy all the log files and current database file in a different folder and start restoring the database(make sure, you dont check the option to commit the log files and to mount the store), because we have to replay the production log files after the restoration by running the >eseutil /cc from a restore.env file path.
0
 
LrdKanienAuthor Commented:
e:\Database4\olddb\database4.edb
e:\Database4\olddb\e00******.log

I have moved them there and I can start a restore in 30 minutes.
0
 
LrdKanienAuthor Commented:
What about the new log files and chk file that was created after moving the previous ones?
0
 
dreamraghuCommented:
The database is in dismounted state, how come it will create a new log files and chk file? DO you mean while restoring the data?
If Yes, those will restore to the same location and you copy the previous log files(which we have moved to the olddb folder) and then we have to run the >eseutil /cc cmd.
0
 
LrdKanienAuthor Commented:
Is this correct?
0
 
LrdKanienAuthor Commented:
Picture below.
BE.JPG
0
 
LrdKanienAuthor Commented:
It is restoring, be done in 5.  The log files and the database are in e:\Database4\
0
 
Malli BoppeCommented:
I had similar problems like this in the past.One of quick and easy things to get the database mounted is to move to logs,  I mean just empty the folder where the logs are and try mounting the database.
0
 
LrdKanienAuthor Commented:
Unfortunately that didn't work for me, but that has worked for me in the past.

Any tricks to the eseutil /cc dreamraghu?
0
 
Malli BoppeCommented:
check if this is of any help

http://theether.net/kb/100037
0
 
dreamraghuCommented:
Copy the log files(which we had copied to olddb folder) to the actual log file drive and in the temp folder you will be having the restore.env file. navigate to that folder and run the >eseutil /cc command.
0
 
LrdKanienAuthor Commented:
I don't know where the .env file is
0
 
LrdKanienAuthor Commented:
I see this file in the restored mailbox database directory, but I don't see a restore.env file anywhere

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---          4/4/2012  12:04 AM       2008 E00restore.env
0
 
LrdKanienAuthor Commented:
Does anyone know?  I moved all of the log files back into the mailbox database directory, but there isn't a restore.env for me to run the eseutil /cc against.  If I just mount the database will the logs replay to the mailbox database automatically?
0
 
dreamraghuCommented:
e00restore.env is the one which i am talking. Now open the cmd prmt and navigate to that folder(where you have the e00restore.env) and then run the >eseutil /cc
0
 
LrdKanienAuthor Commented:
I thought that might be the case and tried.  Here was the output when ran from the directory where the .env file was.

Operation terminated with error -939586631 (The restore environment information isn't found or can not be opened.
) after 0.0 seconds.

so I'm running a eseutil /r "E00"
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 13
  • 7
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now