Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to fully uninstall APF firewall?

Discussion in 'General Discussion' started by Kent Brockman, Jun 30, 2008.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,183
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi there people, I'm using actually CSF and is working very fine.
    I thought I completely uninstalled APF, but something seems to be still alive.
    Based on what I've found on the web, this is the script I'm using to uninstall APF:

    Code:
    /etc/init.d/apf stop
    rm /etc/cron.daily/apf* -drf
    rm /etc/logrotate.d/apf* -drf
    rm /etc/apf* -drf
    rm /usr/local/sbin/apf* -drf
    rm /etc/rc.d/init.d/apf* -drf
    rm /var/log/apf* -drf
    /sbin/chkconfig --level 345 apf off
    This code stops and uninstall APF, but I recently found this at the cron log:

    Code:
    Jun 30 17:50:01 servidor crond[7496]: (root) CMD (/etc/init.d/apf stop >> /dev/null 2>&1)
    I don't realize what's missed and how/where to delete the entry that is trying to run that line every 5 minutes.
    Anybody having some clues?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,436
    Likes Received:
    416
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    crontab is where you'd remove that I believe.


    list with:

    crontab -l

    or edit with:

    crontab -e

    file is located:

    /etc/crontab

    (might want to back it up first to be safe)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rone

    rone Well-Known Member

    Joined:
    Jan 14, 2007
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    rm -rf /etc/apf
    rm -f /etc/cron.daily/fw /etc/init.d/apf /usr/local/sbin/apf
     
  4. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,183
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yep, I found that entry in /etc/crontab. All ok now. Thanks! :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice