• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Unable to create Client object

A

AntonM

Guest
Plesk server result error. Error code: 1023. Error message: Unable to create Client object: Client: unable to select: no such row in the table

How to fix it?
 
Удалил лишние строки в десятке таблиц базы, упоминающие криво удаленного клиента.. вроде помогло)
 
Database inconsistency.
Лучше ничего не делать в базе данных руками, поскольку это приводит к таким вот проблемам впоследствии.
 
Ну а как еще исправлять подобные проблемы? в биллинге висят несколько заказов, не могут обработаться, тк модуль, обрабатывающий запросы из ISPmanager в Plesk выдает данную ошибку.. причем сперва была другая:

Error code: 1023. Error message: Table::select() failed: no such row in the table

нашел какой-то ман:
http://kb.parallels.com/ru/1360

сделал как там сказано, появилась следующая ошибка, упомянутая выше..

может ли данная проблема возникать из за кривого удаления аккаунта?

просто на днях написал в биллинге скрипт, удаляющий пользователя из панели, если у него не осталось подписок..
использовал либу
use API::plesk;
my $api = API::plesk->new(
username => $login, # required
password => $passwd, # required
url => 'https://sb1.flynet.pro:8443/enterprise/control/agent.php', # required
api_version => '1.6.3.3',
debug => 0,
timeout => 30,
);
my $res = $api->customer->del(login => $name);
 
Let's use default forum's language - English.
Yes, I think that problem related to incorrectly removed client. Actually, it is difficult to say what was wrong there initially but you can try to inspect psa database with help of http://kb.parallels.com/en/6693
I hope it will help.
 
does it matter in what folder db_check.zip will be extract?
root@sb1:/usr/local/psa/admin/bin# mkdir php
mkdir: невозможно создать каталог «php»: Файл существует
root@sb1:/usr/local/psa/admin/bin# cd php
bash: cd: php: Это не каталог
 
It doesn't matter. Just specify full path to this file.
 
root@sb1:~# /root/db_check/unix/check_db.php
/root/db_check/unix/check_db.php: line 1: ?php: Нет такого файла или каталога
/root/db_check/unix/check_db.php: line 3: syntax error near unexpected token `array'
/root/db_check/unix/check_db.php: line 3: `set_error_handler(array('DB_Schema_Checker', 'errorHandler'));'
 
From KB article:

2. Check the database structure to display issues in the Parallels Plesk Panel database:

Linux/Unix:
~# /usr/local/psa/admin/bin/php check_db.php --by-problem | --by-table

So, in your case it should be like:
# /usr/local/psa/admin/bin/php /root/db_check/unix/check_db.php --by-problem
 
Back
Top