Solved

Exchange 2007 Mail Database will not mount

Posted on 2011-09-27
36
786 Views
Last Modified: 2012-05-12
I already searched the database and tried the solutions for this (i.e. setup /PrepareAD)

I continue to get the following error

"Error code: MapiExceptionCallFailed: Unable to mount database"

I restarted my domain controller and exchange server after doing the setup and I also verified the security in AD for "Manage Audit and Security"

I do not have a good backup to restore from and I made a copy of my mail database and tried a repair command but did not try attaching the resulting file yet as I wanted to exhaust all possible solutions for the production copy first.  Any ideas?
0
Comment
Question by:R_M_Ron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 15
  • 10
  • 6
  • +1
36 Comments
 
LVL 1

Expert Comment

by:Ganyboy
ID: 36713336
please chk if system attendant service is running or not .
0
 
LVL 12

Accepted Solution

by:
Deepu Chowdary earned 250 total points
ID: 36713514
First check services and check run eseutil /mh on the database and check the health.
If clean then the issue is with services or something.
If dirty you have to run eseutil/r /l logfile path /d database path

If you have a proper backup u can restore
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36713519
Ohh sorry i didnt saw the last sentence.. So is the database Healthy..?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:R_M_Ron
ID: 36714463
running eseutil/r /a /l logfile path /d database path currently (The utility said to use /a when running this).  The /mh command indicated it was dirty so I moved forward with this (after copying all of the files to a different location in case something goes wrong).  Will let you know what comes back.

Also the services were all running which I actually already checked based on other posts I saw here.
0
 
LVL 1

Expert Comment

by:Ganyboy
ID: 36714522
Also please check if the disk space is fine on the drive which holds the .edb ,
R M Ron @ Do investigate the reason for the dirty shutdown and check for the appropriate events .
0
 

Author Comment

by:R_M_Ron
ID: 36714564
I received the following error which does not sound good

Error -1216 (0xfffffb40) JET_errAttachedDatabaseMismatch

MS Site said:  "This error is closely related to error -551 (JET_errConsistentTimeMismatch). It typically occurs after a simultaneous failure of all databases in a storage group if one of the databases is no longer available (for example, because its disk has been destroyed)."
 
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36714572
So it clearly says that the hard disk was the problem, once run chkdsk on the physical disk.
0
 

Author Comment

by:R_M_Ron
ID: 36714609
Running this now.  I should have also noted that on reboot there were disk related errors corrected by 2003 server.  Also the exchange machine is a VMWare guest.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36714628
Ok so i think that you will end up with some bad sectors and so you have to run chkdsk /f
0
 
LVL 1

Expert Comment

by:Ganyboy
ID: 36714680
For time being go for a dial tone scenario , in the mean while u can trouble shoot your harddisk .
Soft recovery of the database before making any changes to the database that might prevent the re-integration of the missing files with the data set.If this error occurs, ideally, you should try to restore the missing files. If these files are unavailable, you can use an option in Eseutil to override the error and proceed with soft recovery despite missing or mismatched files.



0
 

Author Comment

by:R_M_Ron
ID: 36717746
so I did the forced soft recovery and it said it was successful but still cannot mount the database?
0
 
LVL 1

Expert Comment

by:Ganyboy
ID: 36717897
Did u perform the integrity check ?

isinteg -s (SERVER) -fix -test alltests
0
 

Author Comment

by:R_M_Ron
ID: 36717898
I tried to creat a new datstore to mount and get the same error also, making me think it is service related but all services are running and I restarted to troubleshoot several times in the past 24 hours.
0
 
LVL 1

Expert Comment

by:Ganyboy
ID: 36718076
Ron @ check this article , http://support.microsoft.com/kb/828068
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36718624
What lead up to this situation?
0
 

Author Comment

by:R_M_Ron
ID: 36718828
Ganyboy:  I will check link

alanhardisty:  Dirty shutdown during windown nt backup (1:20am Tuesday morning).  NT Backup didn't actually back it up so no backup available.  

So far did PrepareAD, checked AD permissions, Tried soft recover with several different options.

Just noticed my system drive only had 9 GB of storage remaining (of 100 gb) not sure if related but wanted to point out.


0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36718833
I guess during correction of disk related errors by 2003 server it deleted some tracks by which exchange database is effected.
0
 

Author Comment

by:R_M_Ron
ID: 36718966
Problem:

Dirty shutdown during windown nt backup (1:20am Tuesday morning).  NT Backup didn't actually back it up so no backup available.  We restarted the exchange machine to see if this would clear the issue and Win2003 corrected disk error.

Actions so far:

-Backup up mail database and related log file directory manually (post issue) in case actions made database unusable.
-Created new databases in storage group and received same error
-Verified all sevrices are running
-Restarted Excahnge several times between actions
-PrepareAD
-checked AD permissions
-soft recover ran with several different options.
-ran chkdsk which reported no errors.







0
 

Author Comment

by:R_M_Ron
ID: 36719039
I read the MS article above also, I see a file tyoe noted as "recovered file fragment" named "E00.chk" in the database/log directory for the production datastore.  I still don't understand why I can not even creat a new data store and connect (get the same "Error code: MapiExceptionCallFailed: Unable to mount database")
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36719507
After creating a new database you have to restart Information store, i hope you did that as well.
Change the database path  to another drive and try to create a new store over there, restart IS service and try to mount.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36719511
Do you still have the logs in the same folder?  If you do - copy them to another location then delete from the original location and then repair the store with eseutil /p.

If that is happy, then run eseutil /d followed by "isinteg -s servername -fix -test alltests", then re-run isinteg unless you see 0 errors and 0 fixes in the last line of output, then try to mount the database.
0
 

Author Comment

by:R_M_Ron
ID: 36719773
Exchange9:  I did a full reboot (assuming that would rstart all services for me).  Will try the path now.

Alanhardisty:  I will try this solution after Exchange9's as this one I beleive will take some time to execute and may render my file unusable if things go wrong?


0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36719809
File won't be unusable at all - it will be fine.

The issue is the logs / file containing the reference to the latest log file being used not being consistent.

Moving the logs and e00.chk file to another location, then repairing, defraying and integrity checking the file will make it usable again.

You may have to repair / defrag / integrity check any other databases stored in the same directory before ALL database will mount though.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36719877
I suggest you to change the log file path as well., make sure that it was empty at the start and after restarting Infostore service it will automatically form new files.
If the database was mounted then try the solution which was suggested by alanhardsty..
0
 

Author Comment

by:R_M_Ron
ID: 36719982
Ok, thank you for these additional steps to try.  I am working on trying these now.  going on 48 hours down so partners are becoming increasinly unhappy with me :(
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36720003
Mail is going to start bouncing permanently if things don't pick up.

You need to get this moving soon.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36720084
Try all the ways which you can and which are suggested by many techs over here., so that next time if you face similar issue, you can troubleshoot in many ways. All the best :)
0
 

Author Comment

by:R_M_Ron
ID: 36720231
I have a logged error in the application log related to the First Storage Group.  I think I have been looking at the wrong thing (i.e. the mbox database itself).  I am going to also look that direction.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36720245
What is that error, can you post it here please.
0
 

Author Comment

by:R_M_Ron
ID: 36720344
This is in the application log:

Event Type:      Error
Event Source:      MSExchangeIS
Event Category:      General
Event ID:      9518
Date:            9/28/2011
Time:            4:35:27 PM
User:            N/A
Computer:      RMC-E01
Description:
Error Log file is corrupt starting Storage Group /DC=local/DC=rmc-chi/CN=Configuration/CN=Services/CN=Microsoft Exchange/CN=RM Consulting/CN=Administrative Groups/CN=Exchange Administrative Group (FYDIBOHF23SPDLT)/CN=Servers/CN=RMC-E01/CN=InformationStore/CN=First Storage Group on the Microsoft Exchange Information Store.
0
 

Author Comment

by:R_M_Ron
ID: 36720400
This may be more useful:

Event Type:      Error
Event Source:      ESE
Event Category:      Logging/Recovery
Event ID:      412
Date:            9/28/2011
Time:            4:50:22 PM
User:            N/A
Computer:      RMC-E01
Description:
MSExchangeIS (3332) First Storage Group: Unable to read the header of logfile C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00.log. Error -501.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36720446
Okay - as per my previous comments, remove all files apart from .DEB and .STM to another location, then repair, defragment and integrity check the databases, then mount them.

This should get you up and running quickly.
0
 

Author Comment

by:R_M_Ron
ID: 36720460
Just to make sure I am getting this correctly.  I have two directoriues wth log files.  The first is with the .edb file (on F:\Datastore\ on my server) and the other is with the first storage group location on the C:\ drive.  Do I have to remove log files from both locations (except .deb and .stm) or just one (then which one)?
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 250 total points
ID: 36720515
Wherever the database reside that won't mount, clear out all files that won't mount, then run eseutil /p, followed by eseutil /d then isinteg and do this for all databases, then mount.

If the databases don't mount from both locations, do the same for both locations.

Don't delete the files, just move them.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36720635
Yes just cut paste them to a other folder.
restart info store and try to mount.
0
 

Author Closing Comment

by:R_M_Ron
ID: 36812721
So I couldn't get this datastore to mount.  I tried all solutions but think I need to start over because it said it was successful but still would not mount after restarting the info store.

However, I ended up able to mount a blank edb file using some of this guidance wich allowed me to at least get connected and getting my users email/sending email.  I am going to continue to try the solutions here with the files I copied before starting this process and will post back when I am finally restored.  Closing this one for now though.  This was incredibly helpful, thanks!!
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

756 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