Cannot access to control panel with mixed case username: "Owner not defined"

Created:

2016-11-16 12:49:50 UTC

Modified:

2017-04-24 11:30:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot access to control panel with mixed case username: "Owner not defined"

Applicable to:

  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux

Symptoms

An attempt to log into Plesk Control Panel leads to one of the following errors:

PleskFatalException: Owner not defined
file: C:\\Parallels\\Plesk\\admin\\plib\\User\\Broker.php
line: 44
code: 0
trace: #0 C:\\Parallels\\Plesk\\admin\\plib\\User\\Abstract.php(401): User_Broker::getParentUser(Object(User_Reseller))
#1 C:\\Parallels\\Plesk\\admin\\plib\\Plesk\\Title.php(80): User_Abstract->getParent()
#2 C:\\Parallels\\Plesk\\admin\\plib\\Plesk\\Title.php(14): Plesk_Title::_getCustom(Object(User_Reseller))
#3 C:\\Parallels\\Plesk\\admin\\plib\\functions.php(321): Plesk_Title::get()
#4 C:\\Parallels\\Plesk\\admin\\htdocs\\login_up.php3(111): go_to('/', 'top')
#5 {main}

or

Owner not defined:
0: Broker.php:44
User_Broker::getParentUser(object of type User_Reseller)
1: Abstract.php:401
User_Abstract->getParent()
2: Title.php:80
Plesk_Title::_getCustom(object of type User_Reseller)
3: Title.php:14
Plesk_Title::get()
4: functions.php:321
go_to(string '/', string 'top')
5: login_up.php3:111

Cause

The issue could be caused either by a database inconsistency or by a product bug #PPPM-1292 which will be fixed in the future updates.

Resolution

  1. To check whether you face a database inconsistency, please execute the alike SQL query in Plesk database :

    mysql> select vendor_id,parent_id from clients where login='login';
    +-----------+-----------+
    | vendor_id | parent_id |
    +-----------+-----------+
    | 0 | 0 |
    +-----------+-----------+
    1 row in set (0.02 sec)

    Neither 'vendor_id' nor 'parent_id' should be equal to 0 for any reseller\client in Plesk. To correct the issue, update the table and set the appropriate owner ID for the specified reseller\client:

    mysql> update clients set parent_id=1,vendor_id=1 where login='login';
    Query OK, 1 row affected (0.03 sec)
    Rows matched: 1 Changed: 1 Warnings: 0

    Above update assumes that client was owned by admin. In case if client is owned by the reseller, corresponding reseller ID should be set.

  2. If the mentioned entries are correct, then you may probably have faced a bug.

    It could be triggered in case if Customer & Business Manager is installed and SSO is enabled.

    To work around the issue, disable SSO by using the following command: " %plesk_bin% \sso" -d

    Which should produce the below output:

    SUCCESS: SSO disabled
Have more questions? Submit a request
Please sign in to leave a comment.