Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Plesk domain status codes  (Read 2341 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
Plesk domain status codes
« on: November 22, 2013, 06:27:35 pm »
List all active domains:

Quote
SELECT name FROM domains WHERE status = '0'


List all suspended domains:

Quote
SELECT name FROM domains WHERE status != '0'


List all expired (hosting) domains:

Quote
SELECT name FROM domains WHERE status = '256'


List all domains with backup/restore in progress:

Quote
SELECT name FROM domains WHERE status = '4'


List all domains suspended by client:

Quote
SELECT name FROM domains WHERE status = '64'


Connect to Plesk mysql database:

Quote
#mysql -uadmin -p 'cat /etc/psa/.psa.shadow' -Dpsa