Link to home
Start Free TrialLog in
Avatar of t38
t38

asked on

Exchange 2010 on Win2K8 Server fails

Currently installing Exchange 2010 on Win2K8 Server - current environment is Win2K3 domain running Exchange 2003 on Win2K3 Server - plan is to remove Ex 2003 Server once 2010 installed and tested.  Below is the latest in a line of errors encountered during installation - it's my first Exchange 2010 installation so any suggestions greatly appreciated.


Summary: 9 item(s). 7 succeeded, 1 failed.
Elapsed time: 00:09:00


Preparing Setup
Completed

Elapsed Time: 00:00:00


Stopping Services
Completed

Elapsed Time: 00:00:00


Copy Exchange Files
Completed

Elapsed Time: 00:00:02


Restoring services
Completed

Elapsed Time: 00:00:00


Hub Transport Role
Completed

Elapsed Time: 00:03:24


Client Access Role
Completed

Elapsed Time: 00:02:01


Unified Messaging Role
Completed

Elapsed Time: 00:00:44


Mailbox Role
Failed

Error:
The following error was generated when "$error.Clear();
          $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
          $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
          $dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
          if( $dismbx -ne $null)
          {
            $srvname = $dismbx.ServerName;
            if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
            {
              Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -eq $null )
              {
                Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
                mount-database $dismbx.Database;
              }

              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -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 $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
                }
              }
            }
          }
        " was run: "Couldn't resolve the user or group "hooperdolan.ie/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 "hooperdolan.ie/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.

Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&e=ms.exch.err.Ex88D115&l=0&cl=cp

Elapsed Time: 00:02:46


Finalizing Setup
Cancelled
Avatar of Exchange_Geek
Exchange_Geek
Flag of India image

Was there a prepareschema or prepareAD run before installation?
Is there a group called Discovery Management - this would ideally be created when you run prepareAD

Regards,
Exchange_Geek
Avatar of Amit
You have discovery mailbox corruption issue, to fix this you need to recreate them again manually.
@Amit: Exchange isn't even installed, how can he fix it :)

Regards,
Exchange_Geek
It seems you have Empty forest and setup is unable to contact the forest for Schema upgrade. In this case,  you need to perform schema upgrade first and then the installation.
Avatar of t38
t38

ASKER

Thanks for coming back to me -- this installation has been quite protracted and is my first Ex10 - I don't think I ran prepare AD, is it feasible to do that at this point and then continue with the installation?
Do you have empty forest?  Or are you installing it in a child domain?
SOLUTION
Avatar of Exchange_Geek
Exchange_Geek
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This error:

 If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust

I will interested to know the AD design.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial