[% data.liscerror %]
[% locale.maketext('To access the interface, you must install the license and ensure that the license is active.') %]
[% SET purchase_url = cp_security_token _ "/scripts12/license_purchase_status/" %] [% SET store_url = "https://www.cpanel.net/store/?utm_source=cpanelwhm&utm_medium=licenseerror&utm_content=licenseerror&utm_campaign=cpanelwhmreferral" %]
[% locale.maketext('You can purchase or lease a license directly from [output,url,_1,cPanel,target,_2,id,_3], or from one of our [output,url,_4,Partners,target,_2,id,_5].',purchase_url,'_blank','lnkPricing','https://partnernoc.cpanel.net/','lnkPartners') %]
[% locale.maketext('If you do not currently own a license, register at the [output,url,_1,cPanel Store,target,_2,id,_3] and [output,url,_4,request a trial license,target,_5].',store_url,'_blank','lnkStorePurchaseLicense', 'https://go.cpanel.net/trial#trial', 'blank') %]
[% IF data.licservermessage %]

[% data.licservermessage %]

[% END %]
  • [% locale.maketext('To ensure that the server is licensed, navigate to [output,url,_1,_1,target,_2,id,_3], and enter the server’s public IP address.','https://verify.cpanel.net','_blank','lnkVerfiyLicense') %]
  • [% locale.maketext('If the server is licensed, run the [output,strong,/usr/local/cpanel/cpkeyclt] command as the [output,strong,root] user.') %]
  • [% locale.maketext('Make certain that port [output,strong,2089] is open to contact our license server and that your server’s hostname is a [output,url,_1,FQDN,target,_2,id,_3].','https://en.wikipedia.org/wiki/FQDN','_blank','lnkWikipediaFQDN') %]

[% locale.maketext('After you successfully activate the license, wait a few minutes. Then, [output,url,_1,log in again]. This error page and this message will no longer display.','/') %]

[% USE Whostmgr; USE VarCache; # NOTE: Analytics UI includes are disabled by default and are strictly opt-in only. IF is_user_analytics_required_by_leika AND template_exists('/var/cpanel/customizations/whm/includes/cp_analytics_whm.html.tt'); # The package updates setting check is required to avoid regressions during cPanel&WHM upgrade to v112. # This regression may occur only for users who have package updates disabled. (Details available in PH-19613) IF varcache.is_package_update_enabled; TRY; '
'; SET license_expired_page = 1; INCLUDE '/var/cpanel/customizations/whm/includes/cp_analytics_whm.html.tt'; '
'; CATCH; ""; END; ELSIF CPANEL.is_server_analytics_enabled(); TRY; '
'; SET license_expired_page = 1; INCLUDE '/var/cpanel/customizations/whm/includes/cp_analytics_whm.html.tt'; '
'; CATCH; ""; END; END; END; %]