Exchange 2010 SP1 install failed on Mailbox role
I am trying to install Exchange Server 2010 SP1 on my mail server but facing some problem. Initially everything went as normal without any problem but later on I came to know that it is not able to pass the mailbox server role. I tried retrying this but always got stuck at installing mailbox role. What is the problem and how can I fix it? Is it related to some permissions; but I have the necessary rights. The error message that I get is as follows:
Quote:
Mailbox Role
Failed
Error:
The following error was generated when "$error.Clear();
$lgUsers = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
$showname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
$shmbx = get-mailbox -Filter {name -eq $lgUsers} -IgnoreDefaultScope -resultSize 1;
if( $shmbx -ne $null)
{
$servname = $shmbx.ServerName;
if( $shmbx.Database -ne $null -and $RoleFqdnOrName -like "$servname.*" )
{
Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
$mntMdb = get-mailboxdatabase $shmbx.Database -status | where { $_.Mounted -eq $true };
if( $mntMdb -eq $null )
{
Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
mount-database $shmbx.Database;
}
$mntMdb = get-mailboxdatabase $shmbx.Database -status | where { $_.Mounted -eq $true };
if( $mntMdb -ne $null )
{
$dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagementWkGuid;
$dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
if( $dmRoleGroup -ne $null )
{
Add-MailboxPermission $shmbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
}
}
}
}
" was run: "Couldn't resolve the user or group "englending.mrtg/Microsoft Exchange Security Groups/Discovery Management." If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust.".
Couldn't resolve the user or group "englending.mrtg/Microsoft Exchange Security Groups/Discovery Management." If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust.
The trust relationship between the primary domain and the trusted domain failed.
Re: Exchange 2010 SP1 install failed on Mailbox role
The problem occurs if you have the Action or Watermark registry values on Windows registry. It happens if you have tried previously but was unsuccessful to install the Mailbox server or may be its installation was in progress when the Exchange Server Analyzer was doing its analysis. So to solve this problem, we can first check from the Exchange setup logs to make sure the installation completed successfully. To find the logs you can use the path c:\ExchangeSetupLogs provided your windows installation is in your C drive. Once you are pretty sure that you have installed the mailbox server on your computer, you may now proceed to delete the Watermark or Action keys from Windows Registry. Simply open Windows Registry and navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\MailboxRole". Right click on it and select "Delete".
Re: Exchange 2010 SP1 install failed on Mailbox role
Does the computer to which you are trying to install this mailbox server role already belongs to an existing sbs environment? Did you tried to add this server to SBS? If you are not aware about how to join a computer running Windows Server 2008 as a member server to the Windows SBS network then here it is how to do it. First connect the computer running Windows Server 2008 directly to the Windows SBS network. Now login to Windows Server 2008 computer with the administrator account. Go to Start, right-click on Computer, and then click Properties. Select Change settings. You may be asked for confirmation with the User Account Control dialog box. Click on Continue button. Click on Computer Name tab and tap on Change button. Click on Domain option and enter the name of your Windows SBS domain name. Click OK to save the changes. You will have a window asking for the user name and password for the Windows SBS domain. Provide the necessary details and click on OK button. Again click on OK button two times, and then click Close to save your settings. Reboot your Windows Server 2008.
Re: Exchange 2010 SP1 install failed on Mailbox role
This is an old problem with Windows server which was resolved in its previous version but the same problem reappeared in its newer version Microsoft Exchange. It basically occurs when IPv6 is unchecked in the TCP/IP properties of the network settings. And the problem occurs because it is not disabled completely from Windows Registry. But you can disable them manually by yourself. To disable some unwanted IPv6 components, go to Start, type regedit in the Search box, and then click regedit.exe in the Programs list. You will be asked for confirmation on the User Account Control dialog box, where you have to click on Continue to confirm it. Now you should have Windows Registry Editor in front of you. Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\ registry subkey. Right-click on DisabledComponents and select Modify. Enter any one of the following values to configure the IPv6 protocol, and then click OK:
1. Type "0" to enable all IPv6 components.
2. Type "0xffffffff" to disable all IPv6 components, except the IPv6 loopback interface.
3. Type "0x20" to use IPv4 instead of IPv6 in prefix policies.
4. Type "0x10" to disable native IPv6 interfaces.
5. Type "0x01" to disable all tunnel IPv6 interfaces.
6. Type "0x11" to disable all IPv6 interfaces except for the IPv6 loopback interface.
Re: Exchange 2010 SP1 install failed on Mailbox role
First make sure if you have Federated mailboxes and DiscoverySearchMailbox on your Active Directory. These are required to have Mailbox server role installed. If you are unable to find these then might be it is not present on your Active Directory and you have to create it manually once again in order to have Mailbox role. For this, you have to run prepare AD and schema command once again. This will recreate the maiboxes and thus you shouldn't find any problem while installing Exchange Server 2010 SP1 on your server. To type in the command, first go to the command prompt and go to the Exchange Setup files directory and then enter the following:
Code:
setup /prepared
setup /prepareschema
Please note that you have to press Enter after each line. Once it went successful you may now retry the install once again.
Re: Exchange 2010 SP1 install failed on Mailbox role
Usually the general notation for the installation failing is due to unable to meet the requirements. Since you are trying to install the Mailbox server role, make sure you are running Windows Server 2008 Enterprise Edition or Windows Server 2008 R2. If you are on Standard Edition then there is a bad news for you that it is not at all possible. Also make sure that you meet the prerequisites for Exchange 2010. You may check the required prerequisites and install any hotfixes that you may to do download in order to run Exchange Server 2010 on your server on Microsoft website.