{"id":2656,"date":"2015-09-18T03:44:12","date_gmt":"2015-09-18T03:44:12","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2656"},"modified":"2015-09-18T03:44:12","modified_gmt":"2015-09-18T03:44:12","slug":"error-unable-to-find-service-node-for-ip-address-with-id2","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/09\/18\/error-unable-to-find-service-node-for-ip-address-with-id2\/","title":{"rendered":"Error: Unable to find service node for ip address with id=2"},"content":{"rendered":"<p>Unable to create subscription\/domain: IP address does not exist<\/p>\n<p>Symptoms<br \/>\nAn attempt to create a subscription \/ domain fails with the following error:<br \/>\nError: Unable to find service node for ip address with id=2<br \/>\nError: Failed domain creation: Unable to update domain data: IP address with ID &#8216;2&#8217; does not exist<br \/>\nIt is not possible to manage Web Hosting Access. An attempt fails with the following error:<br \/>\nError: Unable to find service node for ip address with id=2<\/p>\n<p>Cause<\/p>\n<p>Database inconsistency.<br \/>\nResolution<\/p>\n<p>    Create a backup of the psa database:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# mysqldump -uadmin -p`cat \/etc\/psa\/.psa.shadow` psa  &gt; \/root\/psa.sql\n\n<\/pre>\n<p>    Check if the IP_Addresses table has record(s) with an IP address that does not exist in the ip_pool tables:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n    mysql&gt; select * from ip_pool where ip_address_id not in (select id from IP_Addresses);\n    +----+---------------+--------+\n    | id | ip_address_id | type   |\n    +----+---------------+--------+\n    |  1 |             2 | shared |\n    +----+---------------+--------+\n    1 row in set (0.00 sec)\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n    mysql&gt; select * from IP_Addresses where id =2;\n    Empty set (0.00 sec)\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n    mysql&gt; select id, serviceNodeId, ip_address from IP_Addresses;\n    +----+---------------+--------------+\n    | id | serviceNodeId | ip_address   |\n    +----+---------------+--------------+\n    |  1 |             1 | x.x.x.x      |\n    +----+---------------+--------------+\n    1 rows in set (0.00 sec)\n\n<\/pre>\n<p>    As can be seen in this example, the ip_pool table includes an entry regarding a nonexistent IP address ( ip_address_id = 2);<\/p>\n<p>    Delete this record from the ip_pool table:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n    mysql&gt; delete from ip_pool where ip_address_id=2;\n    Query OK, 1 row affected (0.00 sec) \n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Unable to create subscription\/domain: IP address does not exist Symptoms An attempt to create a subscription \/ domain fails with the following error: Error: Unable to find service node for ip address with id=2 Error: Failed domain creation: Unable to update domain data: IP address with ID &#8216;2&#8217; does not exist It is not possible &#8230; <a title=\"Error: Unable to find service node for ip address with id=2\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/09\/18\/error-unable-to-find-service-node-for-ip-address-with-id2\/\" aria-label=\"Read more about Error: Unable to find service node for ip address with id=2\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69,86],"tags":[],"class_list":["post-2656","post","type-post","status-publish","format-standard","hentry","category-mssql","category-plesk"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2656"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2656\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}