Mailbox stores wont mount SBS 2003

UplandSystems
UplandSystems used Ask the Experts™
on
Hi
I have a customers SBS 2003 server down for nearly 24 hours.  Suspect it started with a user hitting the power button.  Managed to get back in the OS via DS restore mode and a restore from the SBS NTbackup the night before.  Now OS seems fine just exchange. errors in the aplication log as follows:

Event Type:      Error
Event Source:      MSExchangeFBPublish
Event Category:      General
Event ID:      8197
Date:            02/07/2010
Time:            03:46:07
User:            N/A
Computer:      CJS-SERVER
Description:
Error initializing session for virtual machine CJS-SERVER. The error number is 0x8004011d. Make sure Microsoft Exchange Store is running.

For more information, click http://www.microsoft.com/contentredirect.asp.
Event Type:      Error
Event Source:      MSExchangeSA
Event Category:      MAPI Session
Event ID:      9175
Date:            02/07/2010
Time:            03:46:48
User:            N/A
Computer:      CJS-SERVER
Description:
The MAPI call 'OpenMsgStore' failed with the following error:
The Microsoft Exchange Server computer is not available.  Either there are network problems or the Microsoft Exchange Server computer is down for maintenance.
The MAPI provider failed.
Microsoft Exchange Server Information Store
ID no: 8004011d-0526-00000000

For more information, click http://www.microsoft.com/contentredirect.asp.


Event Type:      Error
Event Source:      MSExchangeIS
Event Category:      General
Event ID:      9518
Date:            02/07/2010
Time:            03:46:01
User:            N/A
Computer:      CJS-SERVER
Description:
Error 0xfffffdfd starting Storage Group /DC=local/DC=CJS/CN=Configuration/CN=Services/CN=Microsoft Exchange/CN=CJS/CN=Administrative Groups/CN=first administrative group/CN=Servers/CN=CJS-SERVER/CN=InformationStore/CN=First Storage Group on the Microsoft Exchange Information Store.
Storage Group - Initialization of Jet failed.

For more information, click http://www.microsoft.com/contentredirect.asp.

All exchange services are started have tried restarting.  
Exchange is on SP2 all other updates present
Store size is small  whole exchange folder is only 7Gb
Tried a restore of exchange folder via NT backup marked stores to be overwritten by restore first.
On trying to mount the stores from system manager I get the following

An internal processing error has occurred.  Try restarting the exchange system manager or the Microsoft Exchange information store, or both .....etc ID no c1041724 exchange system manager.

Noticed after reading an article re exchange 2000 a system mailbox user in AD that was disabled, re enabled but this didnt help.
have run BPA no issues found.

Please help urgently I need the server back in a few hours and need some sleep.
Thanks Mark
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You can try to do a integration check or repair with eseutil o check it with isinteg.

eseutil /g for integrity
eseutil /p for repair

ex. eseutil /p \path of exchange's database

Author

Commented:
Hi
i am doing something basic wrong with the command have tried it with and without the quotes around the path.
C:\Program Files\Exchsrvr\bin>eseutil /g \ "C:\Program Files\Exchsrvr\MDBDATA\pr
iv1.edb"

Usage Error: Invalid argument 'C:\Program Files\Exchsrvr\MDBDATA\priv1.edb'. Opt
ions must be preceded by '-' or '/'.

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

DESCRIPTION:  Maintenance utilities for Microsoft(R) Exchange Server databases.

MODES OF OPERATION:
      Defragmentation:  ESEUTIL /d <database name> [options]
             Recovery:  ESEUTIL /r <logfile base name> [options]
            Integrity:  ESEUTIL /g <database name> [options]
             Checksum:  ESEUTIL /k <file name> [options]
               Repair:  ESEUTIL /p <database name> [options]
            File Dump:  ESEUTIL /m[mode-modifier] <filename>
            Copy File:  ESEUTIL /y <source file> [options]
              Restore:  ESEUTIL /c[mode-modifier] <path name> [options]

<<<<<  Press a key for more help  >>>>>
D=Defragmentation, R=Recovery, G=inteGrity, K=checKsum,
P=rePair, M=file duMp, Y=copY file, C=restore
=>

Author

Commented:
getting somewhere

C:\Program Files\Exchsrvr\bin>eseutil /g \ "C:\Program Files\Exchsrvr\MDBDATA\pr
iv1.edb"

Usage Error: Invalid argument 'C:\Program Files\Exchsrvr\MDBDATA\priv1.edb'. Opt
ions must be preceded by '-' or '/'.

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

DESCRIPTION:  Maintenance utilities for Microsoft(R) Exchange Server databases.

MODES OF OPERATION:
      Defragmentation:  ESEUTIL /d <database name> [options]
             Recovery:  ESEUTIL /r <logfile base name> [options]
            Integrity:  ESEUTIL /g <database name> [options]
             Checksum:  ESEUTIL /k <file name> [options]
               Repair:  ESEUTIL /p <database name> [options]
            File Dump:  ESEUTIL /m[mode-modifier] <filename>
            Copy File:  ESEUTIL /y <source file> [options]
              Restore:  ESEUTIL /c[mode-modifier] <path name> [options]

