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
Exchange

Avatar of undefined
Last Comment
Exchange_Geek

8/22/2022 - Mon
Exchange_Geek

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
Amit

You have discovery mailbox corruption issue, to fix this you need to recreate them again manually.
Exchange_Geek

@Amit: Exchange isn't even installed, how can he fix it :)

Regards,
Exchange_Geek
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Amit

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.
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?
Amit

Do you have empty forest?  Or are you installing it in a child domain?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Exchange_Geek

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Amit

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.
Amit

ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.