[HUB] Unable to login to Plesk

Created:

2016-11-16 13:24:22 UTC

Modified:

2017-04-24 11:18:27 UTC

1

Was this article helpful?


Have more questions?

Submit a request

[HUB] Unable to login to Plesk

Applicable to:

  • Plesk

Table of contents

General Troubleshooting steps

  1. Find error messages in log files and check them against the list of know problems/misconfigurations that can be found below, or try to find a solution in our knowledgebase .

  2. Log files location:
    Linux:

    /usr/local/psa/admin/logs/panel.log

    Windows:

    %plesk_dir%\\admin\\logs\\panel.log 
    %plesk_dir%\\admin\\logs\\php_error.log
  3. If there is no records in log files, enable debug logging and try to login to Plesk again to obtain more information:
    How to enable/disable debug logging in Plesk for Linux
    How to enable/disable debug logging in Plesk for Windows

Database-related issues

Note: Before making any changes in Plesk database, make sure that you have backed it up:
How can I backup/restore a Plesk database dump?

Linux:

  • 213388329 Access denied for user 'admin'@'localhost' (using password: YES)
    The following error appears when trying access Plesk:

    Access denied for user 'admin'@'localhost' (using password: YES)
  • 213394049 MySQL query failed: Unknown column '' in 'where clause'
    The following error is shown on Plesk login page:

    ERROR: PleskMainDBException
    MySQL query failed: Unknown column '' in 'where clause'
    0: common_func.php3:220
    db_query(string 'SELECT login, type, ip_address, ip_dual_stack FROM sessions WHERE sess_id=""')
    1: class.Session.php:420
    Session->init(string '1.2.3.4')
    2: auth.php3:197
  • 213368789 MySQL query failed: Unknown table engine 'InnoDB'
    The following error is shown on Plesk login page:

    ERROR: PleskMainDBException: MySQL query failed: Unknown table engine 'InnoDB' (db.php:102)
  • 213412829 ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory
    The following error is shown on Plesk login page:

    ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory
  • 213906225 Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently appliedThe following error is shown on Plesk login page:

    Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied.

Windows:

  • 213388329 Access denied for user 'admin'@'localhost' (using password: YES)
    The following error appears when trying access Plesk:

    Access denied for user 'admin'@'localhost' (using password: YES)
  • 213365669 No connection could be made because the target machine actively refused it.
    The following error is shown on Plesk login page:

    ERROR: PleskMainDBException
    No connection could be made because the target machine actively refused it.
    0: common_func.php3:637
    reconnect()
    1: common_func.php3:600
    db_connect()
    2: auth.php3:134

    Also the following can be found in log:

    [panel]: Error during product key mode determination, details: No connection could be made because the target machine actively refused it. ;
  • 213363469 DB query failed: Unknown error
    The following error is shown on Plesk login page:

    ERROR: PleskMainDBException
    DB query failed: Unknown error
    0: common_func.php3:171
    db_query(string 'set names utf8')
    1: common_func.php3:626
    reconnect()
    2: common_func.php3:591
    db_connect()
    3: auth.php3:90
  • 213389229 Unable to connect to pipe \\.\pipe\psapipe
    The following error is shown on Plesk login page:

    ERROR: Exception The system cannot find the file specified. (Error code 2) 
    at Unable to connect to pipe \\\\.\\pipe\\psapipe
    0: constants.php3:62 get_admin_password()
    1: constants.php3:62 require_once(string 'C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\constants.php3')
    2: auth.php3:100

    At the same time the following message appears in Windows Event Viewer:

    The system cannot find the file specified. (Error code 2) at Unable to connect to pipe \\\\.\\pipe\\psapipe
    at (Con::ClientOverlappedPipe::create line 502)
    at get shared instance of PleskSrvClient(PleskSrvClient::getInstance line 257)
    at execute console command --direct-sql(vconsoleapp::start line 132)
    at execute dbclient.exe --direct-sql "--sql=select * from misc"(vconsoleapp::run line 143)
    Execute file name: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\dbclient.exe
  • 213906225 Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently appliedThe following error is shown on Plesk login page:

    Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied.

