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!

Problem starting APF:lsmod: QM_MODULES: Function not implemented

Discussion in 'General Discussion' started by AbeFroman, Aug 7, 2004.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    Has anyone got APF to work with a rpm based kernel?
    root@server [/etc/rc.d/init.d]# ./apf start
    Starting APF:Development mode enabled!; firewall will flush every 5 minutes.
    lsmod: QM_MODULES: Function not implemented

    Unable to load iptables module (ip_tables), aborting.
    [ OK ]

    How do I get APF to work?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    You need to have iptables module compiled into the kernel, AFAIK - you can't do that with the RPM based kernel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Actually...

    You probably have module loading disabled. If this works:

    iptables -L -n

    Then iptables is already loaded and you can edit /etc/apf/firewall and comment out the line:

    modinit

    to:

    #modinit

    It'll then start up and work OK ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 chirpy, Aug 7, 2004
    Last edited: Aug 7, 2004
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    I forgot about that one, thanks chirpy.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Just ran into it today - nice coincidence :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    Thanks! But now I get this message:
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    [ OK ]

    Got any tips?
     
    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