Solved

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

Posted on 2011-09-17
21
537 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 21

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 21

Expert Comment

by:yo_bee
ID: 36555275
is the information store service running?
0
 

Author Comment

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

Expert Comment

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

0
 
LVL 21

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 21

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 21

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 21

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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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 21

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 21

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 21

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 21

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 21

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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

How many times have you been browsing the internet, with multiple tabs open, and closed the wrong one? Have you ever clicked 'Close all tabs' instead of 'Close current tab' ? Internet Explorer 8 now brings to you, what Firefox has had for a wh…
I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now