Avatar of Doug Penneman
Doug Penneman
Flag for United States of America asked on

Microsoft-Active-Sync crashing after Exchange database repair

My Exchange 2003 server had a corrupted database. I ran eseutil /p and fixed it but now my ActiveSync crashes whenever any thing tries to use it. Event ID 1011, source W3SVC. Description: A process serving application pool 'ExchangeActiveSyncPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '3584'. The data field contains the error number.

I recreated all the virtual directories already. OWA works fine.
ExchangeMicrosoft Server OSMicrosoft Legacy OS

Avatar of undefined
Last Comment
Doug Penneman

8/22/2022 - Mon
Alan Hardisty

After you run eseutil /p, you should also run eseutil /d and isinteg -s servername -fix -test alltests

Did you?

Alan
Doug Penneman

ASKER
No, I'll do that tonight. Eseutil /p took 11 hours with a 25gb database.
Alan Hardisty

Yep - it isn't fast!  About 4-6gb per hour depending on hardware, so 11 hours seems quite slow.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Dhanukadam

To resolve this problem, install Update Rollup 2 for Microsoft Exchange Server 2007 Service Pack 1. For more information about Update Rollup 2 for Exchange Server 2007 Service Pack

see the following Exchange Help topic:
http://technet.microsoft.com/en-us/library/ee221178(EXCHG.80).aspx
information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:

How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007
http://technet.microsoft.com/en-us/library/ee221180(EXCHG.80).aspx
Exchange_Geek

The above response doesn't make sense, since this post is for Exchange 2003 and not 2007.

@DougPenneman:

Please read the following hot fix.

The worker process for Exchange ActiveSync crashes when end-users try to synchronize their third-party devices with an Exchange Server 2003 server.
http://support.microsoft.com/kb/957191

Also, please check how many of you're users are using IOS6.
There are known issues with the relationship of IOS6 and Exchange
Read: http://social.technet.microsoft.com/Forums/en-US/exchangesvrmobilitylegacy/thread/da5906fa-25e2-4a64-8a51-28c1ed39906c

Regards,
Exchange_Geek
Doug Penneman

ASKER
25gb.edb + 15gb.stm / 4gb/hr = 10 hrs. (is this how you calculate?)
Hardware is a Xeon E5-2620, 16gb RAM ECC. RAID 1 setup.
By the way, this Exchange server is a virtual machine on this host. That may be a discussion for another topic. Seems sluggish.
Eseutil /D took 7 hours.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Alan Hardisty

Yep - that how you do it.  It depends on the hardware, but with only 4Gb ram max, it isn't fast.

7 hours is better.

Isinteg is pretty quick and you should run it at least twice.
Doug Penneman

ASKER
My original problem still exist. Activesync becomes disabled and I also discovered my RPC over HTTP is not working either. It stops at connecting to port 6001. I've checked all the settings necessary for this to work but... could this be registry security messed up. After the original crash, the server did say Rebuilding Active Directory indices.
Alan Hardisty

Okay - is this SBS 2003 or Windows and Exchange 2003?

If SBS - please re-run the connect to the internet wizard.  If not, please run through my article and check your settings:

https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html

Alan
Your help has saved me hundreds of hours of internet surfing.
fblack61
Doug Penneman

ASKER
sorry Geek. This setup has been working up until bad memory caused the corruption and server crash the other day.
Doug Penneman

ASKER
It is Windows Enterprise with Exchange 2003. No SBS wizards for me.
Alan Hardisty

Oh well.  Try my article and see how it goes.  You can also re-install Exchange 2003 SP2 which might clear out the cobwebs.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Doug Penneman

ASKER
After eseutil /d and isinteg fix (errors fixed), the MAS is working and the RPC over HTTP is working but I still get errors but not so critical now.

Here is the popup error I get at boot time after login:
IIS Worker Process encountered a problem and needed to close.
Details: szAppaname: w3wp.exe szModname: msvcrt.dll

Connectivity tester results for Outlook Anywhere:
Attempting to ping RPC endpoint 6001 (Exchange Information Store) on server server1.firstrestore.com.
The attempt to ping the endpoint failed.
The RPC_S_SERVER_UNAVAILABLE error (0x6ba) was thrown by the RPC Runtime process.
 
I've setup RPC over HTTP many times so I know all the steps and have verified they are in place. I'll try the SP2 reinstall later, I tried and it gave me the IMF is older and needs to be uninstalled error. one thing after another.
Alan Hardisty

Use the rpcnofrontend tool in the following link to check and modify your registry keys accordingly:

http://www.petri.co.il/how-can-i-configure-rpc-over-https-on-exchange-2003-single-server-scenario.htm

For the IMF issue, please have a read of this http://exchangepedia.com/blog/2006/11/update-manually-removing-imf-v1.html

Ignore the IMF Version Number!

Not sure you need to reboot after removing IMF - just re-install SP2 afterwards.
Doug Penneman

ASKER
My emails have stopped being delivered for some reason now. I've restarted all the Exchange services. They're just sitting in the queue. No Events in event log. Crap.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Alan Hardisty

Restart the server.
Exchange_Geek

which queue are we talking about?

Regards,
Exchange_Geek
Doug Penneman

ASKER
Installing SP2 now.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Doug Penneman

ASKER
Local delivery queue
Doug Penneman

ASKER
Installed SP2, Rebooted server, there is still 105 emails in the local delivery queue. I've sent a couple of test and they get delivered but some are still adding to the queue. What do I do to fix this?
Alan Hardisty

Who are the emails destined for?  Local email addresses that you recognise?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Doug Penneman

ASKER
Yes they are all good local addresses. A few spams in there, but that's normal.

I would like some advice at this point.
Do I need to run isinteg again?
Should I create a "dial tone" database and move my current priv1 to it?
Should I create a new mailbox store and move the mailboxes to it?
Do I need to begin to think about recreating the server from scratch? ugh.
ASKER CERTIFIED SOLUTION
Alan Hardisty

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Doug Penneman

ASKER
This was a new server box, setup as a virtual host. This Exchange server is a virtual machine on the box. One of the RAM modules was bad (most likely, STOP 7A errors) and went crazy and crashed the server a few times before I could replace the RAM.

This could be more corruption than just the mailbox store?

It is Exchange Enterprise. I've never created a new database and moved the mailboxes on the same server but it looks easy right?
Alan Hardisty

It is very easy:

http://support.microsoft.com/kb/821748

I also believe that Exchange 2003 isn't officially supported on a virtual server, but let's not worry about that now.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Doug Penneman

ASKER
I think I'm going to have to call Microsoft. It just won't straighten up.
Alan Hardisty

Not sure you will get any help from Microsoft with the server being virtual.
Doug Penneman

ASKER
Solution was ESEutil /P, ESEutil /D, isinteg x 3, create new store and move mailboxes that were not receiving mail. I did lose two days worth of email from last week but was able to recover them from the ost file.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck