Cannot login to Plesk: "packagemng: Unable to clean BackendCache in DB: Got error -1 from storage engine"

Created:

2016-11-16 12:39:45 UTC

Modified:

2017-04-24 12:16:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot login to Plesk: "packagemng: Unable to clean BackendCache in DB: Got error -1 from storage engine"

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Login into Parallels Plesk Panel is not possible because of error:

Components::componentUpdate() failed: Unable to exec utility packagemng: packagemng: Unable to clean BackendCache in DB: Got error -1 from storage engine

Installation of new application fails with the following error:

Non-zero exit status returned by script. Output stream: 'Unable to execute SQL statement ( INSERT INTO `jos_assets` (`id`, `parent_id`, `lft`, `rgt`, `level`, `name`, `title`, `rules`) VALUES (1, 0, 0, 105, 0, 'root.1', 'Root Asset', '{"core.login.site":{"6":1,"2":1},"core.login.admin":{"6":1},"core.login.offline") .....

Got error -1 from storage engine

Cause

There are two possible causes:

  1. Databases are corrupted and require repair.

  2. After repair of databases has been completed, innodb_force_recovery was not disabled and prevents update/delete operations with Plesk database.

Diagnostics

If innodb_force_recovery parameter is set in /etc/my.cnf , disable it and restart mysqld (or mysql ) service.

If service does not start or crashes with crash reports in MySQL log file ( /var/log/mysqld.log or other file defined as value to configuration parameter log-error in /etc/my.cnf ), then InnoDB storage engine requires repair. Repair can be done following instructions from KB article \#213939865 .

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