{"id":11157,"date":"2025-01-21T07:07:32","date_gmt":"2025-01-21T07:07:32","guid":{"rendered":"https:\/\/www.trustedhosting.in\/blog\/?p=11157"},"modified":"2025-01-21T07:07:32","modified_gmt":"2025-01-21T07:07:32","slug":"how-troubleshoot-unexpected-termination","status":"publish","type":"post","link":"https:\/\/www.webystrata.com\/blog\/how-troubleshoot-unexpected-termination\/","title":{"rendered":"How to Troubleshoot Unexpected Service Terminations"},"content":{"rendered":"<h1><a href=\"https:\/\/www.trustedhosting.in\/master-reseller-hosting.html\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11159 size-full\" title=\"How to Troubleshoot Unexpected Service Terminations\" src=\"https:\/\/www.trustedhosting.in\/blog\/wp-content\/uploads\/2025\/01\/8374828_3838889.jpg\" alt=\"How to Troubleshoot Unexpected Service Terminations\" width=\"2000\" height=\"2000\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/8374828_3838889.jpg 2000w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/8374828_3838889-300x300.jpg 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/8374828_3838889-1024x1024.jpg 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/8374828_3838889-150x150.jpg 150w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/8374828_3838889-768x768.jpg 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/8374828_3838889-1536x1536.jpg 1536w\" sizes=\"auto, (max-width: 2000px) 100vw, 2000px\" \/><\/a><\/h1>\n<h1>How to Troubleshoot Unexpected Service Terminations<\/h1>\n<div class=\"step step-depth-1\" data-step-uuid=\"6F6F4459-0B26-4F3C-8CE5-018107F03C04\">\n<h2 id=\"symptom\" tabindex=\"0\">Symptom<\/h2>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_854963DD-97E7-4EBF-89BF-E2B0A816D996\" class=\"text-block-content\">\n<p>The system is unexpectedly terminating services (for example, hosting accounts).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"step step-depth-1\" data-step-uuid=\"76A10663-11F8-4422-84B4-74592F5272D6\">\n<h2 id=\"causes\" tabindex=\"0\">Causes<\/h2>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_19E59C48-77C7-4228-B0CB-ED38865D642E\" class=\"text-block-content\">\n<p>The system may terminate services for the following reasons:<\/p>\n<ol>\n<li>The product&#8217;s configuration automatically terminates it after a fixed term. (The system will terminate it at the end of that term.)<\/li>\n<li>The service&#8217;s\u00a0<strong>Next Due Date<\/strong>\u00a0value is far enough in the past to trigger the\u00a0<strong>Overdue Termination<\/strong>\u00a0function.<\/li>\n<li>An admin clicked\u00a0<strong>Terminate<\/strong>\u00a0in the\u00a0<strong>Module Commands<\/strong>\u00a0section for the service.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<div class=\"instructions screensteps-textblock screensteps-wrapper--tip screensteps-wrapper\" tabindex=\"0\" role=\"status\" aria-label=\"tip\">\n<div id=\"text-content_F29B0926-B7A7-433D-917D-CEF9DCA98DD5\" class=\"text-block-content\">\n<blockquote><p>WHMCS can also perform service cancellations. For more information, see\u00a0Cancellation Requests.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"step step-depth-1\" data-step-uuid=\"8F600383-F5BF-4E2E-B98D-F6FF89BAA7D7\">\n<h2 id=\"troubleshooting\" tabindex=\"0\">Troubleshooting<\/h2>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_29BF39FF-3538-46D3-A9CF-CFA3D11F2959\" class=\"text-block-content\">\n<p>All module actions, including termination, create an entry in the\u00a0<strong>Activity Log<\/strong>\u00a0at\u00a0<strong>Configuration &gt; System Logs<\/strong>. Review the log entries at the time of termination to identify the cause.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11158\" src=\"https:\/\/www.trustedhosting.in\/blog\/wp-content\/uploads\/2025\/01\/6fe809ac-d8f3-4974-b5d1-111d8424365f-1.png\" alt=\"\" width=\"307\" height=\"258\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/6fe809ac-d8f3-4974-b5d1-111d8424365f-1.png 307w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/6fe809ac-d8f3-4974-b5d1-111d8424365f-1-300x252.png 300w\" sizes=\"auto, (max-width: 307px) 100vw, 307px\" \/><\/p>\n<div class=\"instructions screensteps-textblock screensteps-wrapper--tip screensteps-wrapper\" tabindex=\"0\" role=\"status\" aria-label=\"tip\">\n<div id=\"text-content_67833019-ACE9-403A-A724-CF52598FF5AF\" class=\"text-block-content\">\n<blockquote><p>If there is not an entry in the\u00a0<strong>Activity Log\u00a0<\/strong>at\u00a0<strong>Configuration &gt; System Logs<\/strong>, the current WHMCS installation did\u00a0<strong>not\u00a0<\/strong>perform the termination. Check for previous installations of WHMCS or actions that occurred directly on the hosting server.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<div class=\"step step-depth-2 child-step\" data-step-uuid=\"AF98D27A-980A-4550-814B-A0EA14ADBF4E\">\n<h3 id=\"fixed-term\" tabindex=\"0\">Fixed Term<\/h3>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_C4DC2F11-6B68-4BA4-AE3E-EB80646B5DAB\" class=\"text-block-content\">\n<p>If the termination is due to the end of a fixed term, you will see the following log entry:<\/p>\n<\/div>\n<\/div>\n<div class=\"code-block copy-clipboard--parent\">\n<pre id=\"code-content_C508CAA8-2C0A-4D4C-ACF3-5655BA8E5331\" tabindex=\"0\"><code>Cron Job: Auto Terminating Fixed Term Service - Service ID: x\r\n...\r\nAutomated Task: Starting Fixed Term Terminations<\/code><\/pre>\n<div class=\"copy-clipboard copy-clipboard--tt-right\"><\/div>\n<\/div>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_CB947093-67F6-4B64-B1AF-F5ED309D42FA\" class=\"text-block-content\">\n<p>To address this:<\/p>\n<ol>\n<li>Go to\u00a0<strong>Configuration &gt; System Settings &gt;\u00a0<\/strong><strong>Products\/Services<\/strong>.<\/li>\n<li>Edit the desired product.<\/li>\n<li>In the\u00a0<strong>Pricing<\/strong><strong>\u00a0<\/strong>tab, set\u00a0<strong>Auto Terminate\/Fixed Term<\/strong>\u00a0to\u00a0<code>0<\/code>.<\/li>\n<li>Click\u00a0<strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n<p>Repeat the process for any other products that you do not want to automatically terminate after a fixed term.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"step step-depth-2 child-step\" data-step-uuid=\"DD4E24D6-5628-42C8-B53C-7CB61365A6C4\">\n<h3 id=\"overdue-termination\" tabindex=\"0\">Overdue Termination<\/h3>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_AAEC1C6E-391C-43DE-9050-9F839A3DB28D\" class=\"text-block-content\">\n<p>If the termination is because the service is overdue, you will see the following log entry:<\/p>\n<\/div>\n<\/div>\n<div class=\"code-block copy-clipboard--parent\">\n<pre id=\"code-content_6696AE2F-377F-45C6-8A47-6F3427E3FE5F\" tabindex=\"0\"><code>Cron Job: Terminating Service - Service ID: x\r\n...\r\nAutomated Task: Starting Overdue Terminations<\/code><\/pre>\n<div class=\"copy-clipboard copy-clipboard--tt-right\"><\/div>\n<\/div>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_F2E5982F-E713-4B39-B26E-5A1C5C72899C\" class=\"text-block-content\">\n<p>To address this:<\/p>\n<ol>\n<li>Go to\u00a0<strong>Configuration &gt; System Settings &gt;\u00a0<\/strong><strong>Automation Settings<\/strong>.<\/li>\n<li>Increase the\u00a0<strong>Termination Days<\/strong>\u00a0value.<\/li>\n<li>Click\u00a0<strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n<p>This will increase the time before the system terminates overdue services.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"step step-depth-2 child-step\" data-step-uuid=\"544CA962-C162-4FA0-8162-7AC1DDF11583\">\n<h3 id=\"admin-termination\" tabindex=\"0\">Admin Termination<\/h3>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_EBFADAE6-2151-4B4C-82D9-8ABA6E57F7A0\" class=\"text-block-content\">\n<p>If the termination is because an admin terminated the service, you will see the following log entry:<\/p>\n<\/div>\n<\/div>\n<div class=\"code-block copy-clipboard--parent\">\n<pre id=\"code-content_36E6F874-798C-4F6A-8BA8-8530C459F819\" tabindex=\"0\"><code>Module Terminate Successful - Service ID: x<\/code><\/pre>\n<div class=\"copy-clipboard copy-clipboard--tt-right\"><\/div>\n<\/div>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_BB310B16-312F-4C23-9BB9-381F883B31EF\" class=\"text-block-content\">\n<p>This entry indicates that an admin clicked\u00a0<strong>Terminate<\/strong>\u00a0under the\u00a0<strong>Module Commands<\/strong>\u00a0section in the\u00a0<strong>Products\/Services<\/strong>\u00a0tab of the client&#8217;s profile.<\/p>\n<p>You can review the\u00a0<strong>User<\/strong>\u00a0column for the log entry to determine which admin performed the action.<\/p>\n<\/div>\n<\/div>\n<div class=\"instructions screensteps-textblock screensteps-wrapper--warning screensteps-wrapper\" tabindex=\"0\" role=\"status\" aria-label=\"warning\">\n<div id=\"text-content_EA6C36AC-A69E-46FD-B73D-5BCFB400F627\" class=\"text-block-content\">\n<p>You can control the permissions that admins have to perform module command operations at\u00a0<strong>Configuration &gt; System Settings &gt;\u00a0<\/strong><strong>Administrator Roles<\/strong>.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Troubleshoot Unexpected Service Terminations Symptom The system is unexpectedly terminating services (for example, hosting accounts). Causes The system&hellip;<\/p>\n","protected":false},"author":1,"featured_media":11159,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-11157","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whmcs"],"_links":{"self":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/11157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/comments?post=11157"}],"version-history":[{"count":1,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/11157\/revisions"}],"predecessor-version":[{"id":11160,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/11157\/revisions\/11160"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media\/11159"}],"wp:attachment":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media?parent=11157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/categories?post=11157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/tags?post=11157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}