<<<<<  Press a key for more help  >>>>>
D=Defragmentation, R=Recovery, G=inteGrity, K=checKsum,
P=rePair, M=file duMp, Y=copY file, C=restore
=>
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Author

Commented:
sorry didnt copy that time

C:\Program Files\Exchsrvr\bin>eseutil /g "C:\Program Files\Exchsrvr\MDBDATA\priv
1.edb"

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

Initiating INTEGRITY mode...
        Database: C:\Program Files\Exchsrvr\MDBDATA\priv1.edb
  Streaming File: C:\Program Files\Exchsrvr\MDBDATA\priv1.STM
  Temp. Database: TEMPINTEG3488.EDB

Checking database integrity.

The database is not up-to-date. This operation may find that
this database is corrupt because data from the log files has
yet to be placed in the database.

To ensure the database is up-to-date please use the 'Recovery' operation.





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 124.62 seconds.

Author

Commented:
It is now repairing after clicking OK to warnings about logs not being processed,  the server isnt on its true IP and no clients connected so i was happy to accept that it will go back to how it was 24 hours ago.

Commented:
also you may check that your database whether in clean shutdown or not. if not then need to soft recovery

Author

Commented:
Hi
it was not a clean shutdown see 4:04 post
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 124.62 seconds.

I have very little exchange experience am reading about soft recovery now but please sugest next steps.  It is curently deleting unicode fixup table and it taking a long time.
Thanks
Mark

Author

Commented:
It is worth pointing out that the backup completed about 1am and the failure was about 8:30 and as there were no users on site untill the failure I am not worried about losing any mails that came in during those few hours.
Shreedhar EtteTechnical Manager
Top Expert 2010
Commented:
Hi,

If you started the eseutil /p on then server then after that you need to run

eseutil /d path of exchange database to defrag

then

isinteg -s servername -fix -test alltests

This will set database to Clean.

Hope this helps,
Shree

Author

Commented:
Hi
This is taking too long scanning fixup tables still only on 30%.  it is a 6gb file.  Is there a better way either using data from the backup or a clone I took of the system prior to restore?

Thanks
Mark

Author

Commented:
I have abandoned the /p as it hadnt moved from 30% for an hour.  I have restored the Exchsrvr folder from the backup disabled all exchange service and tried to run a soft repair.  This is what I get.

C:\Documents and Settings\Administrator>cd C:\Program Files\Exchsrvr\MDBDATA

C:\Program Files\Exchsrvr\MDBDATA>"C:\program files\exchsrvr\bin\eseutil.exe" /r
 E00 /i

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

Initiating RECOVERY mode...
    Logfile base name: E00
            Log files: <current directory>
         System files: <current directory>

Performing soft recovery...

Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access fi
le, the file is locked or in use) after 11.62 seconds.
Commented:
as you did a system restore it might removed admin privilege on root drive
http://www.winserverkb.com/Uwe/Forum.aspx/windows-server-ad/2942/Jet-errFileAccessDenied
and then try below i got it from http://www.eggheadcafe.com/software/aspnet/30979455/exchange-information-store-wont-mount-urgent-help-greatly-appreciated.aspx

To dismount the Mailbox Store.

1. Open Exchange Server Management.
2. Go to Domain(Exchange)\Servers\ServerName\First Storage Group\Mailbox
Store.
3. Right-click Mailbox Store, and then click Dismount Store.

If the mailbox store is dismounted already, please check the following
steps to see if you can run the "eseutil /mh" command.

Step 1: Please make sure the system has full permission on the Database.
Check the NTFS permission on the c:\Program Files\Exchsrvr\MDBDATA folder.

Authenticated Users: Read & Execute, List Folder Contents, Read
CREATOR OWNER:
Server Operators: Modify, Read & Execute, List Folder Contents, Read, Write
SYSTEM: Full Control

Step 2: Please make a clean boot to make sure the problem is not caused
third party software:

1. Click Start->Run...->type msconfig and press Enter.
2. Click Services tab and select Hide All Microsoft Services and Disable
All third party Services.
3. Click Startup tab and Disable All startup items.
4. Click OK and choose Restart.
5. After reboot, check whether the problem still occurs.
6. If there are no more problems, please use the above steps to enable
services and startup items one by one in order to figure out the root cause
of this issue.

Step 3: Please stop the Information Store and SMTP service, try again.

1. Run the service.msc command.
2. Double click Microsoft Exchange Information Store, set the startup type
to Manual.
3. Double click Simple Mail Transfer Protocol(SMTP), set the startup type
to Manual.
4. Click OK.
5. Reboot server.
6. Try again.

Please try the steps  and let me know the result.

I am looking forward to hear from you.
Thanks all finally fixed eseutil.exe was corrupt 0 Kb after the last restore permissions problems continued.  Renamed the folder and copied the one from the clone that mounted straight away without any repair.  Server is on its way back to site, going to bed will take advice on how to share out points when I wake up.  Not the best way to learn exchange recovery.
Thanks again
Mark
JET_errFileAccessDenied is bacsically you do not have permission to mdbdata folder for the account from which you logged in.
Please give the full permission on mdbdata folder for the account qand run soft recovery.

 

Author

Commented:
Hi
Having trouble awarding point working with the mods please bear with me.
Mark

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial