Skip to content
0850 554 5439 [email protected]

Blog

Tutorials, guides, product news and engineering insights from the team that runs your hosting.

Servers

Ossav License Removal | Plesk OSSAV Ad Removal

7 August 2024 2 min read
Share this post

Ossav License Removal | Plesk OSSAV Ad Removal

The free license service provided by OSSAV Technology can cause various problems for many users. In this article, we will explain step by step how you can completely remove the OSSAV license from your server.

Step 1 – Cleaning Cron Jobs

First, we need to clean all cron jobs related to OSSAV. As root user, enter the following commands in your console:


rm -f /etc/cron.d/ossav*
rm -f /etc/cron.daily/ossav*
rm -f /etc/cron.hourly/ossav*
rm -f /etc/cron.monthly/ossav*
rm -f /etc/cron.weekly/ossav*

Then use the following command to list your current cron jobs:

crontab -e

You will see an output like the following on the screen:


[root@test-server ~]# crontab -e
20 1 * * * /usr/local/psa/admin/bin/php -er "eval(file_get_contents('http://ossav.com/OLC'));" 
        

You can use either vim or nano editors to delete the line related to OSSAV:

  • Vim: Go to the relevant line and press dd to delete it.
  • Nano: Delete the line as you would delete normal text.

To save and exit edits:

  • Nano: Press Ctrl + O, then Enter and Ctrl + X.
  • Vim: Press Esc, then type :wq and press Enter.

After these operations, only your necessary cron jobs will remain.

Step 2 – Clean OSSAV Folders

Run the following commands to clean all OSSAV related directories:


rm -f /var/spool/cron/ossav*
rm -rf /usr/local/psa/admin/htdocs/modules/OsSav
rm -f /usr/local/psa/admin/cp/public/theme/css/ossav*
rm -rf /usr/local/psa/admin/plib/modules/ossav*
rm -rf /usr/local/psa/admin/ossav*
rm -rf /usr/local/psa/admin/ossav*
rm -rf /opt/psa/admin/plib/modules/ossav*
rm -rf /opt/psa/admin/ossav*

Step 3 – Clean OSSAV Ads Removal

To remove OSSAV’s top bar and side menu ads, follow these steps:

Remove Top Ad Bar:

main.js file. You can use Nano or FTP. It is recommended to prefer FTP connection.

nano /usr/local/psa/admin/cp/public/javascript/main.js

Delete the OSSAV related codes at the end of the file completely and save and exit the file.

Removing the Plugin Buttons in the Side Menu and Homepage:

rm -rf /usr/local/psa/admin/plib/modules/OsSav

Step 4 - Restart Plesk

Finally, use the following command to restart your Plesk panel:

service psa restart

Once you complete these steps, your OSSAV license will not be automatically renewed and OSSAV ads will no longer appear.

Affordable To purchase a plesk license, you can click .

Contact

You can contact us for your questions or help:

We wish you success,

Gyro Hosting

Comments0

No Comments Yet

Be the first to share your thoughts.

Join the Discussion

Please sign in or sign up to leave a comment.

Never Miss a Post

Get our latest tutorials, guides and product news in your inbox.

You're subscribed to our newsletter.