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.

Iptables module missing!

Discussion in 'General Discussion' started by raamee, Apr 17, 2011.

  1. raamee

    raamee Active Member

    Joined:
    Mar 18, 2011
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I was running csf and everything was fine. Now, I just did recent update using easy apache. After then my vps behaving weird and I wasn't able to access my sites. Then I consulted my hosting company and they found csf causing this problem and they disabled it. When I enable csf, I cant access my sites. I run this command,

    Code:
    /etc/csf/csftest.pl
    
    Code:
    Testing ip_tables/iptable_filter...OK
    Testing ipt_LOG...OK
    Testing ipt_multiport/xt_multiport...OK
    Testing ipt_REJECT...OK
    Testing ipt_state/xt_state...FAILED [FATAL Error: iptables: Unknown error 4294967295] - Required for csf to function
    Testing ipt_limit/xt_limit...OK
    Testing ipt_recent...OK
    Testing ipt_owner/xt_owner...FAILED [Error: iptables: Unknown error 4294967295] - Required for SMTP_BLOCK and UID/GID blocking features
    Testing iptable_nat/ipt_REDIRECT...FAILED [Error: iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)] - Required for MESSENGER feature
    
    RESULT: csf will not function on this server due to FATAL errors from missing modules [1]
    
    There are so many errors. I need to add the missing modules to enable the csf. How to add iptables modules? Right now I have disabled csf. Please help. Thanks.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    modprobe ipt_state
    modprobe ipt_owner

    note: is the a VPS?
     
  3. raamee

    raamee Active Member

    Joined:
    Mar 18, 2011
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Yes, its a VPS.

    Code:
    modprobe ipt_state
    FATAL: Could not load /lib/modules/2.6.18-238.5.1.el5.028stab085.3/modules.dep: No such file or directory
    root@server [~]# modprobe ipt_owner
    FATAL: Could not load /lib/modules/2.6.18-238.5.1.el5.028stab085.3/modules.dep: No such file or directory
    
     
  4. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    You need to execute the above given commands from the Node and not from the vps. If you do not have access to Node, contact your host regarding this.
     
  5. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    OpenVZ or Virtuozzo your provider needs to set up the Iptables modules
    since it was working before it appears the have made changes to the hardware node
     
  6. raamee

    raamee Active Member

    Joined:
    Mar 18, 2011
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Oh.. Its openvz. So you are asking to contact provider to make it rectify? Thanks for the help.
     
  7. raamee

    raamee Active Member

    Joined:
    Mar 18, 2011
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for your help dalem. I have contacted my provider and they solved it. Thanks.
     
Loading...

Share This Page