Error Installing Exchange 2016 (Error occurred while configuring Search Foundation for Exchange.System.TimeoutException)

Fisto 1 Reputation point
2021-09-24T15:14:34.457+00:00

Hello :)

following initial scenario:
2 x Domain Controller 2008 R2 SP1
2 x Domain Controller 2012
forest functional level: Windows Server 2008 R2
1x Exchange Server 2013 CU23

I'm trying to install an additional Exchange Server 2016 CU21 (mailbox role) on a Windows Server 2016.
Unfortunately, the installation stops every time at "93% - Step 6 of 13 Mailbox Role Transport Service" with the following error message:

*[ERROR] Failure configuring SearchFoundation through installconfig.ps1 - Error occurred while configuring Search Foundation for Exchange.System.TimeoutException: Timed out waiting for Admin node to be up and running
bei Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.WaitForAdminNode(String hostControllerNetTcpWcfUrl)
bei Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Install(String installDirectory, String dataDirectoryPath, Int32 basePort, String logFile, Boolean singleNode, String systemName, Boolean attachedMode)
bei CallSite.Target(Closure , CallSite , Type , Object , Object , Object , Object , Object , Object , Boolean ) *

  • ...

try
{

the BasePort value MUST be kept in sync with dev\Search\src\OperatorSchema\SearchConfig.cs

&$command -action i -baseport 3800 -dataFolder $dataFolderPath -silent;
}
catch
{
$errorMsg = "Failure configuring SearchFoundation through installconfig.ps1 - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $errorMsg;

... *

What I've already done:

Hope you have ideas what I could still check.

Thanks you! :)

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,480 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Singh 4,866 Reputation points
    2021-10-06T10:29:20.73+00:00

    This issue occurs because of a trailing space in the PSModulePath variable in the environment variables.

    To resolve this issue:

    1-Remove trailing spaces from the PSModulePath variable.
    2-If there are more PSModulePath variables, make sure that they do not contain any trailing spaces.
    3After you remove the trailing space, restart the server.

    For more information about how to configure Environment Variables, see Configure an Environment Variable item.

    0 comments No comments