Article ID: 118260, created on Dec 13, 2013, last review on May 10, 2014

  • Applies to:
  • Plesk Automation 11.1
  • Plesk Automation 11.5
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows

问题

当您访问 Plesk Panel 中'应用程序' 标签中的应用程序连接时显示类似错误:

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 

原因

应用程序已被不正确移除。结果导致只从 apsc 数据库中移除了应用程序的所有信息而却仍保留在 psa 中。

解决方案

  1. 查看该应用程序 ID 是否有 aps_registry_object 记录:

    mysql> select * from aps_registry_object where uid='fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b';
    Empty set (0.00 sec)
    

    因此在 apsc 数据库中我们没有该应用程序的记录。

  2. 在 psa 数据库中查看该应用程序:

    mysql> select * from apsContextsApplications where registryApplicationId='fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b';
    +----+--------------+--------------------------------------+
    | id | apsContextId | registryApplicationId                |
    +----+--------------+--------------------------------------+
    | 19 |           17 | fbea5fe0-7e00-42fb-9fa0-e4fd2e664f8b |
    +----+--------------+--------------------------------------+
    
    
    mysql> select * from apsContexts where id=17;
    +----+-----------+---------+-------+----------------+
    | id | pleskType | pleskId | ssl   | subscriptionId |
    +----+-----------+---------+-------+----------------+
    | 17 | hosting   |     530 | false |            527 |
    +----+-----------+---------+-------+----------------+
    
    
    mysql> select name from domains where id=530;
    +-------------------+
    | name              |
    +-------------------+
    |    domain.tld     |
    +-------------------+
    

    因为我们找到了该已损坏应用程序的记录与其相应的域名。

  3. 请从 psa 数据库移除不一致的记录:

    mysql> delete from apsContexts where id=17;
    
    
    mysql> delete from apsContextsApplications where apsContextId=17;
    

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 46a8e394d6fa13134808921036a34da8 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128 514af229ae32522202a910a2649c80fb aea4cd7bfd353ad7a1341a257ad4724a c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article