question

BenMackay-3823 avatar image
0 Votes"
BenMackay-3823 asked BenMackay-3823 edited

Installing Exchange 2019 Setup Issue

Hey All,

Installing Exchange 2019 on Server 2019.
This is the first Exchange in this domain as we are 100% O365.
I have done the /PrepareAD as per the guide. Installing gets to Step 6 of 12: Mailbox role: Transport service with the below error.
Error:
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 -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
           $successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);

           if($successfullySetConfigDC)
           {
             break;
           }
           Write-ExchangeSetupLog -Info ("An error ocurred while setting shared 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.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

I have rebooted the new Exchange server. i can access the AD server from the Exchange. Not sure what else to try i have googled a bit but nothing has helped so far.

Thanks,
Ben

office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-deployment
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @BenMackay-3823
According to your description, this question seems to be related to Exchange, so we would move the irrelevant tags.

0 Votes 0 ·
EricYin-MSFT avatar image
0 Votes"
EricYin-MSFT answered

Have you read this article? Exchange 2013 Setup Fails With Error "An exception ocurred while setting shared config DC"
Some similar threads also suggest to check if Ipv6 is enabled, turn it on and try running setup again.
And check the Event log to see if EventID 2112 exists, that means you need to check the permission repoted in Event2112 in default Group Policy, this blog shows you an example.
If these above doesn't help, post related information about Microsoft Exchange Active Directory Topology Service in Event Log and error information in Exchange setup log here please.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BenMackay-3823 avatar image
0 Votes"
BenMackay-3823 answered BenMackay-3823 edited

Hey Sorry for the Late reply.

I have tried the suggest fixes and all do not work.

Event ID 4027 - Exchange server has firewall off and AD i have opened 890 UDP and TCP.

Process MSExchangeHMWorker.exe (ExHMWorker) (PID=4240). WCF request (Get Servers for XXXXXXX.com.au) to the Microsoft Exchange Active Directory Topology service on server (TopologyClientTcpEndpoint (localhost)) failed. Make sure that the service is running. In addition, make sure that the network ports that are used by Microsoft Exchange Active Directory Topology service are not blocked by a firewall. The WCF call was retried 3 time(s). Error Details
System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost:890/Microsoft.Exchange.Directory.TopologyService. The connection attempt lasted for a time span of 00:00:02.0470326. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:890. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:890
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---

Event ID 6
Cmdlet failed. Cmdlet Set-SharedConfigDC, parameters -DomainController "xxxxxxxxxxxxx" -ErrorVariable "setSharedCDCErrors" -ErrorAction "SilentlyContinue".

Not found any event ID 2112.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
I found this thread with similar description, please try if his steps work:
https://social.technet.microsoft.com/Forums/Lync/en-US/dfb507c8-7b31-414e-b16d-24a72155bc23/exchange-2016-installation-error-in-new-forest-event-error-2142?forum=Exch2016SD


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·

I am writing here to confirm with you how the thing going now?
If you need further help, please provide more detailed information, so that we can give more appropriate suggestions.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in [our documentation][1] to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·
BenMackay-3823 avatar image
0 Votes"
BenMackay-3823 answered EricYin-MSFT commented

Hey Eric,

Yes that link worked well. i got exchange installed with Mailbox and Management and setup the Hybrid connection to O365 Exchange.

i have a question about this. Can i manage Office365 mailboxes from on Prem?
We are 100% Exchange online so no on-Prem mailboxes are needed, we just want to be able to manage our Office365 Mailboxes and such from on prem, use of Exchange management Shell and such. Also to use the Schema for Exchange, hide from address lists ect...

Did i install the right version of Exchange? im not seeing the Office365 mailboxes in recipients.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I assume you should use this: https://support.microsoft.com/en-us/help/2641663/use-smtp-matching-to-match-on-premises-user-accounts-to-office-365
However, we focus on one issue per thread. Since your first issue is solved, please accept those helpful suggestions as answer to highlight it, and it you need more help with your second question, start a new thread.
Thanks for you understanding.

0 Votes 0 ·