Subscriptions cannot be activated: Some of the selected subscriptions were not suspended. Unable to load object of type PhDomain with id

Created:

2016-11-16 13:08:00 UTC

Modified:

2017-08-08 13:43:45 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Subscriptions cannot be activated: Some of the selected subscriptions were not suspended. Unable to load object of type PhDomain with id

Applicable to:

  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Symptoms

Following error is thrown when trying to activate or suspend a subscription or a reseller account:

    Error: Some of the selected subscriptions were not suspended.
Unable to load object of type PhDomain with id=<*>:
Turn off domain failed: mailmng failed:
Can't rename domain. Domain: example.com [example.com].
Reason: Failed to rename domain 'example.com' to 'example.com.disabled' (Error code 1)

Cause

Database inconsistency.

When subscription gets suspended its directory is being renamed ( .disabled postfix gets appended) in SmarterMail\\Domains as well as in SmarterMail's config file - Program Files (x86)\\SmarterTools\\SmarterMail\\Service\\domainList.xml .

Sometimes inconsistencies between those two entities can occur. They could be caused by numerous subscription's status changes in a row. Since Plesk communicates with SmarterMail via API requests it can take some time to overwrite the domainList.xml .

Resolution

Go through every record in Program Files (x86)\\SmarterTools\\SmarterMail\\Service\\domainList.xml and verify that each one of them is pointing to an existent directory in SmarterMail\\Domains . Delete or append .disabled postfixes where it is necessary.

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