Plesk DB corruption

Created:

2016-11-16 12:38:48 UTC

Modified:

2017-08-16 17:00:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk DB corruption

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Windows

Symptoms

The following error appears when you login to Plesk Panel:

ERROR: PleskMainDBException: <b>Source:</b> Microsoft OLE DB Provider for SQL Server<br/><b>Description:</b> Cannot open database "pleskdb" requested by the login. The login failed. (db.php:422)

In MSSQL Server Management Studio, Plesk database cannot be opened.

When you try to rename the database, you get the error:

Log file 'C:\\DATABASEMSSQL\\psa_Log.LDF' does not match the primary file. It may be from a different database or the log may have been rebuilt previously.

Cause

Log file or database may be corrupted and should be restored from a backup.

Resolution

Check with your system administrator if it is possible to restore MSSQL psa database in current state. If it is not possible, restore Psa database from backup: MSSQL Server Management Studio->click on Databases->right click->restore database .

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