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

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.    
ohioholidayAsked:
Who is Participating?
 
yo_beeDirector of Information TechnologyCommented:
You may need to run a repair on the db /P switch.
This resolves mounting issues I have had in the past.
0
 
yo_beeDirector of Information TechnologyCommented:
Have you tried to run an integrity check on the db?
eseutil /g
0
 
ohioholidayAuthor Commented:
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
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
yo_beeDirector of Information TechnologyCommented:
is the information store service running?
0
 
ohioholidayAuthor Commented:
Yes, but I ran it without it running and still the same error.
0
 
yo_beeDirector of Information TechnologyCommented:
what about this:
ESEUTIL /G priv1.edb /T \\Server2\d$\scratchpad.edb

0
 
yo_beeDirector of Information TechnologyCommented:
have you tried to rerun the offline defrag with the /t switch?
This might also resolve the issue.
0
 
ohioholidayAuthor Commented:
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
 
yo_beeDirector of Information TechnologyCommented:
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
 
yo_beeDirector of Information TechnologyCommented:
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
 
ohioholidayAuthor Commented:
Yes, we are moving email platforms in a month, but we are rapidly getting close - a full defrag will give us some time.  
0
 
ohioholidayAuthor Commented:
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
 
yo_beeDirector of Information TechnologyCommented:
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
 
yo_beeDirector of Information TechnologyCommented:
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
 
ohioholidayAuthor Commented:
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
 
yo_beeDirector of Information TechnologyCommented:
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
 
ohioholidayAuthor Commented:
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
 
yo_beeDirector of Information TechnologyCommented:
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
 
ohioholidayAuthor Commented:
I will try this tomorrow.  Still have users online.
0
 
yo_beeDirector of Information TechnologyCommented:
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
 
ohioholidayAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.