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!

I can't restart iptables without a reboot

Discussion in 'General Discussion' started by BlueRabbit, Mar 20, 2012.

  1. BlueRabbit

    BlueRabbit Member

    Joined:
    Mar 19, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Code:
    #service iptables restart
    iptables: Flushing firewall rules:                         [  OK  ]
    iptables: Setting chains to policy ACCEPT: filter mangle   [  OK  ]
    iptables: Unloading modules:                               [  OK  ]
    #service iptables status
    iptables: Firewall is not running.
    
    #iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    
     
    #1 BlueRabbit, Mar 20, 2012
    Last edited: Mar 20, 2012
  2. cPanne

    cPanne Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 4, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    126
    Location:
    Cypress, Texas, United States
    cPanel Access Level:
    Website Owner
    Hello,

    What happens if you
    first?

    -Anne
     
  3. BlueRabbit

    BlueRabbit Member

    Joined:
    Mar 19, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Code:
    # touch /etc/sysconfig/iptables
    # service iptables start
    # service iptables status
    iptables: Firewall modules are not loaded.
    
    [/etc/sysconfig]# ls ip*
    ip6tables-config  ipmi  ipmievd  iptables  iptables-config
    
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you running a firewall that is configuring settings in iptables such as CSF or APF?

    Code:
    whereis csf
    whereis apf
    If you are, please try disabling or uninstalling it and then trying to start iptables. Of note, iptables is a system level issue that isn't part of cPanel. If you cannot resolve that issue, you may well need to seek the advice of your datacenter, NOC or provider.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. BlueRabbit

    BlueRabbit Member

    Joined:
    Mar 19, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Code:
    # whereis csf
    csf:
    # whereis apf
    apf: /etc/apf /usr/local/sbin/apf
    
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please uninstall or entirely disable APF as suggested to see the results.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. BlueRabbit

    BlueRabbit Member

    Joined:
    Mar 19, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    it's work, thank you very much
     
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