Ex2003 SP2 Local Delivery Queue Stuck

Posted on 2009-05-11
Last Modified: 2012-05-06
I recently had a hard drive failiure on a server running Exchange. The raid config got corrupt so all the data was lost. Luckily we had a 35GB NTBackup of Exchange. I restored this to a new /disasterrecovery Exchange server with the same name. It did the 15GB EDB but when it got part way into the STM it failed. After creating a blank STM we got the store mounted and email was flowing for a bit. A few days later it stopped working. Noticed that the database size was never increased from 18GB to 75GB (could be why the STM failed to restore....).

After increasing the DB size and restarting the information store email is still stuck in the local delivery queue. I created 2 new test users and can send mail back and forth with them. I can send internal and external email inbound/outbound with them. Works fine. Old users are not send/recieving any email. It gets stuck in the Local Delivery Queue. I have tried to do force connection and Unfreeze but nothing works. I have about 150 emails, 8MB.

What could get these old emails to work? Any new email old users send also get stuck in the queue. The first few emails sent 2 days ago are being deleted with NDRs, so it appears a corrupt email is not the cause.

Question by:undy30
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
  • 5
  • 4
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24355707
When the restore was unsucessful you ran the repair with the create STM switch, did you run the Offline defrag and the Isinteg to remove the logical corruption before mounting it in production.
Can you increase diagnostic on Transport and see if you get any 327 event ids.
In case you get just Offline defrag and isinteg the database.

Author Comment

ID: 24356244
I did do an offline defrag and isinteg before mounting the database. I increased loggin on the Transport, I'll see what comes up.

When I reboot the server the queue does go back to 0 and mail appears to deliver fine. But then instantly the queue freezes again.

Author Comment

ID: 24356367
Yes, we have a lot of 327 events.

The following call : EcLocallyDeliverMsg to the store failed. Error code : -2147221240 (Message-ID  <>). MDB : 373c33b4-1d96-4c09-8279-39f17bf4454f. FID : . MID : . File : D:\Program Files\Exchsrvr\Mailroot\vsi 1\Queue\NTFS_93c1c8f401c9d2500000002e.EML.

The Queue folder has the emails in it. I can open them just fine in outlook express on the server.

We're getting the exact error in KB924206. We applied the patch and no luck.

Thanks for your help!
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why


Author Comment

ID: 24356620
I disconnected a users mailbox in AD and reconnected it in ESM with no luck. Outbound email appears to work fine. It's just any mail being sent to the store (i guess the 327 errors show that).

LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24361567
Is the Exchange a standard to enterprise?
If its Enterprise create a new store and move mailbox or else if standard and Exchange 2003 create a RSG and merge mailboxes from RSG to prduction, as there is still corruption in your store.
Also would like to know how much time did Offline defrag take and when you ran Isinteg where there any errors warnings or fixes?

Author Comment

ID: 24365616
I have Standard edition. I'm currently EXmerging all my mailboxes to PST, to create a new mail store. The Offline defrag was quicker than I thought, about 8 hours for both the defrag and the isinteg. I did have to run isinteg twice as I got errors the first time, second time was clean.
LVL 52

Accepted Solution

Manpreet SIngh Khatra earned 475 total points
ID: 24372298
OHk once the PST is taken out dismount the stores and move the current DB and logs to a different location and then mount with a blank.
Do not delete the DB or logs until everything is fine for some weeks.

Author Comment

ID: 24376186
Ok the issue appears to be fixed. Created the new store and imported the PSTs and that finally got it working.

One small issue. Someone had a massive PST file and I did a date range of 1 year back but that was still over 2GB. I thought cancelling the Exmerge operation would make the PST at least somewhat readable but it isn't. I've done a ScanPST on it and that failed. Outlook can't open it, as with EXmerge. Do you know of anything besides a paid 3rd party program to get that readable? If not I"ll just do a RSG with a backup.

Thanks so much!
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24396300
You can use the Exmerge and split the time to 3-6 months rather then 1year what your were working with.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to:…
Suggested Courses

624 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