Link to home
Start Free TrialLog in
Avatar of SectorX4
SectorX4Flag for Australia

asked on

Exchange 2010 install problems

I have recently installed Echange 2010 onto Windows Server 2008 R2 and was in the process of following https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2881-Migrate-Small-Business-Server-2003-to-Exchange-2010-and-Windows-2008-R2.html for the migration.

I encountered a problem with the install when I first loaded Exchange and stupidly restored the VM to a previous snapshot which left the current AD master with information about a partial install that no longer existed.

I managed to get Exchange re-installed after some other issues but the CAS role ended up partially installed. I have tried to run setup in maintenance mode to install the role but receive the following error:

Client Access Role
Failed

Error:
The following error was generated when "$error.Clear(); $thisServer = Get-ExchangeServer $RoleFqdnOrName; $adSiteId = $thisServer.Site; $pureMailboxServersFqdns = Get-ExchangeServer | Where {$adSiteId -eq $_.Site -and $_.IsMailboxServer -and -not $_.IsClientAccessServer} | ForEach {$_.Fqdn}; Get-MailboxDatabase | Where { ($pureMailboxServersFqdns -contains $_.RpcClientAccessServer) -and ($adSiteId -eq (Get-ExchangeServer $_.Server).Site)} | Set-MailboxDatabase -RpcClientAccessServer $thisServer" was run: "The operation couldn't be performed because object 'GLGVMEMAIL.EblenSubaru.local' couldn't be found on 'GLGVMPDC.EblenSubaru.local'.".

The operation couldn't be performed because object 'GLGVMEMAIL.EblenSubaru.local' couldn't be found on 'GLGVMPDC.EblenSubaru.local'.

Error:
The following error was generated when "$error.Clear(); $thisServer = Get-ExchangeServer $RoleFqdnOrName; $adSiteId = $thisServer.Site; $pureMailboxServersFqdns = Get-ExchangeServer | Where {$adSiteId -eq $_.Site -and $_.IsMailboxServer -and -not $_.IsClientAccessServer} | ForEach {$_.Fqdn}; Get-MailboxDatabase | Where { ($pureMailboxServersFqdns -contains $_.RpcClientAccessServer) -and ($adSiteId -eq (Get-ExchangeServer $_.Server).Site)} | Set-MailboxDatabase -RpcClientAccessServer $thisServer" was run: "Value cannot be null.
Parameter name: key".

Value cannot be null.
Parameter name: key

The first error was caused by me removing the Exchange 2010 server from ADSIedit on the PDC.

Avatar of sunnyc7
sunnyc7
Flag of United States of America image

Please upload setup logs
c:\exchangesetup\exchangesetup.log
Avatar of SectorX4

ASKER

This is the setup log, since this post I have been attempting to remove the Exchange roles which is also failing so there might be some more information at the end.
ExchangeSetup.log
Only cause i find is from error as -

"The first error was caused by me removing the Exchange 2010 server from ADSIedit on the PDC"

Log file also says

"ERROR] Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly."


for me it looks like it is not able to find information in adsiedit at

Launch ADSIEdit.msc and navigate to CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=<Your Organization Name>, CN=Administrative Groups, CN= <Exchange 2010 Administrative Group>, CN=Servers, CN=<Server Name>

try to restore this values. i am not sure how but this way you will be able to make it install /uninstall


Did you install Windows installer 4.5 before you started Exchange 2010 install.
did you a adprep /prepareschema before you installed Exchange 2010.
Are you trying to create the new Server - with the same name as the Old 2003 Server ?

@ what part of DeMazter's guide are you ?

Errors form logs
[08/13/2010 05:20:41.0494] [1] Setup failed previously while performing the action Uninstall.  Looking for the failed task with ID 9a909073.

[08/13/2010 05:20:41.0692] [1] [ERROR] The following error was generated when "$error.Clear(); get-WebServicesVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController;" was run: "Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.".
[08/13/2010 05:20:41.0692] [1] [ERROR] Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.
[08/13/2010 05:20:41.0692] [1] [WARNING] <<<  Setup failed to execute a task. Dumping all variables.... >>>


==
Weird thing is, the setup correctly detected Exchange Server form Domain controller here

[08/13/2010 00:49:10.0165] [0] The MSExchangeADTopology has a persisted domain controller: GLGVMPDC.EblenSubaru.local
[08/13/2010 00:49:10.0822] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use GLGVMPDC.EblenSubaru.local
[08/13/2010 00:49:10.0822] [0] Setup is choosing a global catalog...
[08/13/2010 00:49:10.0837] [0] Setup has chosen the global catalog server GLGVMPDC.EblenSubaru.local.
[08/13/2010 00:49:10.0837] [0] Setup will use the domain controller 'GLGVMPDC.EblenSubaru.local'.
[08/13/2010 00:49:10.0837] [0] Setup will use the global catalog 'GLGVMPDC.EblenSubaru.local'.
[08/13/2010 00:49:10.0837] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=EblenSubaru,DC=local'.
[08/13/2010 00:49:10.0853] [0] Exchange organization container for the organization is 'CN=EBLENSUBARU,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=EblenSubaru,DC=local'.
[08/13/2010 00:49:10.0900] [0] Setup will search for an Exchange Server object for the local machine with name 'GLGVMEMAIL'.
[08/13/2010 00:49:10.0931] [0] Exchange Server object found : 'CN=GLGVMEMAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=EBLENSUBARU,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=EblenSubaru,DC=local'.


