Article ID: 118260, created on Окт 28, 2013, last review on Янв 29, 2015

АКТУАЛЬНО ДЛЯ:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows
  • Plesk Automation 11.1
  • Plesk Automation 11.5

Symptoms

The following error is shown when accessing an application link in the ‘Applications‘ tab in Parallels Plesk:

Internal error: Can not find registry resource for Application ID fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b

Can not find registry resource for Application ID fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b 

Cause

The application was incorrectly removed. As a result, while the application was left in the PSA database, it was removed from the APSC database.

How to access Plesk database?

On Plesk 11.0 and older:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

Since Plesk 11.5 the shortcut command is available:

# plesk db

Resolution

  1. Check there is an apsc.aps_registry_object record for this application ID:
    mysql> select * from apsc.aps_registry_object where uid='fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b';
    Empty set (0.00 sec)
    

    In the above example, there is no record for this application in the APSC database.

  2. Check for this application in the PSA database:
    mysql> select * from psa.apsContextsApplications where registryApplicationId='fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b';
    +----+--------------+--------------------------------------+
    | id | apsContextId | registryApplicationId                |
    +----+--------------+--------------------------------------+
    | 19 |           17 | fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b |
    +----+--------------+--------------------------------------+
    
    mysql> select * from psa.apsContexts where id=17;
    +----+-----------+---------+-------+----------------+
    | id | pleskType | pleskId | ssl   | subscriptionId |
    +----+-----------+---------+-------+----------------+
    | 17 | hosting   |     530 | false |            527 |
    +----+-----------+---------+-------+----------------+
    
    mysql> select name from psa.domains where id=530;
    +-------------------+
    | name              |
    +-------------------+
    |    domain.tld     |
    +-------------------+
    

    In the above example, records show for the broken application and its corresponding domain.

  3. Remove the inconsistent records from the PSA database:
    mysql> delete from psa.apsContexts where id=17;
    
    mysql> delete from psa.apsContextsApplications where apsContextId=17;
    

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *