Article ID: 120571, created on Oct 31, 2014, last review on Nov 4, 2014

  • Applies to:
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

症状

バックアップ中に、以下のエラーメッセージが返されます。

 Unable to get APS instances on webspace id 1234 (ErrorCode: 255, STDOUT:). Unable to get APS instances on webspace id 123 (ErrorCode: 255, STDOUT:).

エラーの詳細な説明は、こちらの XML に出力されています。

<?xml version="1.0" encoding="UTF-8"?>
  <execution-result status="error" log-location="/opt/psa/PMM/sessions/2013-12-22-000402.371/migration.result">
    <object name="client_name" type="client">
      <object name="domain.tld" type="domain">
        <message id="5cf7c4e9-8973-433f-86d1-baf00c73595c" severity="error" code="UtilityError">
          <description>Unable to get APS instances on webspace id 1234 (ErrorCode: 255, STDOUT:).</description>
        </message>
      </object>
    </object>
    <object name="client2_name" type="client">
      <object name="domain2.tld" type="domain">
        <message id="5c23ad5d-365a-4710-869d-66061ff54d37" severity="error" code="UtilityError">
          <description>Unable to get APS instances on webspace id 123 (ErrorCode: 255, STDOUT:).</description>
        </message>
      </object>
    </object>
  </execution-result>

原因

この問題は、データベースの不整合が原因で発生します('apsContextsApplications' テープルに、破損した APS アプリケーションの余分なレコードがある)。

解決策

PSA データベースから、当該 APS アプリケーション用の無効なエントリを検索します。

mysql> select * from apsContexts where pleskId=1234;
+-----+-----------+---------+-------+----------------+
| id  | pleskType | pleskId | ssl   | subscriptionId |
+-----+-----------+---------+-------+----------------+
| 424 | hosting   |    1234 | false |            558 |
+-----+-----------+---------+-------+----------------+
1 row in set (0.00 sec)

mysql> select * from apsContexts where pleskId=123;
+-----+-----------+---------+------+----------------+
| id  | pleskType | pleskId | ssl  | subscriptionId |
+-----+-----------+---------+------+----------------+
| 307 | hosting   |     123 | true |              0 |
+-----+-----------+---------+------+----------------+
1 row in set (0.00 sec)

mysql> select * from apsContextsApplications where apsContextId=424;
+-----+--------------+--------------------------------------+
| id  | apsContextId | registryApplicationId                |
+-----+--------------+--------------------------------------+
| 508 |          424 | 07962984-6ec7-4755-9172-e090f972b0a8 |
+-----+--------------+--------------------------------------+
1 row in set (0.00 sec)

mysql> select * from apsContextsApplications where apsContextId=307;
+-----+--------------+--------------------------------------+
| id  | apsContextId | registryApplicationId                |
+-----+--------------+--------------------------------------+
| 368 |          307 | 24dc9a3d-b249-45c1-9e0c-1fb4fef948e7 |
+-----+--------------+--------------------------------------+
1 row in set (0.00 sec)

mysql> delete from apsContextsApplications where id=508;
Query OK, 1 row affected (0.12 sec)

mysql> delete from apsContextsApplications where id=368;
Query OK, 1 row affected (0.11 sec)

注意: 上記の解決策を適用する前に、PSA および APSC データベースのバックアップを作成してください。

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a

Email subscription for changes to this article