--
Where it errored out.

[08/13/2010 00:50:05.0091] [2] Active Directory session settings for 'Get-MailboxDatabase' are:  View Entire Forest: 'True', Configuration Domain Controller: 'GLGVMPDC.EblenSubaru.local', Preferred Global Catalog: 'GLGVMPDC.EblenSubaru.local', Preferred Domain Controllers: '{ GLGVMPDC.EblenSubaru.local }'
[08/13/2010 00:50:05.0091] [2] Runspace context: Executing user: EblenSubaru.local/Eblen Subaru/Users/Glenelg/Eblen Subaru Helpdesk, Executing user organization: , Current organization: , RBAC-enabled: Disabled.
[08/13/2010 00:50:05.0091] [2] Beginning processing.
[08/13/2010 00:50:05.0091] [2] Active Directory session settings for 'Set-MailboxDatabase' are:  View Entire Forest: 'True', Configuration Domain Controller: 'GLGVMPDC.EblenSubaru.local', Preferred Global Catalog: 'GLGVMPDC.EblenSubaru.local', Preferred Domain Controllers: '{ GLGVMPDC.EblenSubaru.local }'
[08/13/2010 00:50:05.0091] [2] Runspace context: Executing user: EblenSubaru.local/Eblen Subaru/Users/Glenelg/Eblen Subaru Helpdesk, Executing user organization: , Current organization: , RBAC-enabled: Disabled.
[08/13/2010 00:50:05.0091] [2] Beginning processing.

>> And this is the reason why it did

[08/13/2010 00:50:05.0325] [1] [ERROR] The following error was generated when "$error.Clear(); $thisServer = Get-ExchangeServer $RoleFqdnOrName; $adSiteId = $thisServer.Site; $pureMailboxServersFqdns = Get-ExchangeServer | Where {$adSiteId -eq $_.Site -and $_.IsMailboxServer -and -not $_.IsClientAccessServer} | ForEach {$_.Fqdn}; Get-MailboxDatabase | Where { ($pureMailboxServersFqdns -contains $_.RpcClientAccessServer) -and ($adSiteId -eq (Get-ExchangeServer $_.Server).Site)} | Set-MailboxDatabase -RpcClientAccessServer $thisServer" was run: "Value cannot be null.
Parameter name: key".
[08/13/2010 00:50:05.0325] [1] [ERROR] Value cannot be null.
Parameter name: key
[08/13/2010 00:50:05.0325] [1] [WARNING] <<<  Setup failed to execute a task. Dumping all variables.... >>>
You can ping demazter here on how to go about this. He wrote the guide
https://www.experts-exchange.com/M_2355264.html
Sangram @ please see my analysis.

I am scared of heterogeneous migrations - like the one between between SBS 2003 > Exchange 2010.
Microsoft doesnt support it.

You need someone really skilled to pull this off - someone like demazter / alan /  Cliff Galiher and other EE millionaires.
@Sangram

I have tried to re-create this value but with no luck, I'm thinking of restoring a previous system state to bring it back as I have only created one user since then.

@sunnyc7

I didn't install Windows Installer 4.5, I did do /Prepareschema before installing as per the guide, no the new server name is 'glgvmemail' and the old one is 'server'.

Before I had this problem I was up to perform legacy mailbox moves from the Exchange 2003 server over to the Exchange 2010 server, this generated the message below:

Error message is "Unexpected error (0x79F7DB6B) while executing command 'Get-MailboxDataBase -IncludePreExchange2010"

That error is what led me to the ADSI value that Sangram pointed out.

How do I go about contacting him Sunnyc7, I know some people don't want to be spammed EE questions to their work email and I just realized that EE doesn't have a PM feature.
just ping him. He's a Zone advisor also.
https://www.experts-exchange.com/M_2355264.html

Copy paste the case.
If the cas is partially installed, are you able to uninstall the partially cas role from Exchange installation ? In that case restart the PDC after the uninstallation and install the cas role again
@SectorX4

I would really try to restore first that value if i knew that created problem. Nothing more i can think of at this moment.


@sunnyc7

Thanks for making me understand of heterogeneous environment. I was refering his comment that he restored it to previous snapshot.



You're welcome.

If you can give the guide a read here
https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2881-Migrate-Small-Business-Server-2003-to-Exchange-2010-and-Windows-2008-R2.html

This is one of the few documented effort of someone who has been successful in doing so.
Migrate from sbs 2003 > Windows + exchange 2010
Avatar of Glen Knight
suunyc > Thanks for giving me a shout.

SectorX4, can you explain exactly what it is that you had completed and what happened that made it all go "pear" shaped?
demazter
Thanks for dropping by.

All we have right now is the exchange setup logs http:#33426993

I checked these and made some comments here on errors --  http:#33427166

The setup finds the correct DC, Exchange Server, logs it too  and then goes to

Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.".
[08/13/2010 05:20:41.0692] [1] [ERROR] Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.
Thanks sunnyc,

I have read the logs and the comments made above but just need to know what the current state of the server(s) is, what stage of the migration we got to and what is and isn't functioning.
@sunnyc7

Thanks for contacting demazter for me, it didn't click that he was a zone advisor.

@SatyaPathak

That's a great reference and exactly the type of situation I have been trying to find, I have tried re-creating the InformationStore object as described in the article but no luck so far.

@JuusoConnecta

Exchange setup complains that the Hub Transport uninstall has failed previously (doesn't explicitly mention it but it's the only other component not uninstalled apart from management tools). This is why I have been concentrating on getting the hub Transport uninstalled first.

@SangramGohil

I tried restoring the system state friday from backup on Friday but ran out of time so am hoping to do that, this should also give me enough time to try re-creating the objects in ADSIedit and trying the uninstall again.

@demazter

Thanks a lot for coming by to assist, firstly your guide is an excellent resource, dead easy to follow so thanks for creating something like that for us SBS people.

The current state of the server is:

GLGVMEMAIL (Exchange 2010/Windows Server 2008 R2)

Client Access Role installed
Hub Transport Role installed
Mailbox Role uninstalled successfully
Management Tools installed

The CAS role cannot be uninstalled as due to a previous uninstall failing:

Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:27

Hub Transport Role Prerequisites
Failed

Error:
A Setup failure previously occurred while uninstalling the ClientAccess role. Uninstall action must include this role.
Recommended Action: http://go.microsoft.com/fwlink/?linkid=30939&l=en&v=ExBPA.4&id=0e6c3aab-47f9-4b16-9cf2-8d0106e60226

Hub Transport tole uninstall currently gives this error:

Summary: 6 item(s). 1 succeeded, 1 failed.
Elapsed time: 00:00:02

Preparing Setup
Completed

Elapsed Time: 00:00:01

Client Access Role
Failed

Error:
The following error was generated when "$error.Clear(); get-WebServicesVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController;" was run: "Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.".

Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.

Elapsed Time: 00:00:01

Stopping Services
Cancelled

Remove Exchange Files
Cancelled

Restoring services
Cancelled

Finalizing Setup
Cancelled

SERVER (Exchange 2003/Windows Small Business Server 2003)

Only change here is that the server has been prepared as per your guide and that I have removed the AD entry under Configuration [server.domain.local)] -> CN=Configuration,DC=EblenSubaru,DC=Local -> CN=Services -> CN=Microsoft Exchange -> CN=Administrative Groups -> CN=Exchange Administrative Group -> CN=Servers -> CN=GLGVMEMAIL

The GLGVMEMAIL entry is what I have removed, the reason I removed it is after having rolled back to a snapshot and reinstalled Exchange I found that the Local Mailbox Move would give an error message when querying for servers. I did some searching and found that it could possibly be caused by old entries in ADSIedit so I removed the entry for it.

I hope that's what you need, if not let me know what else you need specifically.
I have tried re-creating the deleted object in ADSIedit by creating under the GLGVMEMAIL CN:

CN=Information Store -> CN-Exchange Storage Group -> CN=Mailbox Store (GLGVMEMAIL)

Unfortunately the uninstall still fails with what looks like the same error message.
I have talked to Microsoft and they have agreed to my suggestion of restoring the system state to an earlier backup before the Exchange install and reverting the Exchange VM to it's initial state.

This will hopefully put us back at square one after which I'll go through with Microsoft the steps of getting Exchange setup.

Will update with my progress tomorrow.
Please post back if you are facing any errors.
I have had to delay my restore of system state until tonight so will hopefully have a positive update then.
I have attempted a state restore but it turns out my first few backups were not old enough and the one that was got overwritten the day before I went to restore it on top of that a few were corrupt.

I have been working with Microsoft on this but I'll be honest they aren't really as great as some of the stories I have seen from people here.

CAS role still fails to install as shown in the attached log.

Microsoft have had me running around in circles re-running commands to prepare schema/ad/etc and trying to install with only one but nothing much has changed from what I have posted above.
300810.exchange.setup.log
ASKER CERTIFIED SOLUTION
Avatar of SectorX4
SectorX4
Flag of Australia 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