Discussion:
Cannot mount database
(too old to reply)
LL
2008-03-14 04:42:00 UTC
Permalink
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***@prcvap.microsoft.com
2008-03-14 08:29:12 UTC
Permalink
v***@prcvap.microsoft.com
2008-03-17 08:53:11 UTC
Permalink
LL
2008-03-18 04:02:03 UTC
Permalink
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>
Thanks for your post.
2.Do you have full backup of Exchange database?
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.
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***@prcvap.microsoft.com
2008-03-18 10:17:26 UTC
Permalink
LL
2008-03-19 09:17:01 UTC
Permalink
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.
Post by LL
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.
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 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***@prcvap.microsoft.com
2008-03-20 03:11:54 UTC
Permalink
LL
2008-03-20 08:28:04 UTC
Permalink
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!
Thanks for your reply.
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.
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.
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.
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
2008-03-20 08:51:01 UTC
Permalink
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.
Thanks for your reply.
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.
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.
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.
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***@prcvap.microsoft.com
2008-03-21 03:56:34 UTC
Permalink
v***@prcvap.microsoft.com
2008-03-24 00:50:17 UTC
Permalink
Byron
2009-01-20 19:51:02 UTC
Permalink
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!!!!!
Thanks for your reply.
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.
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.
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.
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
Loading...