Error: Enable database user failed: Database 'db_name' cannot be opened because it is offline

Refers to:

  • Plesk 11.5 for Windows

Created:

2016-11-16 12:51:11 UTC

Modified:

2016-12-21 19:22:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error: Enable database user failed: Database 'db_name' cannot be opened because it is offline

Symptoms

Cannot activate a subscription in Parallels Plesk . It fails with the following error:

Error: Enable database user failed: Database 'db_name' cannot be opened because it is offline.

Cause

The database status was changed to Offline manually.

Resolution

In Microsoft SQL Server Management Studio hit Databases > right-click on db_name > Tasks > Bring Online .

Alternatively it can be done in command line:

C:\\ cd %plesk_bin%
C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin>osql -E
1> ALTER DATABASE db_name SET ONLINE
2> go
1> exit
Have more questions? Submit a request
Please sign in to leave a comment.