Article ID: 117118, created on Jan 30, 2015, last review on Jan 30, 2015

  • Applies to:
  • Plesk 11.5 for Linux
  • Plesk for Windows
  • Virtuozzo containers for Windows 4.6


1) La página de acceso a Parallels Plesk muestra el siguiente mensaje de error:

    ERROR: PleskMainDBException
    No connection could be made because the target machine actively refused it.

    0: common_func.php3:637
    1: common_func.php3:600
    2: auth.php3:134

2) Se obtiene el siguiente error:

[panel]: Error during product key mode determination, details: No connection could be made because the target machine actively refused it. ; 
#0 C:\Program Files (x86)\Parallels\Plesk\admin\plib\db.php(411): reconnect() 
#1 C:\Program Files (x86)\Parallels\Plesk\admin\plib\functions.php(2791): db_connect() 
#2 C:\Program Files (x86)\Parallels\Plesk\admin\plib\functions.php(2808): isPpaKeyRequired() 
#3 C:\Program Files (x86)\Parallels\Plesk\admin\plib\common_func.php3(7): require_once('C:\Program File...') 
#4 C:\Program Files (x86)\Parallels\Plesk\admin\plib\auth.php(93): require_once('C:\Program File...') 
#5 {main} ERR (3) [panel]: Unable to get key: error: 
C:\Program Files (x86)\Parallels\Plesk\admin\repository\lock\repository: cannot create: Permission denied PHP Warning: mysqli::close(): 
Couldn't fetch mysqli in C:\Program Files (x86)\Parallels\Plesk\admin\plib\db.php on line 491 ERR (3) [panel]: No connection could be made because the target machine actively refused it. : 
0: db.php:451 reconnect() 
1: db.php:411 db_connect() 
2: auth.php:140 PleskMainDBException: No connection could be made because the target machine actively refused it. file: C:\Program Files (x86)\Parallels\Plesk\admin\plib\db.php line: 451 code: 


  • El servidor Plesk MySQL está detenido
  • Las bases de datos MySQL están dañadas
  • Permisos incorrectos sobre algunos directorios de Plesk (atributo de solo lectura)
  • Archivo de configuración incorrecto


  1. Inicie el servicio "Plesk SQL Server". Asimismo, compruebe que my.ini está presente en "C:\Program Files (x86)\Parallels\Plesk\MySQL\Data\" y que tanto basedir como datadir presentan unos valores correctos: .

    C:\>findstr dir "%plesk_dir%\Mysql\Data\my.ini"
    basedir=C:\\Program Files (x86)\\Parallels\\Plesk\\MySQL
    datadir=C:\\Program Files (x86)\\Parallels\\Plesk\\MySQL\\Data
    tmpdir=C:\\Program Files (x86)\\Parallels\\Plesk\\MySQL\\Data
  2. Si MySQL vuelve a experimentar problemas y obtiene el error 1067 "The process terminated unexpectedly":

Check the MySQL error logs in `C:\Program Files (x86)\Parallels\Plesk\MySQL\Data\<computer_name>.err` :

2.1. If the following error occurs:

        130904 20:23:16  InnoDB: Database was not shut down normally!
        InnoDB: Starting crash recovery.
        InnoDB: Reading tablespace information from the .ibd files...
        InnoDB: Restoring possible half-written data pages from the doublewrite

This may mean that PSA or another database is broken, or there is inconsistent information in ibdata1. Please see the following article: <>

2.2. Other possible errors in the MySQL error log file could be:

        Version: '5.5.31'  socket: ''  port: 8306  MySQL Community Server (GPL)
        1 1 1 IInnoDB: We intentionally generate a memory trap.
        InnoDB: Submit a detailed bug report to
        InnoDB: If you get repeated assertion failures or crashes, even
        InnoDB: immediately after the mysqld startup, there may be
        InnoDB: corruption in the InnoDB tablespace. Please refer to
        InnoDB: about forcing recovery.

Sometimes, this does not mean the database has been corrupted. Make sure that the files in `C:\Program Files (x86)\Parallels\Plesk\MySQL\Data\` do not have a "Read-only" attribute (sub-directories can have this attribute). 

If the files are read-only, you will need to right-click on `C:\Program Files (x86)\Parallels\Plesk\MySQL\Data, go to Properties, clear the checkbox "Read-only" and click OK. Then, try to start the "Plesk SQL Server" service again.

2.3. If you see the following error, change the `innodb_log_file_size` value in `C:\Program Files (x86)\Parallels\Plesk\MySQL\Data\my.ini` according to the error. In this case, you need to specify the file size as `10M`

        InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
        InnoDB: than specified in the .cnf file 0 5242880 bytes!
  1. Si Plesk muestra un error como el detallado en el caso 2:

Esto significa que los permisos de archivo sobre algunos de los archivos presentes en C:\Program Files (x86)\Parallels\Plesk\adminno son correctos. Puede restaurar los permisos predeterminados mediante Plesk Reconfigurator.

  • Ejecute Plesk Reconfigurator: C:\Program Files (x86)\Parallels\Plesk\admin\bin\reconfigurator.exe
  • Compruebe los permisos de la carpeta y del componente -> Examinar -> seleccione 'C:\Program Files (x86)\Parallels\Plesk\admin' -> Comprobar

56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 6c20476fe6c3408461ce38cbcab6d03b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f 965b49118115a610e93635d21c5694a8 29d1e90fd304f01e6420fbe60f66f838 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF