Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot mount database

55 views
Skip to first unread message

LL

unread,
Mar 14, 2008, 12:42:00 AM3/14/08
to
I noticed that one of our exchange 2000 servers failed.
In the past this server has had harddisk corruption before, which was fixed
with chkdsk.

Now suddenly the exchange database cannot be mounted.
If I try to mount it in ESM, it will say:
An internal procesing error has occurred. try restarting the exchange
system manager or the microsoft exchange information store service, or
both.
id no: c1041724

The application log in the event viewer shows a ton of records with event id
9175 (category mapi session)

The MAPI call 'OpenMsgStore' failed with the following error:
The attempt to log on to the Microsoft Exchange Server computer has failed.
The MAPI provider failed.
Microsoft Exchange Server Information Store
ID no: 8004011d-0512-00000000

What can I do to fix it? I tried restarting the services, or stop the
exchange server and attempted to check the database.

v-ro...@prcvap.microsoft.com

unread,
Mar 14, 2008, 4:29:12 AM3/14/08
to
Dear customer:

Thanks for your post.

In order to better troubleshoot the issue, please provide me the following information:

1.On the problematic Exchange server, open Event Viewer, right click application, save the log file as .evt file, and send it to v-ro...@microsoft.com for further research.

2.Do you have full backup of Exchange database?


If you have full backup, you can mount a black database, and then restore databases from backup. If not, you will have to perform the following to fix it:

1.Run the eseutil /p command against the dismounted database file. To do so:

a)Open a command prompt, navigate to Program Files\Exchsrvr\Bin folder ,

b)Type eseutil /p "c:\program files\exchsrvr\mdbdata\pub1.edb" (where c:\program files\exchsrvr\mdbdata is the path of the database file, and where priv1.edb is the name of the database file), and then press ENTER.

c)Click OK to continue with the repair operation.

d)Type eseutil /d "c:\program files\exchsrvr\mdbdata\pub1.edb" (where c:\program files\exchsrvr\mdbdata is the path of the database file, and where pub1.edb is the name of the database file), and then press ENTER.

2.Back up the original database files.

3.Start Exchange System Manager, and then mount the database.

4.Dismount the database.

5.At the command prompt, run the isinteg -s servername -fix -test alltests command against the database that is experiencing the problem. To do so, follow these steps:

a)At the command prompt, change to the Program Files\Exchsrvr\Bin folder.

b)Type isinteg -s servername -fix -test alltests (where servername is the host name of the Exchange 2000 computer), and then press ENTER.

c)Press the number that corresponds to the storage group name that you want to repair, and then press ENTER.

d)Press Y to confirm the selection, and then press ENTER.

e)Repeat the isinteg command until the number of database fixes reaches 0 (zero) or does not change.

f)Quit the command prompt.

6.Start Exchange System Manager and then mount the database.


Hope this helps. If anything is unclear, please feel free to ask me.



Best Regards,
Rock Wang
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please “Reply to Group” via your newsreader so that others may learn and benefit from your issue.
=====================================================
This posting is provided “AS IS” with no warranties, and confers no rights.

v-ro...@prcvap.microsoft.com

unread,
Mar 17, 2008, 4:53:11 AM3/17/08
to
Dear customer:

Firstly, I want to confirm the following information with you:

1.Did you try the first solution described in the previous post? If you did, please let me know the result.

2.Did you install Exchange 2000 SP2 or SP3 on your server?

Based on my research, this behavior maybe occurs when a System mailbox object that is created for this mailbox store exists in the System Objects container. When you try to mount the mailbox store, an Exchange 2000 computer may create another object. Only one System mailbox object can exist for each mailbox store. You can try to perform the following to troubleshoot the issue:

1. Start the Active Directory Users and Computers snap-in.

2. On the View menu, click Advanced Features.

3. Locate the Microsoft Exchange System Objects container, locate the System mailbox object that was created for the mailbox store that you are trying to mount, and then delete it.

For more information about it, please refer to the following documents.
XADM: Event ID 9175, 9546, 9519 Messages Occur When Mailbox Store Fails to Mount
http://support.microsoft.com/default.aspx?scid=kb;EN-US;274534

Hope this helps.

LL

unread,
Mar 18, 2008, 12:02:03 AM3/18/08
to
i guess you missed out on telling me to stop the exchange information store
service.
but anyways heres a capture of the screen output ( i think your commands
failed to work):


C:\Program Files\Exchsrvr\BIN>eseutil /p "C:\Program
files\exchsrvr\mdbdata\pub1
.edb"

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.

Error: Access to source database 'C:\Program
files\exchsrvr\mdbdata\pub1.edb' fa
iled with Jet error -1032.

Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot
access fi
le, the file is locked or in use) after 11.47 seconds.


C:\Program Files\Exchsrvr\BIN>eseutil /p "C:\Program
files\exchsrvr\mdbdata\pub1
.edb"

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.

