#1  
Old 9th August 2006, 16:53
mimic mimic is offline
Junior Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default FTP not working

I have setup ISPConfig on Fedora 5 x64. Everything is working great, and FTP is kinda working but not really.

WebFTP works fine. I can login and view files, etc. However when I try to use and FTP client like CuteFTP to connect, I get an error saying the server did not understand the command.

Code:
STATUS:>  	Getting listing ""...
STATUS:>  	Resolving host name map-depot.com...
STATUS:>  	Host name map-depot.com resolved: ip = 24.86.27.200.
STATUS:>  	Connecting to FTP server map-depot.com:21 (ip = 24.86.27.200)...
STATUS:>  	Socket connected. Waiting for welcome message...
		220 FTP Server ready.
STATUS:>  	Connected. Authenticating...
COMMAND:>	USER web1_admin
		331 Password required for web1_admin.
COMMAND:>	PASS *****
		230 User web1_admin logged in.
STATUS:>  	Login successful.
COMMAND:>	PWD
		257 "/" is current directory.
STATUS:>  	Home directory: /
COMMAND:>	FEAT
		211-Features:
		 MDTM
		 REST STREAM
		 SIZE
		211 End
STATUS:>  	This site supports features.
STATUS:>  	This site supports SIZE.
STATUS:>  	This site can resume broken downloads.
COMMAND:>	REST 0
		350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
COMMAND:>	PASV
		227 Entering Passive Mode (192,168,1,4,204,112).
COMMAND:>	LIST
STATUS:>  	Substituting received PASV address 192.168.1.4 to server address 24.86.27.200.
STATUS:>  	Connecting FTP data socket 24.86.27.200:52336...
ERROR:>   	The connection failed due to an error or timeout.
		1) Verify that the destination IP address is correct.
		2) Increase the connection timeout threshold under Global Settings | Connection.
		3) Switch to the opposite data connection type (PASV or PORT) under Site Settings | Type tab.
		4) Verify that the problem is not local by trying to connect to an alternate server.
		5) If a server name was used, verify it resolves to the correct address.
		6) If using a local server table for server name resolution, check to see that it doesn't resolve to an obsolete address.
		7) Try pinging the address.
		8) If you are using a router, verify the router is up and running (check by pinging it and then ping an address outside of the router).
		9) Do a traceroute to the destination to verify all routers along the connection path are operational.
		10) Verify that your subnet mask is setup properly.
		11) Verify that your local software or hardware firewall is not blocking outbound connections originating from CuteFTP.
		12) Verify that your anti-virus software is not at fault (try disabling it).
ERROR:>   	PASV failed, trying PORT.
STATUS:>  	Waiting 0 seconds...
STATUS:>  	Getting listing "/"...
STATUS:>  	Resolving host name map-depot.com...
STATUS:>  	Host name map-depot.com resolved: ip = 24.86.27.200.
STATUS:>  	Connecting to FTP server map-depot.com:21 (ip = 24.86.27.200)...
STATUS:>  	Socket connected. Waiting for welcome message...
		220 FTP Server ready.
STATUS:>  	Connected. Authenticating...
COMMAND:>	USER web1_admin
		331 Password required for web1_admin.
COMMAND:>	PASS *****
		230 User web1_admin logged in.
STATUS:>  	Login successful.
COMMAND:>	PWD
		257 "/" is current directory.
STATUS:>  	Home directory: /
STATUS:>  	This site supports features.
STATUS:>  	This site supports SIZE.
STATUS:>  	This site can resume broken downloads.
COMMAND:>	REST 0
		350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
COMMAND:>	PORT 192,168,1,2,9,224
		500 Illegal PORT command
ERROR:>   	Syntax error, command unrecognized.
ERROR:>   	Failed to establish data socket.
Any help would be appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 10th August 2006, 17:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Did you try both active and passive transfers in CuteFTP?
Is SELinux disabled on your Fedora system?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th August 2006, 13:10
mimic mimic is offline
Junior Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found the problem. SELinux was off, as was the Fedora firewall, but the ISPConfig firewall was blocking the PASV ports. I opened up ports 60000 to 60005 and it worked.
Reply With Quote
  #4  
Old 20th August 2006, 11:53
main3 main3 is offline
Member
 
Join Date: Aug 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default FTP working with IP but not with Domain

Would this be the same trouble and would it be TCP or UDP that I would need to open.
Reply With Quote
  #5  
Old 21st August 2006, 16:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

It'S TCP. But check the DNS records for your domain first with dig and make sure they point to the correct IP address.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
1 email working, but others arent? lipp9000 Installation/Configuration 8 22nd July 2006 16:35
PHP & MySQL working, but AREN'T WORKING???? lipp9000 Installation/Configuration 4 21st July 2006 17:01
Debian 3.1 install - Autoresponder not working jockstrap Installation/Configuration 4 15th July 2006 12:58
Mail from web forms not working. Brenton General 5 1st April 2006 14:02
Internet/lan-only lan working Nejko Installation/Configuration 39 19th January 2006 15:32


All times are GMT +2. The time now is 06:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.