hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

can't initialize iptables table `filter': iptables who? (do you need to insmod?)

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-27-2010, 10:52 PM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,521

can't initialize iptables table `filter': iptables who? (do you need to insmod?)


Hi guys I am using centos 5
and when I try to make this to allow port 7777 to be open to access kloxo I get:


Code:
iptables -A INPUT -p tcp --dport 7777 -j ACCEPT
iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I am using a xen based yardvps which comes naked as sh..



i tried with this:


Here what I did to fix the problem:

Code:
yum install kernel-xen kernel-xen-devel
/sbin/depmod
After that, /sbin/iptables -L now works correctl

but does not do the job

any ideas

thx

__________________
imagepedia.net

Reply With Quote


Sponsored Links
  #2  
Old 11-27-2010, 11:06 PM
fabin fabin is online now
Web Hosting Evangelist
 
Join Date: Mar 2009
Location: Gods Own Country
Posts: 530
Quote:
can't initialize iptables table `filter': iptables who? (do you need to insmod?)
You might have fixed this error. What is the result of "iptables -nL" now? And, there is no chance that 7777 is blocked ( in order to allow it ) as cento's iptables by default will ACCEPT all connections except ICMP.

__________________
Fabin M @ Xieles Support
High Quality Server Management | support @ xieles.com
http://xieles.com

Reply With Quote
  #3  
Old 11-28-2010, 12:43 AM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,521
thx mate . I will check tomorrow and let you know . My cell phone does not have putty and im in bed now.

Another thing that happened after installing kloxo is that i installed vsftp and it fails to start . I did a grep ftp and there was a pure ftp there ( i will be more precise tomorrow). Could the pureftp be the one causing the failure to start of the vsftp ?
Ive tried this in two boxes ( installing kloxo first and then vsftp and same errors showed up ) . I will paste what the tail command prompts out .

Thanks in advance

__________________
imagepedia.net

Reply With Quote
Sponsored Links
  #4  
Old 11-28-2010, 01:20 AM
fabin fabin is online now
Web Hosting Evangelist
 
Join Date: Mar 2009
Location: Gods Own Country
Posts: 530
pure-ftp is already installed and running, so vsftp is not going to listen in FTP port. You do not require vsftp as pure-ftpd is already installed and running.

__________________
Fabin M @ Xieles Support
High Quality Server Management | support @ xieles.com
http://xieles.com

Reply With Quote
  #5  
Old 11-28-2010, 10:58 PM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,521
Quote:
Originally Posted by fabin View Post
You might have fixed this error. What is the result of "iptables -nL" now? And, there is no chance that 7777 is blocked ( in order to allow it ) as cento's iptables by default will ACCEPT all connections except ICMP.

Code:
iptables -nL
iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
ps -A | grep ftp

Code:
tail -n 200 /var/log/messages | grep ftp
Nov 28 19:43:15 myserver xinetd[20222]: START: ftp pid=10528 from=127.0.0.1
Nov 28 19:43:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 19:43:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 19:43:15 myserver xinetd[20222]: EXIT: ftp status=0 pid=10528 duration=0(s ec)
Nov 28 19:48:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 19:48:15 myserver xinetd[20222]: START: ftp pid=10541 from=127.0.0.1
Nov 28 19:48:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 19:48:15 myserver xinetd[20222]: EXIT: ftp status=0 pid=10541 duration=0(s ec)
Nov 28 19:53:15 myserver xinetd[20222]: START: ftp pid=10553 from=127.0.0.1
Nov 28 19:53:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 19:53:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 19:53:15 myserver xinetd[20222]: EXIT: ftp status=0 pid=10553 duration=0(s ec)
Nov 28 19:58:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 19:58:15 myserver xinetd[20222]: START: ftp pid=10600 from=127.0.0.1
Nov 28 19:58:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 19:58:15 myserver xinetd[20222]: EXIT: ftp status=0 pid=10600 duration=0(s ec)
Nov 28 20:03:15 myserver xinetd[20222]: START: ftp pid=10615 from=127.0.0.1
Nov 28 20:03:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:03:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:03:15 myserver xinetd[20222]: EXIT: ftp status=0 pid=10615 duration=0(s ec)
Nov 28 20:08:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:08:15 myserver xinetd[20222]: START: ftp pid=10627 from=127.0.0.1
Nov 28 20:08:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:08:15 myserver xinetd[20222]: EXIT: ftp status=0 pid=10627 duration=0(s ec)
Nov 28 20:13:15 myserver xinetd[20222]: START: ftp pid=10642 from=127.0.0.1
Nov 28 20:13:15 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:13:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:13:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10642 duration=1(s ec)
Nov 28 20:18:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:18:16 myserver xinetd[20222]: START: ftp pid=10655 from=127.0.0.1
Nov 28 20:18:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:18:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10655 duration=0(s ec)
Nov 28 20:23:16 myserver xinetd[20222]: START: ftp pid=10667 from=127.0.0.1
Nov 28 20:23:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:23:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:23:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10667 duration=0(s ec)
Nov 28 20:28:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:28:16 myserver xinetd[20222]: START: ftp pid=10682 from=127.0.0.1
Nov 28 20:28:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:28:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10682 duration=0(s ec)
Nov 28 20:33:16 myserver xinetd[20222]: START: ftp pid=10694 from=127.0.0.1
Nov 28 20:33:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:33:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:33:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10694 duration=0(s ec)
Nov 28 20:38:16 myserver xinetd[20222]: START: ftp pid=10706 from=127.0.0.1
Nov 28 20:38:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:38:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:38:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10706 duration=0(s ec)
Nov 28 20:43:16 myserver xinetd[20222]: START: ftp pid=10721 from=127.0.0.1
Nov 28 20:43:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:43:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:43:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10721 duration=0(s ec)
Nov 28 20:48:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:48:16 myserver xinetd[20222]: START: ftp pid=10734 from=127.0.0.1
Nov 28 20:48:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:48:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10734 duration=0(s ec)
Nov 28 20:53:16 myserver xinetd[20222]: START: ftp pid=10746 from=127.0.0.1
Nov 28 20:53:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:53:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:53:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10746 duration=0(s ec)
Nov 28 20:58:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 20:58:16 myserver xinetd[20222]: START: ftp pid=10764 from=127.0.0.1
Nov 28 20:58:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 20:58:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10764 duration=0(s ec)
Nov 28 21:03:16 myserver xinetd[20222]: START: ftp pid=10778 from=127.0.0.1
Nov 28 21:03:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:03:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:03:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10778 duration=0(s ec)
Nov 28 21:08:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:08:16 myserver xinetd[20222]: START: ftp pid=10790 from=127.0.0.1
Nov 28 21:08:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:08:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10790 duration=0(s ec)
Nov 28 21:13:16 myserver xinetd[20222]: START: ftp pid=10805 from=127.0.0.1
Nov 28 21:13:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:13:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:13:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10805 duration=0(s ec)
Nov 28 21:18:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:18:16 myserver xinetd[20222]: START: ftp pid=10818 from=127.0.0.1
Nov 28 21:18:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:18:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10818 duration=0(s ec)
Nov 28 21:23:16 myserver xinetd[20222]: START: ftp pid=10830 from=127.0.0.1
Nov 28 21:23:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:23:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:23:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10830 duration=0(s ec)
Nov 28 21:28:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:28:16 myserver xinetd[20222]: START: ftp pid=10846 from=127.0.0.1
Nov 28 21:28:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:28:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10846 duration=0(s ec)
Nov 28 21:33:16 myserver xinetd[20222]: START: ftp pid=10858 from=127.0.0.1
Nov 28 21:33:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:33:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:33:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10858 duration=0(s ec)
Nov 28 21:38:16 myserver xinetd[20222]: START: ftp pid=10870 from=127.0.0.1
Nov 28 21:38:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:38:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:38:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10870 duration=0(s ec)
Nov 28 21:43:16 myserver xinetd[20222]: START: ftp pid=10885 from=127.0.0.1
Nov 28 21:43:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:43:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:43:16 xinetd[20222]: EXIT: ftp status=0 pid=10885 duration=0(s ec)
Nov 28 21:48:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:48:16 myserver xinetd[20222]: START: ftp pid=10898 from=127.0.0.1
Nov 28 21:48:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:48:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10898 duration=0(s ec)
Nov 28 21:53:16 myserver xinetd[20222]: START: ftp pid=10910 from=127.0.0.1
Nov 28 21:53:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:53:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:53:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10910 duration=0(s ec)
Nov 28 21:58:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127. 0.0.1
Nov 28 21:58:16 myserver xinetd[20222]: START: ftp pid=10949 from=127.0.0.1
Nov 28 21:58:16 myserver pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Nov 28 21:58:16 myserver xinetd[20222]: EXIT: ftp status=0 pid=10949 duration=0(s

__________________
imagepedia.net


Last edited by elvis1; 11-28-2010 at 11:04 PM.
Reply With Quote
  #6  
Old 11-28-2010, 11:56 PM
fabin fabin is online now
Web Hosting Evangelist
 
Join Date: Mar 2009
Location: Gods Own Country
Posts: 530
I guess, the kernel doesn't have netfilter module enabled. You might be running a custom compiled kernel?

__________________
Fabin M @ Xieles Support
High Quality Server Management | support @ xieles.com
http://xieles.com

Reply With Quote
  #7  
Old 11-28-2010, 11:58 PM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,521
might be the case. the provider is yardvps. What should I do in this case? Should I contact the provider?

__________________
imagepedia.net

Reply With Quote
  #8  
Old 11-29-2010, 12:00 AM
fabin fabin is online now
Web Hosting Evangelist
 
Join Date: Mar 2009
Location: Gods Own Country
Posts: 530
It might be better to contact them and get it checked.

__________________
Fabin M @ Xieles Support
High Quality Server Management | support @ xieles.com
http://xieles.com

Reply With Quote
  #9  
Old 11-29-2010, 12:02 AM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,521
thx mate! will contact them ASAP

__________________
imagepedia.net

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
after flush+zero iptables, will a new iptables ban work? Tertsi Hosting Security and Technology 2 01-06-2008 12:04 AM
APF & iptables... hm.. iptables is not starting.. LowAsYou Hosting Security and Technology 10 11-10-2006 11:18 PM
How to find IPtables (I can't restart iptables without a reboot) DSD Hosting Security and Technology 13 12-28-2005 03:51 PM
IPTABLES Filter Stored? azimpact VPS Hosting 0 10-08-2005 03:59 PM
Command line to filter an IP using iptables? wheimeng Hosting Security and Technology 10 02-01-2004 01:39 AM

Related posts from TheWhir.com
Title Type Date Posted
50bf8d11-27e8-4dd4-9920-72e745a799de Listing 2013-03-05 18:23:19
Web Host Gandi Emphasizes User Customization with Interface Updates Web Hosting News 2012-10-23 16:14:19
CloudOpen 2012 Web Hosting Events 2012-08-07 17:07:15
Web Host Simple Hosting Partners with SpamExperts Web Hosting News 2011-09-09 17:02:09
Noise Filter: Go Daddy’s Private Equity Investment Web Hosting News 2011-07-07 20:55:36


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?