• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Domain deletion not correct

J

jsvandehoef

Guest
Hi,

I've deleted an domain on my Plesk 8.0 server, but the deletion was not completed. The domain still exists in Plesk as where the files on the filesystem are allready deleted.

When I delete the domain again, from plesk, the following exception appears:

ERROR: PleskException
Table::select() failed: no such row in the table

0: /usr/local/psa/admin/plib/dns/DNSZone.php:52
DNSZone->DNSZone(string '1')
1: /usr/local/psa/admin/plib/common_func.php3:2555
objectMaker(string 'DNSZone', string '1')
2: /usr/local/psa/admin/plib/dns/DNSManager.php:39
DNSManager::getDNSZone(string '1')
3: /usr/local/psa/admin/plib/class.Domain.php:644
Domain->getDNSZone()
4: /usr/local/psa/admin/plib/class.PhDomain.php:207
PhDomain->reset(integer '0', boolean true, boolean false)
5: /usr/local/psa/admin/plib/class.BsDomain.php:289
BsDomain->reset(integer '0')
6: /usr/local/psa/admin/plib/class.BsDomain.php:283
BsDomain->delete(integer '0')
7: /usr/local/psa/admin/plib/class.BsDomain.php:524
mdeleteDomains(array)
8: /usr/local/psa/admin/plib/class.Manager.php:351
Manager->removeDomains(array)
9: /usr/local/psa/admin/htdocs/domains/domains.php3:215

What can I do to permanently delete theis domain?

Kind Regards,

Jeroen
 
I got the same problem. I was deleting a domain and it froze in the middle of deletion.

I rebooted the server and tried to delete again and I recieved the same errors.

I also tried deleting the client that teh domain belonged to and it also froze.
 
I fixed the problem by deleting the Domain within the Plesk MySQL database (Database Name: psa).

I logged into the Linux shell as "root" and then logged into MySQL.

commands:

mysql -u admin -p

use psa;
delete from domains where name='domain name';
quit;


I also deleted the user that belonged to the domain in the /etc/passwd file.
 
Back
Top