cannot send/receive emails with excahnge 2013 after failure to update to CU21

Last night attempted to update Exchange 2013 to CU21 on 2012 R2 server (VM).  This failed at stopping services.
We cannot send or receive emails.

All exchange services (+others no doubt) where disabled.  I have set them all to automatic and restarted the exchange - we still cannot send or receive.

What do I need to check.

Thanks
Brian FieldingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
Make sure that you got all exchange services re-enabled. There are soo many. Look at the documentation, since I can only quote the services for Exchange 2016.
0
Brian FieldingAuthor Commented:
I set all microsoft exchange services to automatic and started them.
I also rebooted server and exchange seems to be running (but no emails sent/received).

I get errors like 5016,  10004
0
Andy MIT Systems ManagerCommented:
Try re-installing the CU patch by starting it from an administrator command prompt. Once it's installed email functionality should return to normal.

You could also check the usual - telnet to port 25 on the server, try sending an email through it and see if you get any errors. Check that the databases are mounted, run a test-mailflow from the management shell.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

timgreen7077Exchange EngineerCommented:
I ran into this same issue as a result of the July patches. I attempted to upgrade Exchange 2016 and failed to stop all the services and once i rebooted I found that everything was disabled, so after re-enabling still nothing worked. I had to install the out of band patch from MS to fix the issue with the windows patches in July. Once i installed the out of band patch, the issue was resolved. see the below link for fix for the patches and this may fix you up. you will need to move forward with the install.

https://blogs.technet.microsoft.com/exchange/2018/07/16/issue-with-july-updates-for-windows-on-an-exchange-server/
0
Brian FieldingAuthor Commented:
Firstly, thanks for your suggestions but unfortunately I could not resolve the issues so decided to contact Microsoft and the following is a summary of their approach:

Following the CU21 update attempt, which failed during “closing of services” all exchange services were disabled.  I reset these to automatic and following a restart, the exchange server was running but we could not send / receive messages.  I now contacted Microsoft and  . . .

They checked the Server ‘component state’:  all were inactive; they ran the following to activate these:

Get-ServerComponentState "Server" | % { Set-ServerComponentState " Server" -Requester Functional -Component $_.Component -State Active }
Get-ServerComponentState " Server" | % { Set-ServerComponentState " Server" -Requester HealthApi -Component $_.Component -State Active }
Get-ServerComponentState " Server" | % { Set-ServerComponentState " Server" -Requester Maintenance -Component $_.Component -State Active }

After which we started receiving emails but outbound emails were still stuck in the queue.  MS recreated the send connector and restarted the MSExch Transport service after which outbound mailflow started working.

CU21 update
Now MS checked the error which caused the CU21 update to fail:
                “ ErrorRecord: Service 'W3Svc' failed to reach status 'Stopped'

MS now checked recently installed updates.  MS have recently identified few KB updates which have caused issue to Exchange operations.

The following updates had been installed on server:
KB 4338824
KB 4339093
MS removed these KB updates & rebooted the server

It was noted that .Net Framework version was 4.7.2
This (KB4054566) was removed and the server rebooted.

Started the setup again but got following error:
Setup can't continue with the upgrade because the mscorsvw (13268) has open files.
Close the process, and then restart Setup.

The following article relates:
  http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.ProcessNeedsToBeClosedOnUpgrade.aspx 

Setup finished successfully & then rebooted the server.

Now checked that Exchange version is reflecting CU21 through registry;  Tested mailflow, all worked fine.

Important Links:

Issue with July Updates for Windows on an Exchange Server:
https://blogs.technet.microsoft.com/exchange/2018/07/16/issue-with-july-updates-for-windows-on-an-exchange-server/ 

How to: Determine which .NET Framework versions are installed:
https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

Exchange Server Supportability Matrix:
https://technet.microsoft.com/en-us/library/ff728623(v=exchg.150).aspx 

Microsoft .NET Framework 4.7.2 web installer for Windows:
https://support.microsoft.com/en-in/help/4054531/microsoft-net-framework-4-7-2-web-installer-for-windows

mscorsvw error message when trying to run Exchange 2013 setup:
https://social.technet.microsoft.com/Forums/en-US/e5a21d75-d1c2-4832-b135-2c0816e3497d/mscorsvw-error-message-when-trying-to-run-exchange-2013-cu-8
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brian FieldingAuthor Commented:
A diificult issue to resolve - especially with recent issues with .Net 4.7.2 and other updates.
Thanks for your help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.