Initiating REPAIR mode...
Database: C:\Program files\exchsrvr\mdbdata\pub1.edb
Streaming File: C:\Program files\exchsrvr\mdbdata\pub1.STM
Temp. Database: TEMPREPAIR2656.EDB

Checking database integrity.

Scanning Status (% complete)

0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................


Integrity check successful.

Note:
It is recommended that you immediately perform a full backup
of this database. If you restore a backup made before the
repair, the database will be rolled back to the state
it was in at the time of that backup.

Operation completed successfully in 11.94 seconds.


C:\Program Files\Exchsrvr\BIN>eseutil /d "C:\Program
files\exchsrvr\mdbdata\pub1
.edb"

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.

Initiating DEFRAGMENTATION mode...
Database: C:\Program files\exchsrvr\mdbdata\pub1.edb
Streaming File: C:\Program files\exchsrvr\mdbdata\pub1.STM
Temp. Database: TEMPDFRG2656.EDB
Temp. Streaming File: TEMPDFRG2656.STM

Defragmentation Status (% complete)

0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................

Moving 'TEMPDFRG2656.EDB' to 'C:\Program files\exchsrvr\mdbdata\pub1.edb'...
DON
E!
Moving 'TEMPDFRG2656.STM' to 'C:\Program files\exchsrvr\mdbdata\pub1.stm'...
DON
E!

Note:
It is recommended that you immediately perform a full backup
of this database. If you restore a backup made before the
defragmentation, the database will be rolled back to the state
it was in at the time of that backup.

Operation completed successfully in 11.156 seconds.


C:\Program Files\Exchsrvr\BIN>isinteg -s exch2k-ipf-06 -fix -test alltests
Databases for server exch2k-ipf-06:
Only databases marked as Offline can be checked

Index Status Database-Name
Storage Group Name: First Storage Group
1 Offline Mailbox Store (EXCH2K-IPF-06)
2 Online Public Folder Store (EXCH2K-IPF-06)
Enter a number to select a database or press Return to exit.
1
You have selected First Storage Group / Mailbox Store (EXCH2K-IPF-06).
Continue?(Y/N)y
Isinteg cannot initiate verification process.
Please review the log file for more information.

C:\Program Files\Exchsrvr\BIN>

v-ro...@prcvap.microsoft.com

unread,
Mar 18, 2008, 6:17:26 AM3/18/08
to
Dear customer:

Thanks for your reply.

I have checked my previous post, I mentioned that, “Run the eseutil /p command against the dismounted database file”.

From your post, you can try to perform the following step to fix the issue:

1. After you run eseutil /d command, back up the original database files.

2. Start Exchange System Manager, and then mount the database.

3. Dismount the database.

4. At the command prompt, run the following command again,

isinteg -s exch2k-ipf-06 -fix -test alltests
Note: Repeat the isinteg command until the number of database fixes reaches 0 (zero) or does not change

5. Check the effect.

Hope this helps.

Best Regards,
Rock Wang
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please “Reply to Group” via your newsreader so that others may learn and benefit from your issue.
=====================================================
This posting is provided “AS IS” with no warranties, and confers no rights.

LL

unread,
Mar 19, 2008, 5:17:01 AM3/19/08
to
Nothing seems to work
See the screen capture here:


C:\Program Files\Exchsrvr\BIN>eseutil /d ..\mdbdata\priv1.edb

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.

Initiating DEFRAGMENTATION mode...
Database: ..\mdbdata\priv1.edb
Streaming File: ..\mdbdata\priv1.STM
Temp. Database: TEMPDFRG2132.EDB
Temp. Streaming File: TEMPDFRG2132.STM


Operation terminated with error -2204 (JET_errSLVStreamingFileMissing,
Cannot fi
nd streaming file associated with this database) after 2.31 seconds.


C:\Program Files\Exchsrvr\BIN>isinteg -s exch2k-ipf-06 -fix -test alltests
Error: unable to get databases status from server. The reason could be
either wr
ong server name or networking problems. Isinteg quits now.

v-ro...@prcvap.microsoft.com

unread,
Mar 19, 2008, 11:11:54 PM3/19/08
to
Dear customer:

Thanks for your reply.

Error - 2204 corresponds to error JET_errSLVStreamingFileMissingwith the following definition:

Cannot find streaming file associated with this database.

Cause: This problem may occur if the streaming file has been moved to another location by another process, for example, by an antivirus program.

To resolve this problem, try to locate the missing .stm file or restore it from backup. If you are running an antivirus program, make sure , that the file has not been moved to the quarantine folder by the antivirus program. If the file was moved, move it back to the original location, and then reconfigure the antivirus program so that it does not scan the Exchange 2000-related folders.

If backups are not available, this new option creates an empty streaming file and permits a repair to be performed on the database.

At this point you can use the createstm switch to create an empty matching streaming file:

eseutil /p "c:\program files\exchsrvr\mdbdata\priv1.edb" /createstm

NOTE: This path to the database file assumes the default location for the database file, Priv1.edb. You may have to modify the path to include the correct path to the Exchange database files.

A repair can now be performed on the database to recover the data. After the repair is complete and before the database is returned to a production environment, the customer must defragment the database by running the following commands:
eseutil /d "c:\program files\exchsrvr\mdbdata\priv1.edb"
isinteg -s servername -fix -test alltests

Note that to successfully defragment a database by using the Eseutil command-line utility with the /d option, you must have free hard disk space that is equal to 110 percent of the size of the database you want to defragment.

Hope this helps. If you have any question, please feel free to let me know.

LL

unread,
Mar 20, 2008, 4:28:04 AM3/20/08
to
the database has been repaired and defragmented successfully. it passed the
tests and now exchange system manager can mount the database
thank you very much!

LL

unread,
Mar 20, 2008, 4:51:01 AM3/20/08
to
The trendmicro antivirus has always been set to exclude the M drive (exchange
folder).
I hope that is sufficient, unless you point out we must also exclude folders
such as c:\program files\exchsrvr etc.

v-ro...@prcvap.microsoft.com

unread,
Mar 20, 2008, 11:56:34 PM3/20/08
to
Dear customer:

I am so glad to know the issue has been solved.

Never run file-based scanning software against Exchange databases, logs, temporary files, the IIS system files, or the IFS drive (drive M). Configure antivirus software to avoid scanning the folders that contain these files.

You can run file-based antivirus software against the operating system of the Exchange computer and against Exchange program files (the Exchsrvr\Bin folder), but never run file-based antivirus software against files in the following folders:

? Exchange databases and log files.

? Exchange .mta files (default location: \Exchsrvr\Mtadata).

? Exchange message tracking log files (default location: \Exchsrvr\Server_Name.log).

? Virtual server folders (default location: \Exchsrvr\Mailroot).

? Site Replication Service (SRS) files (default location: \Exchsrvr\Srsdata).

? Internet Information Service (IIS) system files (default location: \%SystemRoot%\System32\Inetsrv).

? Internet Mail Connector files (default location: \Exchsrvr\IMCData).

? The working folder that is used to store streaming temporary files that are used for message conversion. By default, this working folder is located at \Exchsrvr\MDBData.

? A temporary folder that is used in conjunction with offline maintenance utilities such as Eseutil.exe. By default, this folder is the location that you run the .exe files from, but you can configure this when you run the utility.


For more information about Exchange Server 2003 and antivirus software coexists, please refer to the following documents:
Recommendations for troubleshooting an Exchange Server computer with antivirus software installed
http://support.microsoft.com/kb/245822/en-us

Overview of Exchange Server 2003 and antivirus software
http://support.microsoft.com/default.aspx?scid=kb;EN-US;823166


Hope this helps. If you have any question, please feel free to let me know.


Thanks and Best Regards,
Rock Wang
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please “Reply to Group” via your newsreader so that others may learn and benefit from your issue.
=====================================================
This posting is provided “AS IS” with no warranties, and confers no rights.

v-ro...@prcvap.microsoft.com

unread,
Mar 23, 2008, 8:50:17 PM3/23/08
to
Dear customer,

Did you have questions? If anything is unclear, please feel free to ask me.

I'm looking forward to hearing from you.

Byron

unread,
Jan 20, 2009, 2:51:02 PM1/20/09
to
Hi Rock Wang,

I am having the very same problem with Exchange 2003 within SBS2003 platform.
I have followed your posts but get a pop-ip:
"Callback DLL not found"
Unable to find the callback library jcb.dll(or one of its dependancies) Copy
in the file and hit OK...
So I foind it and copied it into:
1)C:\WINDOWS\system32
without any joy.
I cancelled the pop-up with the following:

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating REPAIR mode...
Database: c:\Program Files\Exchsrvr\MDBDATA\pub1.edb
Streaming File: c:\Program Files\Exchsrvr\MDBDATA\pub1.STM
Temp. Database: TEMPREPAIR4480.EDB

Checking database integrity.

Scanning Status (% complete)

0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
.........

Operation terminated with error -2102 (JET_errCallbackNotResolved, A
callback fu
nction could not be found) after 157.0 seconds.

In desperation I started the IS service and ran:
"isinteg -s server -fix -test alltests" with the following error:

C:\Program Files\Exchsrvr\bin>isinteg -s server -fix -test alltests
Databases for server server:


Only databases marked as Offline can be checked

Index Status Database-Name
Storage Group Name: First Storage Group

1 Offline Mailbox Store (SERVER)
2 Online Public Folder Store (SERVER)


Enter a number to select a database or press Return to exit.
1

You have selected First Storage Group / Mailbox Store (SERVER).


Continue?(Y/N)y
Isinteg cannot initiate verification process.
Please review the log file for more information.

Not sure what else to do from here...
Event log (App)":

MSExchangeSA
MAPI Session
Event Id : 9175

The MAPI call 'OpenMsgStore' failed with the following error:
The attempt to log on to the Microsoft Exchange Server computer has failed.
The MAPI provider failed.
Microsoft Exchange Server Information Store
ID no: 8004011d-0512-00000000

HELP!!!!!

0 new messages