File system-related issues

Linux:

  • 213923185 Function not implemented
    The following error is shown on Plesk login page:
    ERROR: Exception
    Function not implemented

    or

    what():  Unable to init lock manager shared memory file: Unable to create new lock manager shared memory storage. Please, try to restart sw-engine service as root.

    Also the following message can be found in panel.log:

    [10-Aug-2015 10:13:07 Europe/Paris] Exception: Function not implemented
    file: /opt/psa/admin/plib/Lock/Manager/Hierarchical.php
    line: 105
    code: 0

Windows:

  • 213926905 The file <file name> is part of Plesk distribution.
    Plesk shows the following error on login screen:

    The file Loader.php is part of Plesk distribution. It cannot be run outside of Plesk environment.

    or

    The file Config.php is part of Plesk distribution. It cannot be run outside of Plesk environment.
  • 213947685 The file or directory is corrupted and unreadable
    The following error is shown on Plesk login page:

    boost::filesystem::create_directory: The file or directory is corrupted and unreadable: "C:\\Program Files (x86)\\Parallels\\Plesk\\var\\locks\\container_locks\\root/node.1/service"

Permissions-related issues

Linux:

  • 213925065 get_admin_password() failed: Undefined index: PLESK_DEBUG_SQL
    The following error is shown on Plesk login page:
    ERROR: PleskFatalException
    Unable to connect to database: get_admin_password() failed: file_get_contents() failed: Undefined index: PLESK_DEBUG_SQL

    0: common_func.php3:153
    psaerror(string 'Unable to connect to database: get_admin_password() failed: file_get_contents() failed: Undefined index: PLESK_DEBUG_SQL')
    1: auth.php3:116

Windows:

  • 213367289 Plesk login screen hangs.
    The following error appears in plesk_dir%\\admin\\log\\php_error.log :
    PHP Warning: touch(): Unable to create file D:\\Plesk\\/var/modules/plesk-mobile//installed-migrations.txt because Permission denied
    • 213959745 Access denied error is shown when access Plesk login page

      Access denied.The operation you were performing failed. You can retry the operation with or without changing its parameters. You may also want to report this problem to our support so that we could help you as soon as possible.
      Also the following message can be found in plesk_dir%\\admin\\log\\php_error.log :

      Exception: Access is denied.file: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Lock\Manager\Hierarchical.phpline: 105code: 0
      Note: In Windows it is possible to use Plesk Reconfigurator to correct disk permissions and security settings for Plesk folders. It is located in %plesk_bin%\\reconfigurator.exe More information about Plesk Reconfigurator can be found in Advanced Administration Guide

Miscellaneous

  • 213375709 Unable to set up default locale Linux
    The following error is shown on Plesk login page:
    ERROR: PleskFatalException
    Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.

    0: common_func.php3: 95
    psaerror (string 'Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.')
    1: auth.php3: 198
    • 213910785 Unable to set up default locale Windows
      The following error is shown on Plesk login page:

      ERROR: Session_Exception: Unable to set up default locale: default locale does not exist or undefined. (Session.php:113) - 213389289 Virtuozzo login page is shown
      - 213901605 Authentication failed: invalid username or password specified
      - 213952345 Another user with the same username (admin) is already logged in to Plesk
      - 213384109 HTTP Error 503. The service is unavailable.
      PleskControlPanel application pool permanently goes down with the following errors in Event Viewer:

      Application pool PleskControlPanel has been disabled. Windows Process Activation Service (WAS) did not create a worker process to serve the application pool because the application pool identity is invalid.
      Also Security Auditing Event ID 4625 have the contents alike:

      An account failed to log on.

      Subject: Security ID: SYSTEM Account Name: SOMENAME$ Account Domain: SOMEGRP Logon ID: 0x3E7

      Logon Type: 4

      Account For Which Logon Failed: Security ID: NULL SID Account Name: psaadm Account Domain: SOMEGRP

      Failure Information: Failure Reason: The user has not been granted the requested logon type at this machine.

Related HUBs

Have more questions? Submit a request
Please sign in to leave a comment.