Plesk 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.
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 ~ #
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
Yes.... I have a much larger problem :(
megoo ~
Posted on 2013-06-24 01:53:19
thx, same issue, and it worked for me!
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.
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).
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.
Ranubis ~
Posted on 2015-12-01 11:41:13
Worked perfectly in plesk 11. Thank you.
Post a Comment