Solved

Exchange 2003 on SBS - public folder won't mount after bad offline defragmentation

Posted on 2011-09-17
21
542 Views
Last Modified: 2012-06-27
I have SBS 2003 with limits on the size of folders and really need to do an offline defragmentation.  So I started with public folders, unfortunately, I forgot the /t switch and it went to the C drive (where there  is little space) and the pub1.edb file successfully defragmented, but the stm file did not because there was no more space on the C drive.

Scenario 1:  So, I tried the eseutil /createstm to create a new one - still did not work
Scenario 2: I've tried moving the old copies of edb and stm back in - still did not work

I've tried a couple eseutil repairs and they won't run.  Any ideas?

When I try to mount either set - I get event ID 9519 -
With Scenario 1:  Event Type:      Error
Event Source:      MSExchangeIS
Event Category:      General
Event ID:      9519
Date:            9/17/2011
Time:            7:44:34 PM
User:            N/A
Computer:      IPSNS1
Description:
Error 0xfffffae7 starting database "First Storage Group\Public Folder Store (IPSNS1)" on the Microsoft Exchange Information Store.

For more information, click http://www.microsoft.com/contentredirect.asp.
Data:
0000: 46 61 69 6c 65 64 20 74   Failed t
0008: 6f 20 63 6f 6e 66 69 67   o config
0010: 75 72 65 20 4d 44 42 00   ure MDB.


Scenario 2:  Event Type:      Error
Event Source:      MSExchangeIS
Event Category:      General
Event ID:      9519
Date:            9/17/2011
Time:            8:00:38 PM
User:            N/A
Computer:      IPSNS1
Description:
Error Database is in inconsistent state starting database "First Storage Group\Public Folder Store (IPSNS1)" on the Microsoft Exchange Information Store.

For more information, click http://www.microsoft.com/contentredirect.asp.
Data:
0000: 46 61 69 6c 65 64 20 74   Failed t
0008: 6f 20 61 74 74 61 63 68   o attach
0010: 20 74 6f 20 4a 65 74 20    to Jet
0018: 44 42 00                  DB.    
0
Comment
Question by:ohioholiday
  • 12
  • 9
21 Comments
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555271
Have you tried to run an integrity check on the db?
eseutil /g
0
 

Author Comment

by:ohioholiday
ID: 36555274
I get this:


C:\Program Files\Exchsrvr\bin>eseutil /g "e:\program files\exchsrvr\pub1.edb"

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

Error: Access to source database 'e:\program files\exchsrvr\pub1.edb' failed wit
h Jet error -1811.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555275
is the information store service running?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:ohioholiday
ID: 36555281
Yes, but I ran it without it running and still the same error.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555286
what about this:
ESEUTIL /G priv1.edb /T \\Server2\d$\scratchpad.edb

0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555288
have you tried to rerun the offline defrag with the /t switch?
This might also resolve the issue.
0
 
LVL 22

Accepted Solution

by:
yo_bee earned 500 total points
ID: 36555290
You may need to run a repair on the db /P switch.
This resolves mounting issues I have had in the past.
0
 

Author Comment

by:ohioholiday
ID: 36555291
Still the same error.  My database is at :  "e:\program files\exchsrvr\pub1.edb"



Error: Access to source database 'e:\program files\exchsrvr\pub1.edb' failed wit
h Jet error -1811.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555293
If space is a real issue and you are spending more time dealing with maintenance it might be time to upgrade to a Full blown exchange edition that gives you more space.

0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555299
You might have to run the repair switch /P.
http://technet.microsoft.com/en-us/library/aa997215(EXCHG.65).aspx
This is what you might want.
0
 

Author Comment

by:ohioholiday
ID: 36555324
Yes, we are moving email platforms in a month, but we are rapidly getting close - a full defrag will give us some time.  
0
 

Author Comment

by:ohioholiday
ID: 36555327
That's what I've tried to run, it seems like everything I run with eseutil gives me the 1811 error - it's like it doesn't even see my edb file anymore.

C:\Program Files\Exchsrvr\bin>eseutil /p "e:\program files\exchsrvr\pub1.edb" /t
 d:\exchange\scratchpad.edb

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

Error: Access to source database 'e:\program files\exchsrvr\pub1.edb' failed wit
h Jet error -1811.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555328
It may or may not.   The system does a pretty good job managing the DB's with online defrays.

The DB natively may look like 8 GB, but there may be only 5 GB used.  The system does not shrink the DB, but reuses the space.
If the space is 8 GB and there is no free space in the DB then the defrag will not do a single thing.


0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555332
I would try the /i switch with the /p to ignore the STM signature.  

eseutil /p "e:\program files\exchsrvr\pub1.edb"  /i /t d:\exchange\scratchpad.edb
0
 

Author Comment

by:ohioholiday
ID: 36555333
I've done it before (we have a lot of employee turnover) it usually saves about 30%.  The public folder shrunk in half.  If I can just get it back.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555336
The offline will show the 30% reduction of the native file, but the system knows that the DB has the 30% available and will reuse the space even without the offline defrag.  If the space is not shutting down the IS Service then the OFFLINE is not really needed.
0
 

Author Comment

by:ohioholiday
ID: 36555337
I tried that too, it's like no matter what I run it doesn't access my edb file: and I've double checked it - it's there.

C:\Program Files\Exchsrvr\bin>eseutil /p "e:\program files\exchsrvr\pub1.edb"  /
i /t d:\exchange\scratchpad.edb


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

Error: Access to source database 'e:\program files\exchsrvr\pub1.edb' failed wit
h Jet error -1811.

Operation terminated with error -1811 (JET_errFileNotFound, File not found) afte
r 0.0 seconds.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555340
Have you restarted the server.
I would change the Exchange Services to from automatic to manual and restart the server.
See if you can run the ESEUTIL then.
0
 

Author Comment

by:ohioholiday
ID: 36555342
I will try this tomorrow.  Still have users online.
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 36555346
Ok.
SOmething might be locked that needs to release.  
I am off for the night.
I hope you get this resolved before the end of the weekend.

Good luck.

0
 

Author Closing Comment

by:ohioholiday
ID: 36556901
Did the folllowing.

1.  Added the eseutil directory to the environmental variables so I can run it from any command line location (to shorten length of eseutil commands) and typo issues
2.  Rebooted the server
3.  Tried running /g and /p on the Scenario 1 pub1.edb (the original file that had the offline defrag stopped so the stm was no good) - still got errors.
4.  Restored last backup (12 hours earlier but since it was the weekend and they are public folders - not concerned of too much data loss) - scenario 2 files
5.  Ran the eseutil /p with /t switch - repaired successfully and mounted fine.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Bada platform is becoming more and more famous this days and people talking about same. Some friends included those who have bada OS mobile asked me "what is bada?"and "what its features?". That encouraged me to research and write this article. [st…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

685 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