Robot Butler
  Making those complicated tasks nice and easy.
  A hub for guides, walkthroughs and general information.
Follow us on Twitter RSS Feed
Article ImagePlesk has a habit of getting itself into a bit of a mess and nothing can be more annoying than it disabling some of your websites and then outright refusing to let you re-enable them. You may find, due to some reason or another, perhaps a failed backup, resource issue or manual suspension, when you try and reactivate a domain, Plesk simply refuses, either with an error message such as:
Error: Unable to activate the domain: The domain is suspended.
... which is not helpful as it simply makes no sense. If it wasn't suspended then you wouldn't be trying to reactivate it!

Regardless of whether you get a more specific additional error message or not, you will see this message when you try and reactivate the domain if Plesk has broken itself:
Error: Some of the selected domains or aliases were not activated.
Not helpful.

Luckily the fix is pretty simple, but it's a shame it has to be done at all. To fix a domain that is "stuck" in the suspended state, run this from the command line on the server that is experiencing the problem:
/usr/local/psa/bin/domain -u example.com -status enabled
... replacing "example.com" with the name of your stuck domain (or sub-domain) and "/usr/local/psa" with the path to your Plesk installation (this should already be correct for most people).

The domain(s) should now show as active again once you refresh the domains page in Plesk.

Comments

Auto-Avatar
zzsnowballzz   ~   Posted on 2013-05-27 14:25:52
Hello!
I can not understand. Do on your instruction. But is nonsense: (
Help, plz! Nothing happens. Tell me, what am I doing wrong?
root@newsugarshop ~ # /usr/local/psa/bin/domain -u newsugarshop.ru -status enabled
root@newsugarshop ~ #
root@newsugarshop ~ #
Auto-Avatar
Enverex   ~   Posted on 2013-05-27 14:46:58
That's it, you've reactivated the suspended domain. If you log back into Plesk and it's still showing as suspended then you have a much larger problem
Auto-Avatar
zzsnowballzz   ~   Posted on 2013-05-27 14:58:54
Yes.... I have a much larger problem :(
Auto-Avatar
megoo   ~   Posted on 2013-06-24 01:53:19
thx, same issue, and it worked for me!
Auto-Avatar
Alex   ~   Posted on 2014-04-13 07:57:23
Since the these are scripts, they need to be run as such.

./usr/local/psa/bin/domain --help
gives you all options.

./usr/local/psa/bin/domain -u domain.com -status enabled

SUCCESS: Update of domain 'domain.com' completed.
Auto-Avatar
Benjamin Hodgetts   ~   Posted on 2014-04-13 12:13:04
You won't want the "." on the start of those commands Alex else you'll be running them relative to your current location (which isn't right as we're already using the full path to them).
Auto-Avatar
Bax Ramspott   ~   Posted on 2015-02-16 19:41:06
Thanks, this worked for me. However, for Plesk 10, the syntax is different:

/usr/local/psa/bin/domain --on DOMAINNAME.com

Running "/usr/local/psa/bin/domain --help", as noted above, gives you the full list of options and correct syntax.
Auto-Avatar
Ranubis   ~   Posted on 2015-12-01 11:41:13
Worked perfectly in plesk 11. Thank you.

Post a Comment

    Name
    Email (not displayed)

The name of this website is Robot...      


Info STATISTICS

  • 14 categories
  • 50 articles
  • 137 comments

Site, design and code by Benjamin Hodgetts.