Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-09-17
21
Medium Priority
?
545 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 12
  • 9
21 Comments
 
LVL 23

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 23

Expert Comment

by:yo_bee
ID: 36555275
is the information store service running?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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 23

Expert Comment

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

0
 
LVL 23

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 23

Accepted Solution

by:
yo_bee earned 2000 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 23

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 23

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 23

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 23

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 23

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 23

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 23

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I spend far too much time on the web keeping up with the news: politics, the environment, computer stuff, the Experts Exchange. It's never-ending. But many of the most informative web pages are overwhelmed with noise: scrolling banners, flashing tex…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
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.
Suggested Courses

705 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