Plesk account unsuspension – Table::select() failed: no such row in the table

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:

  1. Fix: Error: Table::select()failed: no such row in the table (In a plesk Windows server)
  2. Solving DNS related issues with Plesk running on windows platforms
  3. Manually removing the domains from plesk – when plesk frontend don’t work
  4. Unable to delete a domain from Windows Plesk
  5. Solving “Service Unavailable” message just for one website in Plesk and IIS7

2 Comments

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

When plesk backend fails to do it’s job and doesn’t show any error when removing the domains from Plesk Windows | SupportSages

[...] Plesk account unsuspension – Table::select() failed: no such row in the table [...]

Comment Form

About this blog

This blog, acts as a knowledge repository for the world and is unofficial! Anything we find interesting in the cyber world will go here. Most cases, this blog will reflect the happiness of our staff in reaching successful solution to an issue (s)he worked on. A reference for other fellow SAGEs who come across similar issues later