Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange 2010 Install Error: Database is Mandatory on UserMailbox

Posted on 2011-09-02
10
Medium Priority
?
1,359 Views
Last Modified: 2012-05-12
Installing new Exchange 2010 on Server 2008r2 in Server 2003 domain with an existing Exchange 2003 Server.

Getting this error (see attached screen shot).

I ran this command:

adfind -default -f "&(objectcategory=person)(objectclass=user)" samaccountname displayname homemdb -nodn -csv > c:\users.csv

And didn't find any users whose homemdb is NOT in the existing mail server.

I did have one aborted install of Exchange2010 on this domain and did create one test mailbox and then ended up deleting everything... I thought.  But I think that test mailbox might be my problem.

But it's not in Active Directory Users and Computers and it's not in the above users.csv generated by the adfind statement.

Thanks for any ideas on how to find my bad object.

   ErrorInstallingHubTransportRole.pdf
0
Comment
Question by:gateguard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 3

Expert Comment

by:Gilesmp
ID: 36473337
Are you able to see a trace of the test account anywhere using adsiedit.msc?
0
 

Author Comment

by:gateguard
ID: 36473460
I don't see it under the Users OU in Domain.  Is there another place to look?

Is there a search function in adsiedit?
0
 
LVL 3

Expert Comment

by:Gilesmp
ID: 36473774
Are you installing the Exchange roles separately or together?
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:gateguard
ID: 36474491
I did them together, then got a failure on the Hub Transport for an orphaned connector, which I resolved and then re-ran the installer choosing the first 3 roles (mailbox, client access, hub transport) and it went immediately to the Hub Transport installer since the other 2 were already installed.

0
 
LVL 3

Accepted Solution

by:
Gilesmp earned 2000 total points
ID: 36474690
Hmm, well the order of installation should be CA, HT, MB.  If you're saying the mailbox role is already installed  you may want to uninstall the mailbox role, reinstall hub then mailbox separately.

Although first, in adsiedit, can you check in "DC=domain, CN=users", find the "CN=FederatedEmail....", right click, Properties and see if the "homeMDB" is set for that and see where the "homeMTA" is pointing.

If the "homeMDB" is missing and/or the "homeMTA" is pointing at an incorrect location this can trigger the error you have received.  You can recreate the Federated Account by following this article http://support.microsoft.com/kb/978776
0
 

Author Comment

by:gateguard
ID: 36478164
I used this article, http://support.microsoft.com/kb/978776
and tried to follow  these steps:

1. Remove the FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 e-mail account by using the ADSIEDIT tool. To do this, follow these steps:
a. Click Start, click Run, type adsiedit.msc, and then click OK.
b. Locate the Default Naming Context node, and then locate to the CN=Users container.
c. Locate and then right-click the CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 container. Then, click Delete.
2. Rerun the Exchange Server 2010 Mailbox role setup application.
3. Create a new federated e-mail account by using the following command:
New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>

But step #2 is now failing:

Mailbox Role
Failed

Error:
The following error was generated when "$error.Clear();
          if ($RoleCreatePublicFolderDatabase)
          {
            $publicDB = get-PublicFolderDatabase -Server:$RoleFqdnOrName -ErrorAction SilentlyContinue;
            $DB = get-MailboxDatabase -Server:$RoleFqdnOrName -ErrorAction SilentlyContinue;
            if ($publicDB -and $DB)
            {
                set-mailboxdatabase `
                  -Identity:$DB.Identity `
                  -publicFolderDatabase:$publicDB.Identity `
                  -DomainController $RoleDomainController
            }                  
          }
        " was run: "Cannot bind argument to parameter 'Identity' because it is null.".

Cannot bind argument to parameter 'Identity' because it is null.


0
 
LVL 3

Expert Comment

by:Gilesmp
ID: 36480160
0
 

Author Comment

by:gateguard
ID: 36485957
I tried that solution and now I'm really hosed.  I can't move forward because I have errors and I can't move back because I can't uninstall anything.  If I try to uninstall the failed mailbox role it says my public folder has replicas and they have to be removed first, with no indication how to do that.

I would really like to just wipe this server but before I do that I want to know:

Is there a SURE way to "remove a failed exchange2010 server" from my (probably now corrupted) domain?
0
 
LVL 3

Expert Comment

by:Gilesmp
ID: 36487550
I'm not aware of a step by step guide for removing a failed uninstall of Exchange 2010.

I'm afraid all I can suggest at the moment is try to address the error you are receiving first and then retry the uninstall.

What I believe the error is asking you to do is to move all public folder replicas back to the 2003 server and delete the instances on the 2010 box.  You should be able to use MoveAllReplicas.ps1 to do move them back to the 2003 server ... more info here http://technet.microsoft.com/en-us/library/bb331970.aspx
0
 

Author Closing Comment

by:gateguard
ID: 36526101
I ended up wiping the server and then rebuilding it with the same name, ip and joined to the domain I ran:

setup.com /m:recoverserver

But thanks for all your help on this question.  I learned a lot.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question