Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Troubleshooting Plesk license key update issues on Linux  (Read 3301 times)

0 Members and 1 Guest are viewing this topic.

sibij

  • Guest
Troubleshooting Plesk license key update issues on Linux
« 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:
Code: [Select]
# /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
Code: [Select]
# 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.

Code: [Select]
# /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...