Admin-Ahead Community
Linux => Control Panels => Plesk => Topic started by: sibij on July 20, 2018, 08:18:16 am
-
Troubleshooting Plesk license key update issues on Linux >:(
The following message occurs on the main Plesk page (and pretty much every other page):
Warning: You are currently operating within the grace period of your product license. To update your product license, select the Retrieve Keys option on the License Management page.
Cause
Missing Daily Maintenance task on the server. Plesk license key update and some other tasks should be performed in scope of the Daily Maintenance task.
Resolution
Login to the server over SSH.
Plesk Daily Maintenance task consists of many different parts. The part which is responsible for retrieving keys is called UpdateKeys and its command line is:
# /usr/local/psa/bin/sw-engine-pleskrun "/usr/local/psa/admin/plib/DailyMaintainance/task-script.php" UpdateKeys '--period=daily'
Error: Unable to verify License Key: Error: cURL cannot communicate with license server
Resolution # iptables -I OUTPUT -p tcp -d 195.214.233.80,195.214.233.81,195.214.233.82 -m multiport --dports 443,5224 -j ACCEPT
# iptables -I INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
or
go to Tools & Settings > Firewall > Enable Firewall Rules Management > Enable
Allow the ports 443,5224.
# /usr/local/psa/bin/sw-engine-pleskrun "/usr/local/psa/admin/plib/DailyMaintainance/task-script.php" UpdateKeys '--period=daily'
# service cron status
cron (pid 24250) is running...