I changed the IP addresses of my servers, now Cloud Panel cannot do anything with Exchange.
I needed to change the IP addresses of the three servers Exchange, AD and Cloud Panel.
I have confirmed all DNS records are updated correctly, and I have checked all servers can ping each other using name resolution.
CloudPanel can see the database ok, and allows me to login. But all interaction with the Exchange server seems to fail.
Examples are:
– Setup – Exchange Databases shows no exchange databases.
– Try to Create a new User, and it fails saying no Exchange Databases Found.
– CloudPanel Service logs errors when trying to retrieve database stats.
Some log entries are:
2021-03-19 08:43:32,313 [ERROR] Exchange – PSERROR: System.Management.Automation.RemoteException: Load balancing failed to find a valid mailbox database. <<>> REASON: RecipientTaskException
2021-03-19 08:43:32,319 [ERROR] CloudPanel.Modules.UsersModule – Error creating new user for company RM: System.Management.Automation.RemoteException: Load balancing failed to find a valid mailbox database.
at CloudPanel.Exchange.ExchPowershell.HandleErrors(Boolean ignoredNotFound, Boolean ignoreAlreadyExist)
at CloudPanel.Exchange.Exch2013.Enable_Mailbox(Users user)
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
at CloudPanel.Modules.UsersModule.<.ctor>b__1_8(Object _)
[2021-03-19 04:36:10,080] | ERROR | CPService.Tasks.Exchange.Get_MailboxDatabaseSizesTask| Error retrieving mailbox database sizes: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server mercury failed with the following error message : ???? For more information, see the about_Remote_Troubleshooting Help topic.
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult)
at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.Open()
at System.Management.Automation.RemoteRunspace.Open()
at CPService.Tasks.Exchange.ExchPowershell..ctor()
at CPService.Tasks.Exchange.Get_MailboxDatabaseSizesTask.Execute(IJobExecutionContext context)
[2021-03-19 04:36:10,315] | ERROR | CPService.Tasks.Exchange.Get_MailboxSizesTask| Failed to retrieve mailbox, archive, and resource sizes: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server mercury failed with the following error message : ???? For more information, see the about_Remote_Troubleshooting Help topic.
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult)
at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.Open()
at System.Management.Automation.RemoteRunspace.Open()
at CPService.Tasks.Exchange.ExchPowershell..ctor()
at CPService.Tasks.Exchange.Get_MailboxSizesTask.Execute(IJobExecutionContext context)
[2021-03-19 04:36:10,940] | ERROR | CPService.Tasks.Exchange.Get_MessageTrackingLogsTask| Failed to retrieve message logs: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server mercury failed with the following error message : For more information, see the about_Remote_Troubleshooting Help topic.
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult)
at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.Open()
at System.Management.Automation.RemoteRunspace.Open()
at CPService.Tasks.Exchange.ExchPowershell..ctor()
at CPService.Tasks.Exchange.Get_MessageTrackingLogsTask.Execute(IJobExecutionContext context)
In the initial configuration, I only used host names, never IP addresses.
The only think I changed was the Server IP addresses, and their matching DNS records.
Prior to changing the IP addresses, everything worked fine, I had created a number of companies, users, mailboxes, contacts etc.
Unfortunately, changing the IP addresses back to the original values is not possible.
Can you please advise, what about changing the IP address would cause this to start to have problems?
Thanks
This error “System.Management.Automation.RemoteException: Load balancing failed to find a valid mailbox database. <<>> REASON: RecipientTaskException”
Is coming from Exchange. If you create a user in ECP and don’t specify the database it will produce the same error message most likely because something is wrong on the backend with your Exchange, most likely because of all the changes. If you specify a database it will work. You will need to troubleshoot Exchange to see why the load balancer is failing
I will check the Exchange server again, but the mail system is working fine, I can read emails, send emails, create users in ecp.
In addition to this, I do not have a load balancer installed, unless this is an internal Exchange thing.
@marklft It is an internal Exchange thing. That is how they find which database to place a new mailbox in when you have multiple databases. It will automatically try to load balance the users across the databases. It could be because all your databases have the IsExcludedFromProvisioning or IsSuspendedFromProvisioning value set to TRUE. CloudPanel does set these values if you lock databases to specific companies in CloudPanel.
- 5 Forums
- 716 Topics
- 3,649 Posts
- 1 Online
- 259 Members