{"id":283,"date":"2021-07-23T12:27:12","date_gmt":"2021-07-23T12:27:12","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-fix-license-file-errors\/"},"modified":"2021-07-23T12:27:12","modified_gmt":"2021-07-23T12:27:12","slug":"how-to-fix-license-file-errors","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-fix-license-file-errors\/","title":{"rendered":"How to Fix License File Errors"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>In some circumstances, you may see a license-related error message on your cPanel &#038; WHM server (for example, <code>License File Expired<\/code> or <code>Cannot Read License File<\/code>). Use the steps in this guide to troubleshoot and fix this problem.<\/p>\n<p>If the steps in this document do not resolve the problem, open a ticket with cPanel Customer Service for further assistance.<\/p>\n<h2 id=\"troubleshoot-license-errors\">Troubleshoot license errors<\/h2>\n<p>Use the following procedures to troubleshoot your license errors:<\/p>\n<h3 id=\"verify-your-license-ip-address\">Verify your license IP address<\/h3>\n<p>In most cases, the system returns these errors because of an invalid or expired license. To check whether your license is invalid or expired, perform the following steps:<\/p>\n<ol>\n<li>Run either of the following commands to obtain your license\u2019s IP address:\n<div class=\"highlight\">\n<div style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\">\n<table style=\"border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;\">\n<tr>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-BASH\" data-lang=\"BASH\"><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">1\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">2\n<\/span><\/code><\/pre>\n<\/td>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;;width:100%\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-BASH\" data-lang=\"BASH\">curl -w <span style=\"color:#e6db74\">'n'<\/span> -s http:\/\/myip.cpanel.net\/v1.0\/\ncurl -w <span style=\"color:#e6db74\">'n'<\/span> -s http:\/\/myip.cpanel.net:2089\/v1.0\/<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/div>\n<\/li>\n<li>Navigate to the cPanel License Verification page.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>The License Verification page lists licenses for cPanel &#038; WHM and other products separately. The list sorts each license from newest to oldest. For example, you may see <code>COMPANYNAME-INTERNAL<\/code> and <code>COMPANY-CLOUDLINUX-INTERNAL-WITH-CPANEL<\/code> in the <em>Package<\/em> column, where <code>COMPANYNAME<\/code> represents the name of the partner that issued the license. This example indicates that your server possesses a cPanel license and a CloudLinux license that you purchased through cPanel, L.L.C. Your CloudLinux license may report an <em>active<\/em> status while your cPanel license reports as expired.<\/p>\n<\/p><\/div>\n<\/div>\n<\/li>\n<li>Enter the IP address that you obtained in Step 1. Our website will display the status of your license.\n<ul>\n<li>If the most recent license for a product has an expired status, renew your license through the cPanel Store or open a ticket with cPanel Customer Service for further assistance.<\/li>\n<li>If no valid licenses exist for your IP address, open a ticket with cPanel Customer Service for further assistance.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3 id=\"check-for-connectivity-issues\">Check for connectivity issues<\/h3>\n<p>If your IP address is already licensed and you still experience problems, run the following script as the <code>root<\/code> user to verify your license:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-BASH\" data-lang=\"BASH\">\/usr\/local\/cpanel\/cpkeyclt<\/code><\/pre>\n<\/div>\n<p>If your license works properly, the script will <strong>not<\/strong> return a message. If the script requires more than a few seconds to run, your server may have encountered connectivity issues.<\/p>\n<h3 id=\"check-resolving-and-hostname\">Check resolving and hostname<\/h3>\n<p>To check whether you can resolve our servers, run the following command:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-BASH\" data-lang=\"BASH\">host auth.cpanel.net<\/code><\/pre>\n<\/div>\n<p>Additionally, ensure that your hostname is valid. For more information about the requirements for valid hostnames, read RFCs 952 and 1123.<\/p>\n<h3 id=\"check-the-server-time-and-date-settings\">Check the server time and date settings<\/h3>\n<p>Ensure that the time and date of the server are not set too far in the future or past. To do this, run the <code>date<\/code> command on the command line. If the system returns an incorrect time or date, reset it. For information on how to update the server\u2019s date and time, read the Linux <code>date<\/code> manual entry.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview In some circumstances, you may see a license-related error message on your cPanel &#038; WHM server (for example, License File Expired or Cannot Read License File). Use the steps in this guide to troubleshoot and fix this problem. If the steps in this document do not resolve the problem, open a ticket with cPanel &hellip;<\/p>\n","protected":false},"author":1,"featured_media":284,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/283"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/284"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}