Avatar of Tomas Bjerved
Tomas Bjerved
Flag for Norway

asked on 

fresh exchange 2016 installation without possible to connect or uninstall

Exchange 2016: Fresh install, but cannot connect to EMS (or to localhost/ecp), cannot uninstall. What can I do?

The organization have a Exchange 2010 installation working fine. We want to upgrade to Exchange 2016, so we installed a new Windows Server 2016 with all updates, and then we installed the Exchange 2016. Everything looked fine, created a new database on D drive. Created a certificate request, but have not implemented the new certificate yet. All users are still on the old 2010 server. At the same time there was a couple of new 2016 Active Directory server installed without any problems, and the old AD servers that they will replace are still running AD.

We have restarted the new Exchange 2016 server a couple of times, without any changes. When we start EMS we get this error message:

VERBOSE: Connecting to SRF-EX02.srfosl.local.
New-PSSession : [srf-ex02.srfosl.local] Connecting to remote server srf-ex02.srfosl.local failed with the following err
or message : [ClientAccessServer=SRF-EX02,BackEndServer=srf-ex02.srfosl.local,RequestId=c920c6b4-616b-48b5-be90-95ff939
268d3,TimeStamp=19.10.2018 18.38.17] [FailureCategory=Cafe-ConnectFailure]  For more information, see the about_Remote_
Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Micr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed
VERBOSE: Connecting to SRF-EX02.srfosl.local.


When we open https://localhost/ecp in Internet Explorer:

This page can’t be displayed

Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https://localhost  again. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4 (link for the details), which is not considered secure. Please contact your site administrator.


I have reset Internet Explorer settings, and checked that TLS 1.0, 1,1 and 1,2 setting is activated.

I also opened the IIS to check that the website is running, and it is.

I decided to try to uninstall the Exchange server, but ofcource that is not possible, I get the error message:

Error:
Uninstall can't continue. Errors:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, public folder mailboxes or arbitration mailboxes, Audit mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all public folder mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -PublicFolder. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To get a list of all Audit mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -AuditLog. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. To disable a public folder mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -PublicFolder. To disable a Audit mailbox so that you can delete the mailbox database, run the command Get-Mailbox -AuditLog | Disable-Mailbox. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>. It was running the command 'Remove-MailboxDatabase 'CN=Mailbox Database 0214803858,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=SRF,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=srfosl,DC=local' -whatif'.
This mailbox database is associated with one or more move requests. To get a list of all move requests associated with this database, run Get-MoveRequest -SourceDatabase <Database ID> and Get-MoveRequest -TargetDatabase <Database ID>. To remove a move request, run Remove-MoveRequest <Recipient ID>. It was running the command 'Remove-MailboxDatabase 'CN=SRF-MDB02,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=SRF,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=srfosl,DC=local' -whatif'.


But I cannot remove the database since I cannot connect to the Exchange server.

Any tip about where to go from here?
There is no data inside the databases, and nothing I need on this server, so could I just delete this server (it is running on VMware), and create a new server with new installation?
ExchangeInstallationWindows OS

Avatar of undefined
Last Comment
Tomas Bjerved

8/22/2022 - Mon