Failed Exchange 2016 CU9 Install

On my Exchange 2016, CU9 failed to install. Now MS Exchange Replication service (MSExchcangeRepl) will not stay running and MS Exchange RPC Client Access (MSExchangeRPC) will not start.

When setup (with /m:upgrade) is ran from command prompt the upgrade fails with a critical error at the end of the Mailbox Service section of the Upgrade. The setup log shows that there is an error when trying to mount mailbox database - specifically:
[2] Failed to mount database "MDB01". Error: An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server Server16.McKeand.local. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase3 [Server: Server16.McKeand.local]

Restore from backup is not an option.

The questions are:
  1. Will Setup /m:RecoverServer do anything to the information store?
  2. Should I copy the .edb elsewhere before running the RecoverServer?
  3. Is there anything else I should try before running the RecoverServer?
James McKandTechnical ConsultantAsked:
Who is Participating?
 
James McKandConnect With a Mentor Technical ConsultantAuthor Commented:
The solution to my issue was that there were several .dlls missing from my bin directory. I had to copy from the mounted iso to the bin directory. I don't know if the update was interrupted while copying or not.

The biggest issue was that I could not find what file was missing. I found a report from one of the Error 4999 that the MSExchangeRepl was throwing that pointed to what file was missing. I also had to copy a couple dlls for the MSExchangeRPC service to be able to run.

Lesson learned - Microsoft Update cannot install CUs for Exchange. Why does it even try?
1
 
FOXConnect With a Mentor Active Directory/Exchange EngineerCommented:
Were your server(s) put in maintenance mode before installing the CU9?

https://practical365.com/exchange-server/installing-cumulative-updates-on-exchange-server-2016/
0
 
James McKandTechnical ConsultantAuthor Commented:
As the update was first ran by Windows Update (silly me), No it was not.

I will try to put it in maintenance mode.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
James McKandTechnical ConsultantAuthor Commented:
In maintenance mode I get:
[05/12/2018 23:45:55.0320] [2] An Active Manager operation failed. Error: Invalid Active Manager configuration. Error: Active Manager hasn't completed configuration initialization. [Database: MDB01, Server: Server16.McKeand.local]

So the database won't mount.
0
 
FOXActive Directory/Exchange EngineerCommented:
Does the path 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database MDB01' exist? If not create it.
0
 
James McKandTechnical ConsultantAuthor Commented:
The path to the database is located at C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\MDB01

I'll create the path and report back.
0
 
James McKandTechnical ConsultantAuthor Commented:
Back to the orginal error message.

When MSExchangeRepl service tries to start I get a message in the event log:
Watson report about to be sent for process id: 10496, with parameters: E12, c-RTL-AMD64, 15.01.1466.003, msexchangerepl, M.E.Cluster.Replay, M.E.C.A.AmHelper.HandleKnownExceptions, S.IO.FileNotFoundException, 7374-dumptidset, 15.01.1466.003.
ErrorReportingEnabled: True

I think I am done for this evening.
0
 
MAS (MVE)Connect With a Mentor Technical Department HeadCommented:
Hi James McKand,
Please make sure your database clean shutdown.   If the database is in clean shutdown and still you have error you can go ahead and recover.
Please use this command to check the database status/health.
 eseutil /mh "D:\database\Mailbox Database 0436312751.edb"

Open in new window



And when you recover you can specify the path.
0
 
MAS (MVE)Technical Department HeadCommented:
Glad to know you found a solution and thanks for sharing the solution.
0
 
James McKandTechnical ConsultantAuthor Commented:
I was able to get the services running and allow the update to complete successfully. The contributors did give me some hints on how to get the update to run, but most of the leg work was mine.
1
All Courses

From novice to tech pro — start learning today.