LinuxBabu ………..

APF installation error on VPS : unable to load iptables module (ip_tables), aborting.

by dino on Sep.29, 2008, under Virtuozzo

While installing APF on your VPS you get the following error :

# apf -r
apf(28442): {glob} status log not found, created
apf(28463): {glob} flushing & zeroing chain policies
apf(28463): {glob} firewall offline
apf(28500): {glob} activating firewall
apf(28551): {glob} unable to load iptables module (ip_tables), aborting.
apf(28500): {glob} firewall initalized
apf(28500): {glob} !!DEVELOPMENT MODE ENABLED!! – firewall will flush every 5 minutes.

You need to configure the APF for your VPS.

nano -w /etc/apf/conf.apf

modify
SET_MONOKERN=”0″

to
SET_MONOKERN=”1″

Restart APF

apf -r

Now you will be able to complete apf installation fine :)

:, ,

2 Comments for this entry

  • ejd021

    No its not working…

    apf(36568): {glob} activating firewall
    /etc/apf/internals/functions.apf: line 100: /sbin/lsmod: No such file or directory
    apf(36610): {glob} could not verify that interface venet0:0,venet0:1,venet0:2 is routed to a network, aborting.
    apf(36568): {glob} firewall initalized

  • dino

    Seems a different issue with your VPS. lsmod should work on VPS. However ithe output is blank.

    # lsmod
    #

    If you need assistance let me know email me at admin ( at ) linuxbabu.net. Won’t charge for it :)

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...