Unable to login to Plesk under a customer: it is a redirect loop, error Permission denied

Created:

2016-11-16 13:13:07 UTC

Modified:

2017-08-08 13:37:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to login to Plesk under a customer: it is a redirect loop, error Permission denied

Applicable to:

  • Plesk 11.5 for Windows

Symptoms

Unable to login to Plesk under a customer: it is a redirect loop.

The following error can be found in "%plesk_dir%"\\admin\\logs\\php_error.log:

ERR (3)  [panel]: PleskPermissionDeniedException: Permission denied.
file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\User\\Client.php
line: 126
code: 0
trace: #0 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\Plesk\\Bridge\\Domain.php(63): User_Client->checkAccessDomain(7598)
#1 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\Plesk\\Bridge\\Domain.php(155): Smb_Plesk_Bridge_Domain->__construct(7598)
#2 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\View\\Web\\SiteRenderer.php(79): Smb_Plesk_Bridge_Domain::getById(7598)
#3 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\View\\List\\Sites.php(75): Smb_View_Web_SiteRenderer->getSiteRecord(Object(PhDomain))
#4 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\CommonPanel\\View\\List\\Abstract.php(394): Smb_View_List_Sites->_getDataProvider()
#5 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\CommonPanel\\View\\List\\Abstract.php(194): CommonPanel_View_List_Abstract->_setupPaginator()
#6 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\CommonPanel\\View\\List\\Abstract.php(185): CommonPanel_View_List_Abstract->_setupList()
#7 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\smb\\application\\controllers\\WebController.php(1966): CommonPanel_View_List_Abstract->__construct(Object(Zend_View), Object(Zend_Controller_Request_Http), Array)
#8 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\smb\\application\\controllers\\WebController.php(55): WebController->_getSitesList()
#9 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Action.php(516): WebController->viewAction()
#10 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Dispatcher\\Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#11 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#12 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\Application\\Web.php(39): Zend_Controller_Front->dispatch(NULL)
#13 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\smb\\application\\public\\index.php(14): Smb_Application_Web->run()
#14 {main}

WARN (4) [panel]: Permission denied.

Domain that belongs to a customer is in suspended state.

The status of the domain in the database is not 16:

    mysql> select id,status,name from domains where id=7598;
+------+--------+------------+
| id | status | name |
+------+--------+------------+
| 7598 | 2| example.com|
+------+--------+------------+
1 row in set (0.00 sec)

Cause

Domain that belongs to a customer is disabled with incorrect status in the database.

Resolution

  1. Find the domain id from the "%plesk_dir%"\\admin\\logs\\php_error.log: for example 7598:

    #0 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\Plesk\\Bridge\\Domain.php(63): User_Client->checkAccessDomain(7598)
  2. Make database dump:

    "%plesk_dir%"\\Mysql\\bin\\mysqldump.exe -uadmin -p"password" psa -P8306 > C:\\psa_backup.sql
  3. Change status value for a domain name to 16 :

    mysql> update domains set status=16 where id=7598;
Have more questions? Submit a request
Please sign in to leave a comment.