Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2009, 06:20 PM   #1
Registered: Jan 2009
Location: Scotland
Distribution: CentOS 5.3
Posts: 36

Rep: Reputation: 15
Configuring server for using CSF


We are currently offering VPS hosting and the we have a problem when loading the modules in order for CSF to work correctly for VPS servers.

We have followed the following guide to make the changes;

If you get iptables errors when trying to start csf on a VPS then you most likely have missing iptables modules for your VPS.

If your hosting provider wants to know how to configure iptables correctly on a VPS server, then you should point them to this Parallels FAQ and have them follow it (plus to add ip_conntrack_ftp to the list of required modules):

csf requires at least these iptables modules:


Other modules where available for additional functionality:


The VPS Host provider can test whether they have fixed the envrionment by running:


This should run without any FATAL errors. If any such errors are present, they have not done it correctly or are using a broken kernel on the VPS client.

If you suffer from "memory allocation" errors with iptables on a VPS, make sure that your numiptent setting (as mentioned in the Parallels FAQ) is set sufficiently high. We recommend having numiptent set to at least 1000.

If you still have problems, your VPS host provider should also consider this information:
When we try running;

modprobe MODULE
We get the following error for every module above;

FATAL: Could not load /lib/modules/2.6.18-028stab062.3/modules.dep: No such file or directory
We have checked /lib/modules/ and the folder is empty.

Any help would be appreciated!!
Old 06-21-2009, 11:38 AM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
Did you perform make modules_install after building your kernel? (I'm assuming it's custom-built). If it's not custom-built, what distribution are you using? Since it seems to be on a VPS, also make sure that you're performing the work in the host, not a guest.
Old 06-29-2009, 10:20 AM   #3
Registered: Jan 2009
Location: Scotland
Distribution: CentOS 5.3
Posts: 36

Original Poster
Rep: Reputation: 15
We are using Virtuozzo on the Host and their kernel is broken, there are many problems with it.

We have searched every forum and added every module you basically can and it just won't work.

We can enable iptable_filter on the Host, but when trying to enable it via the VPS we get the following error;

FATAL: Could not load /lib/modules/2.6.18-028stab062.3/modules.dep: No such file or directory
Any help will be appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed CSF and FTP Got blocked... yah0m Linux - Server 1 08-15-2008 08:29 PM
plesk and csf I_AM Linux - General 1 06-28-2008 11:32 AM
Configuring server adnanm General 8 11-27-2005 04:50 PM
Configuring X Server cool_coolioin Linux - General 3 07-03-2002 08:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration