Failed Recovery Installation of Exchange 2013 in a DAG

This has been the recovery from hell. First, the databases did not want to be deleted from the failed server and then the server itself did not want to be removed from the DAG. Finally, after solving all of these issues, I was ready to do a recovery install. Wouldn't you know it. It fails at the point where mailbox transport service is attempting to start. An attempt to start the service manually fails with the message, the service started and then stopped. Have tried redoing the connectors, making sure both DC's are global catalog servers. There are no third party software installed. In fact, I have not installed the antivirus. I started by formatting and reinstalling Server 2008 enterprise clean. Any help would be appreciated.

January 30th, 2015 1:15am

Hi,

Based on your description, you got error message when you run the Setup /m:RecoverServer to recover server.

Do you follow this article to recover DAG member?

Recover a database availability group member server

https://technet.microsoft.com/en-us/library/dd638206(v=exchg.150).aspx

Please post the error message here for further research.

Best regards,

Free Windows Admin Tool Kit Click here and download it now
January 30th, 2015 11:12am

Thank you for getting back to me. Here are a few more facts:

1. The original installation was on a virtual server in the standard location.

2. I did not virtualize the server this time. I installed Server 2008 enterprise clean.

3. When running ADSIEdit, the object specified does not exist. The CN=EX02 is there but nothing else.

4. The database copies have been removed

5. The server, EX02, shows up in ecp, however, it does not show as a DAG member.

6. After removing the database copies and resetting the server in AD, I did a clean install of Server 2008 enterprise

7. Attempted to do an install from the downloaded software. Along the way, the DVD refused to be read so I used the exe copy, unzipped it and ran it from that. The command I used was c:\setup.exe

m:RecoverServer \IacceptExchangeServerLicenseTerms. The command was run from the failed server

8. The installation started ok and ran up to installing the HubTransportRole.

9. Attempted to reinstall and got this error:

C:\Program Files\Exchange>setup.exe /m:RecoverServer /IacceptExchangeServerLicenseTerms

Welcome to Microsoft Exchange Server 2013 Cumulative Update 2 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for
installation.
Languages
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Management tools
Client Access role: Client Access Front End service
Client Access role: Front End Transport service

Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites                                 COMPLETED
    Prerequisite Analysis                                     FAILED
     A Setup failure previously occurred while installing the HubTransportRole r
ole. Either run Setup again for just this role, or remove the role using Control
 Panel.
     For more information, visit: http://technet.microsoft.com/library(EXCHG.150
)/ms.exch.setupreadiness.InstallWatermark.aspx

The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

10. Attempted to uninstall and got the error that it could not be uninstalled.

January 30th, 2015 8:49pm

I know this sounds simple, but based on where it's failing, I feel like we should double check this, but did you install all the required Prereqs on the server prior to doing the install?
Free Windows Admin Tool Kit Click here and download it now
January 30th, 2015 9:59pm

Hi Rondryck,

basically the same idea as Hinte, but including the prereqs: https://technet.microsoft.com/en-us/library/bb691354%28v=exchg.150%29.aspx#WS2012MBX

--> why do you install using CU2? Please use a current CU

--> please see also https://technet.microsoft.com/en-us/library/aa997281%28v=exchg.150%29.aspx

     There is a switch to install Windows Components prereq automatically :/InstallWindowsComponents

As you are using CU2 you may also check to install the UCMA and Flterpack.

Regards,
Martin

January 30th, 2015 10:16pm

Thank you both for your advice. I reinstalled Server 2008 Enterprise again. I think fully patched the O/S with the exception of IE 9 which of course failed. I downloaded Exchange CU7 to have the latest and then followed the steps for the prerequisites. There were a few things in the tech net article that seemed puzzling. First, it said to prep AD by installing 4.5.2 and also installing Windows Management Framework 3.0. Further in the article it said to install things in order and it appears that those two items might have been out of order as it mentions them again. Another puzzle is that I could not get Knowledge Base article KB2533623 (Insecure library loading could allow remote code execution to install. None of the listed versions ran and it said it was not applicable to this O/S, The next area that gave me issues was %SystemDrive%\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir enable. This would not run. At that point, I attempted a reinstall. Here are the results:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\>cd exchange2013CU7 (this is the directory where I unzipped the downloaded software)

C:\Exchange2013CU7>setup.exe /m:recoverserver /iacceptexchangeserverlicenseterms


Welcome to Microsoft Exchange Server 2013 Cumulative Update 7 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for
installation.
Languages
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Management tools
Client Access role: Client Access Front End service
Client Access role: Front End Transport service

Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites                                 COMPLETED
    Prerequisite Analysis                                     COMPLETED

Configuring Microsoft Exchange Server

    Preparing Setup                                           COMPLETED
    Stopping Services                                         COMPLETED
    Copying Exchange Files                                    COMPLETED
    Language Files                                            COMPLETED
    Restoring Services                                        COMPLETED
    Language Configuration                                    COMPLETED
    Mailbox role: Transport service                           FAILED
     The following error was generated when "$error.Clear();
          $maxWait = New-TimeSpan -Minutes 8
          $timeout = Get-Date;
          $timeout = $timeout.Add($maxWait);
          $currTime = Get-Date;
          $successfullySetConfigDC = $false;

          while($currTime -le $timeout)
          {
            $setSharedCDCErrors = @();
            try
            {
              Set-SharedConfigDC -DomainController $RoleDomainController -ErrorV
ariable setSharedCDCErrors -ErrorAction SilentlyContinue;
              $successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);

              if($successfullySetConfigDC)
              {
                break;
              }
              Write-ExchangeSetupLog -Info ("An error ocurred while setting shar
ed config DC. Error: " + $setSharedCDCErrors[0]);
            }
            catch
            {
              Write-ExchangeSetupLog -Info ("An exception ocurred while setting
shared config DC. Exception: " + $_.Exception.Message);
            }

            Write-ExchangeSetupLog -Info ("Waiting 30 seconds before attempting
again.");
            Start-Sleep -Seconds 30;
            $currTime = Get-Date;
          }

          if( -not $successfullySetConfigDC)
          {
            Write-ExchangeSetupLog -Error "Unable to set shared config DC.";
          }
        " was run: "System.Exception: Unable to set shared config DC.
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception
, ErrorCategory errorCategory, Object target, String helpUrl)
   at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception
, ErrorCategory category, Object target)
   at Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalPro
cessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String fun
cName, Action func, Boolean terminatePipelineIfFailed)".


The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

The setup log is very lengthy so I will not paste it in here. Let me know if a copy is needed and I can email it to you.

Thank you for your assistance.

Free Windows Admin Tool Kit Click here and download it now
January 31st, 2015 4:30pm

Hi,

I saw someone got the same issue with you and resolved it by enable IPv6 on network interface cards.

Please check if you enable IPv6, if you haven't, please enable it and then reboot your server to check result.

Best regards,

February 1st, 2015 9:26pm

Thank you for the idea. I too saw that article and checked to make sure IPV6 was active. It is. I did notice something though. In one of the articles posted, it said to uninstall C++ and I have been doing that. I then checked the server that is still up and that is not uninstalled. Wonder if that error could be related to that. Going to try it and see. Either I have the command wrong or it needs to be uninstalled completely or that is not t
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2015 8:29am

Doublecheck to make sure your DC's also have IPv6 enabled.

https://social.technet.microsoft.com/Forums/en-US/eff5615b-d84d-4e51-a9d2-4b8315470141/error-during-exchange-2013-mailbox-transport-role-install-on-server-2012?forum=exchangesvrdeploy

February 2nd, 2015 1:12pm

Read the article in the link. While I had checked the exchange server for IPV6 I had not checked the DC's. One of the DC's had been used as a host for a virtual machine and as a result, had two NIC's showing although there was in fact only one physical NIC in use. I changed the setting to reflect a single NIC which allowed me to enable IPV6. Wish I could say that solved the problem but it did not as the transport service failed again at about 97% with the same error as before. I do think though that it is a DC issue based on the error. I compared the permissions on the working exchange server and the one I am trying to bring back up. The working one was a member of Exchange Install Domain Servers, Exchange Servers, Exchange Trusted Subsystems, Domain Computers and Managed Availability Servers. The Exchange items on the list were not present on the new server. I have changed that and will attempt a reinstall although doing a recovery install does not allow a lot of flexibility so I may not be able to do that. I was thinking of just using a different name for the server and forgetting about the failed server but then I realized that any installation of exchange is likely to fail because of
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2015 4:10pm

Finally gave up trying to do a recovery installation. Wiped out the server and used ADSIEdit to clean up AD. Then did another fresh install of Server 2008 Enterprise followed by a fresh install of Exchange 2013. Used the same server name and of course reset AD prior to naming the server. This worked. Probably spent too much time trying to recover the server in the first place. Am having a few issues getting it to rejoin the DAG but will start a new thread on that unless someone is reading this and wishes me to continue the thread for othe
February 9th, 2015 4:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics