Results 1 to 19 of 19
-
09-26-2009, 09:23 AM #1WHT Addict
- Join Date
- May 2009
- Posts
- 116
CSF problems on a VPS + DirectAdmin
I have a VPS, with directadmin installed. but when tried to start CSF, I am the only one who's able to access the site.
Everybody else get's server not found error.
Anyone an idea?
-
09-26-2009, 10:02 AM #2Web Hosting Master
- Join Date
- Aug 2000
- Posts
- 2,754
what's the output of: /sbin/iptables -L
-
09-26-2009, 10:07 AM #3WHT Addict
- Join Date
- May 2009
- Posts
- 116
is biiiig. a lot of accepts. What exactly do you want to see from that?
Which CHAIN?
-
09-26-2009, 10:09 AM #4Web Hosting Master
- Join Date
- Aug 2000
- Posts
- 2,754
iptables -L | grep "http"
-
09-26-2009, 10:12 AM #5WHT Addict
- Join Date
- May 2009
- Posts
- 116
ACCEPT tcp -- anywhere server1.myserver.com tcp dpt:http
ACCEPT tcp -- anywhere server1.myserver.com tcp dpt:https
ACCEPT tcp -- anywhere localhost.localdomain tcp dpt:http
ACCEPT tcp -- anywhere localhost.localdomain tcp dpt:https
this is the only output, and then stops, like frozen
-
09-26-2009, 10:13 AM #6Web Hosting Master
- Join Date
- Aug 2000
- Posts
- 2,754
OK, it should of outputted something like:
iptables -L | grep "http"
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
-
09-26-2009, 10:19 AM #7WHT Addict
- Join Date
- May 2009
- Posts
- 116
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2222,588"
TCP_OUT = "20,21,22,25,53,80,110,113,443,2222"
UDP_IN = "20,21,53"
UDP_OUT = "20,21,53,113,123"
588 is my SSH port
and when /etc/init.d/csf start I get this
Error: iptables command [/sbin/iptables -v -A INVALID -m state --state INVALID -j INVDROP] failed, at line 705
and this
*WARNING* Since the Virtuozzo VPS iptables ip_conntrack_ftp kernel module is currently broken you have to open a PASV port hole in iptables for incoming FTP connections to work correctly. See the csf readme.txt under 'A note about FTP Connection Issues' on how to do this if you have not already done so.Last edited by Mareshal; 09-26-2009 at 10:22 AM.
-
09-26-2009, 10:22 AM #8Web Hosting Master
- Join Date
- Aug 2000
- Posts
- 2,754
Is this on an OpenVZ vps?
-
09-26-2009, 10:25 AM #9WHT Addict
- Join Date
- May 2009
- Posts
- 116
and how to Ifind that? I have hyperVM control panel
Location /vz/private
Yes, I think it is.
-
09-26-2009, 10:27 AM #10Web Hosting Master
- Join Date
- Aug 2000
- Posts
- 2,754
might want to contact your provider, looks like you could have whats described here: http://www.sherin.co.in/csf-lfd-fire...tuozzo-openvz/
Looks like your missing some modules for CSF support.
-
09-26-2009, 10:28 AM #11Web Hosting Master
- Join Date
- Mar 2009
- Location
- Gods Own Country
- Posts
- 681
You can test if csf can function properly in that server using the following command...
Code:/etc/csf/csftest.pl
-
09-26-2009, 10:29 AM #12WHT Addict
- Join Date
- May 2009
- Posts
- 116
No errors for that test. ALready made it.
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...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing ipt_owner...OK
Testing iptable_nat/ipt_REDIRECT...OK
RESULT: csf should function on this server
I think I can do that config. let's try
Wouldn't be a better solution to install APF + BFD ?
I can install them with ELS.Last edited by Mareshal; 09-26-2009 at 10:33 AM.
-
09-26-2009, 10:46 AM #13WHT Addict
- Join Date
- Sep 2007
- Location
- New York, NY
- Posts
- 111
It sounds like something is blocking DNS queries if everyone else not safelisted is receiving a 'server not found'. Try asking the other users to try accessing your site directly via your server's IP. I would also run a quick check at intodns to see if your DNS servers are responding.
Have you tried completely disabling csf + iptables? Was your site functioning when you did this?█ cPanelDesigns - High Quality & Mobile Ready cPanel Themes
-
09-26-2009, 10:48 AM #14WHT Addict
- Join Date
- May 2009
- Posts
- 116
site is working ok, without csf (/etc/init.d/csf stop), but the main problem, is that I am the only one who has access everywhere, and a friend no. not even hidemyass doesn't load site with csf enabled.
-
09-26-2009, 11:33 AM #15WHT Addict
- Join Date
- May 2009
- Posts
- 116
the best this is that on a webhosting forum, with a lot of professional no one knows how to fix that error. really professional web hosters.
-
09-26-2009, 11:45 AM #16Web Hosting Master
- Join Date
- Oct 2006
- Location
- /usr/src/linux/
- Posts
- 700
Start CSF and lookup your site at http://intodns.com/ report back any errors.
█ VPSnoc.com offers high quality Xen® OpenVZ & Windows® Virtual Private Servers at affordable prices.
█ 99.95% Uptime | 24/7/365 Support | Unmetered bandwidth.
█ Follow us: twitter.com/VPSnoc
-
09-26-2009, 11:52 AM #17WHT Addict
- Join Date
- May 2009
- Posts
- 116
Missing nameservers reported by parent
Missing nameservers reported by your nameservers
and a few warnings
-
09-26-2009, 12:17 PM #18Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 2,253
-
09-26-2009, 12:22 PM #19WHT Addict
- Join Date
- May 2009
- Posts
- 116
Different subnets WARNING: Not all of your nameservers are in different subnets
Different autonomous systems WARNING: Single point of failure
SOA MNAME entry WARNING: SOA MNAME (ns1.myserver.com.myserver.com) is not listed as a primary nameserver at your parent nameserver!
Similar Threads
-
DirectAdmin NS Problems
By b3nz in forum Hosting Software and Control PanelsReplies: 3Last Post: 03-20-2008, 07:01 PM -
directadmin problems..
By hitboy in forum Hosting Software and Control PanelsReplies: 2Last Post: 01-04-2007, 04:19 PM -
Problems after update DirectAdmin
By trebbor in forum Hosting Security and TechnologyReplies: 2Last Post: 10-05-2005, 04:53 PM -
DirectAdmin Apache/gblic problems
By dollar in forum Hosting Security and TechnologyReplies: 4Last Post: 05-20-2005, 01:30 AM -
FrontPage Extension problems in DirectAdmin
By roccol in forum Hosting Security and TechnologyReplies: 0Last Post: 08-26-2004, 08:45 PM