Support Forums

Cannot login to Clo…
 
Notifications
Clear all

Cannot login to CloudPanel after Exchange 2016 upgrade to CU12

7 Posts
2 Users
1 Likes
5,039 Views
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

Hi,

today I installed the Exchange 2016 CU12 and now I cannot login to CloudPanel.
The error I’m getting in the web browser is:
Unknown error (0x80005000)

In the CloudPanel.txt log i see this error (I replaced the domain name with MYDOMAIN):
2019-08-27 22:42:12,000 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Retrieving the PrincipalContext…
2019-08-27 22:42:12,006 [DEBUG] CloudPanel.ActiveDirectory.ADUsers – Searching for user MYDOMAIN\Administrator
2019-08-27 22:42:12,008 [ERROR] CloudPanel.ActiveDirectory.ADUsers – Error authenticating user MYDOMAIN\Administrator. Exception: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADUsers.AuthenticateUser(String username, String password, String[] superAdminGroups, String[] billingAdmins, Boolean& isSuperAdmin, Boolean& isBillingAdmin)
2019-08-27 22:42:12,009 [ERROR] CloudPanel.UserMapper – Error logging in user MYDOMAIN\Administrator: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADUsers.AuthenticateUser(String username, String password, String[] superAdminGroups, String[] billingAdmins, Boolean& isSuperAdmin, Boolean& isBillingAdmin)
at CloudPanel.UserMapper.Validate(String username, String password)
2019-08-27 22:42:12,009 [ERROR] CloudPanel.Modules.LoginModule – Error logging in: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADUsers.AuthenticateUser(String username, String password, String[] superAdminGroups, String[] billingAdmins, Boolean& isSuperAdmin, Boolean& isBillingAdmin)
at CloudPanel.UserMapper.Validate(String username, String password)
at CloudPanel.Modules.LoginModule.<.ctor>b__1_1(Object _)

I tried to run the repair installation of the CloudPanel, but no luck. Any idea?

Thanks

6 Replies
Posts: 1563
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

It wasn’t able to bind to your domain controller. You may want to double check the username/password in the /admin/setup page and also try another user other than Administrator as a test.

Reply
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

Hi Jacob,

thank you very much for your quick answer. I checked the username and password on /admin/setup and tried to replace it with administrator@mydomain.local but still no luck.

Can I try to replace it with an non admin user or do I have to create a new admin user in the AD and replace it with it?

Thanks

Reply
1 Reply
Admin
(@jdixon)
Joined: 9 years ago

Noble Member
Posts: 1563

It would need to be an admin user but you can try a different user that is a member of Domain Admins. When you try that make sure you change the IIS application pool that CloudPanel uses too. They should match.

The thing is upgrading Exchange shouldn’t of done this because this is talking directly to your domain controller and not Exchange during this process. It was working before the upgrade right?

Reply
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

I created a new user, modified the username and password in the /admin/setup and now I can login with every user normally.

I tried even to change the username and password back to MYDOMAIN\Administrator and is still working, so it’s solved, thanks again!

Reply
Posts: 1563
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

That is odd. Maybe recycling the application pool made it start working. When you change a password it restarts that application pool.

Reply
Page 1 / 2
Share: