Account was suspended and now when trying to unsuspend it was causing errors like
DNSZone::Table::select() failed: no such row in the table
Environment : Plesk 9.2 and Windows 2003 OS.
Solution
Identify the database which plesk uses. Now a days plesk choose MSAccess as the Database. Earlier days the choice was MSSQL and MySQL. Better choices now. Details on how to edit the database is at this KB url : http://kb.parallels.com/en/3472
Once you have it follow the next KB available at http://kb.parallels.com/en/1360 . This KB is meant for MySQL. But all other steps will work for MSAccess DB as well. Usually DB is at %plesk_bin%\admin\db\psa.mdb
Basically a few commands
find domains which have missed ID:
mysql> SELECT d.name FROM domains d LEFT JOIN dns_zone z ON d.dns_zone_id=z.id WHERE z.id IS NULL;
Then for each reported domain do the following:
1. create appropriate id records with following commands, do not forget to replace DOMAN-NAME with a real domain name and ADMIN-EMAIL with a correct email:
mysql> INSERT INTO dns_zone (name, displayName, email) VALUES ('DOMAIN-NAME', ‘DOMAIN-NAME', 'ADMIN-EMAIL');
2. know new zone ID:
mysql> SELECT id, name FROM dns_zone where name='DOMAIN-NAME';
3. substitute correct ID into psa.domains table, don’t forget to replace DOMAN-NAME and DNS-ZONE-ID with correct values:
mysql> UPDATE domains SET dns_zone_id='DNS-ZONE-ID' WHERE name='DOMAIN-NAME';
Once it is done, take DNS Settings and then under the domain in question, do Restore Defaults. After that do the needed modification along with unsuspension of the domain. It should work!! Or else make it work
Related posts:
Hi,
I have the same issue and I tried as u suggested. But I have a different DNS server and hence the DNS option is not available for the domain.
After updating the table I am able to unsuspend the domain. But when I try to delete the domain, it again moves to the Unsuspended mode and the error occurs again.
Any idea? abt this..
Pls help
[...] Plesk account unsuspension – Table::select() failed: no such row in the table [...]