The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    0
    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?
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    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.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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 ;)
     
    #3 chirpy, Aug 7, 2004
    Last edited: Aug 7, 2004
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    I forgot about that one, thanks chirpy.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Just ran into it today - nice coincidence :)
     
  6. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    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?
     
Loading...

Share This Page