Asked by:
Unable to install exchange server 2019

Question
-
I am trying to install ex2019 but it is getting failed. Below is the error log.
if ($allGals -eq $null -or $allGals.Count -eq 0)
{
$createNewOab = $false;
Write-ExchangeSetupLog -Warning `
("Couldn't find the default global address list. The default offline address book can't be created.");
}
elseif ($allGals.Count -gt 1)
{
$createNewOab = $false;
Write-ExchangeSetupLog -Warning `
("Found " + $allGals.Count + " default global address lists. You can have only one default global address list in your organization. The default offline address book will not be created.");
}
else
{
$oabAddressList = $allGals[0];
Write-ExchangeSetupLog -Info ("OAB will be based on default GAL: " + $oabAddressList.Name);
}
}
if ($createNewOab)
{
if ($oabGlobalWebDistribution -eq $false)
{
$currentAdSiteDn = (Get-ExchangeServer $RoleFqdnOrName -DomainController:$RoleDomainController).Site.DistinguishedName;
$allOabVdirs = @(Get-OabVirtualDirectory -ADPropertiesOnly -DomainController:$RoleDomainController);
$e15MinimumServerVersion = New-Object Microsoft.Exchange.Data.ServerVersion([Microsoft.Exchange.Data.Directory.SystemConfiguration.Server]::E15MinVersion);
if ($allOabVdirs -ne $null -and $allOabVdirs.Count -gt 0)
{
foreach ($oabVdir in $allOabVdirs)
{
if ([Microsoft.Exchange.Data.ServerVersion]::Compare($oabVdir.AdminDisplayVersion, $e15MinimumServerVersion) -gt 0)
{
$oabVdirSiteDn = (Get-ExchangeServer $oabVdir.Server -DomainController:$RoleDomainController).Site.DistinguishedName;
if ($oabVdirSiteDn -eq $currentAdSiteDn)
{
$oabVdirs = $oabVdir;
break;
}
elseif ($oabVdirs -eq $null)
{
$oabVdirs = $oabVdir;
}
}
}
}
if ($oabVdirs -ne $null)
{
Write-ExchangeSetupLog -Info ("OAB will be distributed to OAB virtual directory " + $oabVdirs.Name);
}
else
{
Write-ExchangeSetupLog -Info ("Could not find any OAB virtual directories; OAB will be configured without distribution.");
}
}
try
{
Write-ExchangeSetupLog -Info ("Creating new default OAB.");
$newOab = New-OfflineAddressBook `
-Name $oabName `
-AddressLists $oabAddressList `
-VirtualDirectories $oabVdirs `
-GlobalWebDistributionEnabled $oabGlobalWebDistribution `
-IsDefault $true `
-DomainController:$RoleDomainController;
}
catch [Microsoft.Exchange.Data.Directory.ADObjectAlreadyExistsException]
{
Write-ExchangeSetupLog -Warning ("Tried to create new default OAB but the object already exists; it may have been created by another instance of setup.");
}
if ($oabConfiguredAttributes -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting OAB ConfiguredAttributes to: " + $oabConfiguredAttributes);
Set-OfflineAddressBook $newOab -ConfiguredAttributes $oabConfiguredAttributes -DomainController:$RoleDomainController;
}
}
}
" was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.
at Microsoft.Exchange.Data.Directory.ADDataSession.ObjectsFromEntries[TResult](SearchResultEntryCollection entries, String originatingServerName, IEnumerable`1 properties, ADRawEntry dummyInstance, String callerFilePath, Int32 callerFileLine, String memberName)
at Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.GetNextPage()
at Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.<GetEnumerator>d__29.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientObjectSession.FindOrganizationMailboxByCapability(OrganizationCapability capability, QueryFilter optionalFilter, String callerFilePath, Int32 callerFileLine, String memberName)
at Microsoft.Exchange.Data.Directory.OrganizationMailboxHelper.InternalGetOrganizationMailboxesByCapability(IRecipientSession session, OrganizationCapability capability, QueryFilter optionalFilter)
at Microsoft.Exchange.ProvisioningAgent.NewOfflineAddressbookProvisioningHandler.FindGeneratingMailbox(String domainController, OrganizationId orgId)
at Microsoft.Exchange.ProvisioningAgent.NewOfflineAddressbookProvisioningHandler.ProvisionDefaultProperties(IConfigurable readOnlyIConfigurable)
at Microsoft.Exchange.Provisioning.ProvisioningLayer.ProvisionDefaultPropertiesImpl(Task task, IConfigurable temporaryObject, IConfigurable dataObject, Boolean checkProvisioningLayerAvailability)
at Microsoft.Exchange.Provisioning.ProvisioningLayer.ProvisionDefaultProperties(Task task, IConfigurable temporaryObject, IConfigurable dataObject, Boolean checkProvisioningLayerAvailability)
at Microsoft.Exchange.Configuration.Tasks.NewTaskBase`1.InternalStateReset()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
[08/02/2019 17:11:49.0740] [1] [ERROR] Database is mandatory on UserMailbox.
[08/02/2019 17:11:49.0740] [1] [ERROR-REFERENCE] Id=SystemAttendantDependent___b06ea38070354e2c9fe8bac2b971306a Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[08/02/2019 17:11:49.0740] [1] Setup is stopping now because of one or more critical errors.
[08/02/2019 17:11:49.0740] [1] Finished executing component tasks.
[08/02/2019 17:11:49.0857] [1] Ending processing Install-MailboxRole
[08/04/2019 08:09:33.0720] [0] CurrentResult setupbase.maincore:396: 0
[08/04/2019 08:09:33.0767] [0] End of Setup
[08/04/2019 08:09:33.0767] [0] **********************************************
Sunday, August 4, 2019 9:55 AM
All replies
-
Hello,
This is the forum for Microsoft Training and Certification, since you are asking about Exchange Server, I suggest you reach out to the experts in the Exchange forum.
Here's the link for you:
Exchange Server > Exchange Server 2019Best regards,
LeonBlog:
https://thesystemcenterblog.com LinkedIn:
- Proposed as answer by Leon Laude Wednesday, August 7, 2019 7:38 AM
Monday, August 5, 2019 8:38 PM