Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default How to completly remove /usr/local/cpanel/bin/leechprotect

    I installed cpanel pro addon module.

    /usr/local/cpanel/bin/leechprotect started showing up using all of the CPU.

    I killed it and it just comes back later.

    1. I uninstalled cpanel pro addon module

    2. I deleted /usr/local/cpanel/bin/leechprotect from httpd.conf

    The next time httpd.conf is updated by adding an account or something, it adds /usr/local/cpanel/bin/leechprotect back to httpd.conf and then it starts running again using all of the CPU.

    How do you completly get rid of leechprotect?

    I searched /usr/local/cpanel/bin/leechprotect. Look at the posts. Many, many, many post about high CPU usage and not being able to turn it off. We should be able to turn this thing off.

    I uninstalled cpanel pro. Is there any way to get rid of this and put it back like it was before I installed cpanel pro? Uninstalling cpanel pro should undo cpanel pro but it is not.
    Last edited by nat; 05-30-2010 at 08:27 AM.

  2. #2
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    Deleting /usr/local/cpanel/bin/leechprotect causes apache to not run.

    Making a blank /usr/local/cpanel/bin/leechprotect causes apache to not run.

  3. #3
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    System:
    • cPanel 11.25.0-S45750 - WHM 11.25.0 - X 3.9
    • REDHAT Enterprise 5.5 x86_64 standard

    Doing the following seems gets rid of it until the next time cpanel is upgraded or until the next time apache is compiled.

    Edit /var/cpanel/templates/apache2/main.default

    Code:
    nano /var/cpanel/templates/apache2/main.default
    Delete...

    Code:
    [% IF file_test('f', '/usr/local/cpanel/bin/leechprotect') -%]
    RewriteEngine on
    RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
    RewriteLock /usr/local/apache/logs/rewrite_lock
    [% END -%]
    Save and exit nano.

    Edit /usr/local/apache/conf/httpd.conf

    Code:
    nano /usr/local/apache/conf/httpd.conf
    Delete...

    Code:
    RewriteEngine on
    RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
    RewriteLock /usr/local/apache/logs/rewrite_lock
    Save and exit nano.

    Kill the leachprotect process.

    Code:
    kill `/sbin/pidof leechprotect`
    Run /usr/local/cpanel/bin/apache_conf_distiller --update

    Code:
    /usr/local/cpanel/bin/apache_conf_distiller --update
    Restart apache

    Code:
    service httpd restart

Similar Threads & Tags
Similar threads

  1. /usr/local/cpanel/bin/leechprotect how to stop it??
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-05-2011, 10:41 AM
  2. Replies: 0
    Last Post: 02-26-2007, 04:19 PM
  3. /usr/local/cpanel/bin/mailrouteadmin ?
    By jamesbond in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-14-2006, 03:30 PM
  4. Re: Cron <mailman@srv08> /usr/bin/python -S /usr/local/cpanel/3rd
    By sexy_guy in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-22-2003, 01:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube