Symptoms
License cannot be updated with the following message:
This License is Provided Free of Charge by OsSav Technology Ltd. You can buy a cheap license here to turn off the warning.
Custom records for Plesk URLs can be found at
/etc/hosts:# cat /etc/hosts
185.50.69.214 ka.plesk.com
185.50.69.214 id-00.kaid.plesk.com
185.50.69.214 alternate.ka.plesk.com
185.50.69.214 feedback.pp.plesk.comThe following illegal or fake extension can be found installed from CLI:
# plesk bin extension -l | grep OsSav
OsSav - OsSav Technology
Cause
3rd-party illegal License software installed on the server.
Resolution
Connect to the server via SSH
Remove the extension:
# plesk bin extension --uninstall osSav
The extension was successfully removed.Remove custom IPs from
/etc/hostsfile. Vi editor can be used for this.Reactivate the license by following instructions from this article
In case such extension is not found, apply these manual removal steps
Connect to the server via SSH
Check for any
OsSavconfiguration files or CronJobs and remove all findings:# grep -iR "OsSav" /etc/*
In case the
/etc/hostsfile cannot be edited check attributes:# lsattr /etc/hosts
----ia--------e----- /etc/hosts3.1. In case the output is like the above example, remove additional attributes:
# chattr -i /etc/hosts
# chattr -a /etc/hostsNote: Double-check attributes with step 3 to make sure the changes were applied.
Check if there is similar content on the
/opt/psa/admin/cp/public/javascript/main.jsfile and if so, backup the file and remove the found lines:OsSavPleskGlobal(1);
document.onload=OsSavPleskGlobal(1);
currentPage = location.href;
setInterval(function(){
if(currentPage!=location.href){
currentPage=location.href;
OsSavPleskGlobal(1);
}
},100);
/** OsSav v1.98 **/Remove file system attributes from earlier license files:
# find /etc/sw/keys/keys -type f | xargs -i chattr -ia {}
Remove the pirate license files:
# rm -rf /etc/sw/keys/keys/*