Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th January 2010, 00:48
billcouper81 billcouper81 is offline
Member
 
Join Date: Dec 2009
Posts: 30
Thanks: 3
Thanked 5 Times in 4 Posts
Default FTP Issues on ISPConfig3

Hi

Firstly, I'd like to say that I love ISPConfig !!!

It's a fantastic piece of kit and I think you are doing a marvelous job



I have an Ubuntu server which I setup using the "Perfect Server Ubuntu 9.04 ISPConfig 3" tutorial a while ago... I have been running it for a while now and everything is peachy... I have many websites and email domains configured, everything is working ok.. or at least, I thought it was...

I have been noticing lately that I get many many errors when connected via FTP.
It will connect and display the DIR contents, but then when I try to transfer files or change directories, it reconnects to the server and this doesn't work.

I have tried both passive and active transfer modes and I have tried it from the local LAN and from the outside world.


In FileZilla, this is a sample of the error messages:

Command: PWD
Response: 257 "/web" is your current location
Command: PORT 192,168,168,105,4,220
Response: 200 PORT command successful
Command: MLSD
Response: 150 Connecting to port 43684
Response: 226-ASCII
Response: 226-Options: -l
Response: 226 5 matches total
Status: Directory listing successful
Status: Resolving address of ategra.com.au
Status: Resolving address of ategra.com.au
Status: Connecting to 202.173.141.238:21...
Status: Connection established, waiting for welcome message...
Status: Connecting to 202.173.141.238:21...
Status: Connection established, waiting for welcome message...
Error: Could not connect to server
Status: Delaying connection for 5 seconds due to previously failed connection attempt...
Error: Could not connect to server
Status: Delaying connection for 5 seconds due to previously failed connection attempt...

In that example, I connected and it displayed the DIR contents, I then immediately tried to drag/drop the files to transfer and already it has to reconnect to the server

I am still only running ISPConfig 3.0.1.3 but I do run apt-get upgrade once a week.... will I see any difference if I upgrade my version of ISPConfig? Or is there something else going on here? I've tried searching google and here but haven't found anyone with the same problem



UPDATE: I just found the update instructions for ISPConfig3 and it's extremely easy to do lol... so I have updated to 3.0.1.6 and still having the same problem
Reply With Quote
Sponsored Links
  #2  
Old 29th January 2010, 10:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,373
Thanks: 833
Thanked 5,479 Times in 4,313 Posts
Default

Please check the syslog and messages log and post the error messages that you get there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th January 2010, 12:24
prisfeo prisfeo is offline
Member
 
Join Date: Jan 2010
Posts: 38
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by billcouper81 View Post
.
It will connect and display the DIR contents, but then when I try to transfer files or change directories, it reconnects to the server and this doesn't work.

I have tried both passive and ac
hi,
right that problem i had time ago..
not related to ispconfig but to a firewall "in between" client ad ftp server issue
that oblige client ftp sw to be set in passive mode
i have solved installing on the client an ftp client sw supporting
the setting of passive mode
note i said "client" ad not "server ftp sw" cause the problem
was not on the server(already set in passive mode cause the FW), but in the ftp sw of the client
(was a ftp command in windows server that is known to be affected by this limitation)
..
maybe it can be related to your problem

Last edited by prisfeo; 29th January 2010 at 12:29.
Reply With Quote
  #4  
Old 29th January 2010, 12:31
prisfeo prisfeo is offline
Member
 
Join Date: Jan 2010
Posts: 38
Thanks: 3
Thanked 2 Times in 2 Posts
Default

stupid question:
did you try to make a ftp test session
inside the ispconfig server or inside a machine in the same local net ?
so bypassing any fw issue/sw..etc..
Reply With Quote
  #5  
Old 30th January 2010, 08:31
billcouper81 billcouper81 is offline
Member
 
Join Date: Dec 2009
Posts: 30
Thanks: 3
Thanked 5 Times in 4 Posts
Default

Thankyou to everyone for your responses

@Till
In /var/log/messages I don't see any errors for pure-ftpd
In /var/log/syslog I am seeing the following error for pure-ftpd:
pure-ftpd: (?@?) [ERROR] Sorry, invalid address given

I am connecting to the server via it's hostname (eg. domain.com.au) which is a valid ISPConfig site on this server (no problems on the web access). What is strange is it seems to be random. Sometimes I can connect fine, sometimes it says invalid address.



@Prisfeo
I have tested both active and passive transfer modes on the client software. I have also tried limiting the amount of simultaneous connections that FileZilla opens to just 1.

I don't really know how to make a test ftp session inside the server or on the local network... as far as I was aware I can only connect via FTP if I specify a valid domain name for the server address... I can't just connect to it's local IP address (even though I am on the same LAN) or I get nothing but the "Invalid address" error.

I have tested with many different domain names that are sites on this ISPConfig server and it is always the same: randomly getting invalid address errors
Reply With Quote
  #6  
Old 30th January 2010, 08:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,373
Thanks: 833
Thanked 5,479 Times in 4,313 Posts
Default

You have a problem with the dns resolution of domain names. See ISPCOnfig FAQ for the solution:

http://www.faqforge.com/linux/contro...name-rsolving/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 3rd February 2010, 08:56
billcouper81 billcouper81 is offline
Member
 
Join Date: Dec 2009
Posts: 30
Thanks: 3
Thanked 5 Times in 4 Posts
 
Default

till, i want to have your babies


you are awesome!


obviously, your fix has worked and now i am excited

cheers!
Reply With Quote
Reply

Bookmarks

Tags
errors, ftp, reconnect

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
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 19:34
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
FTP Error joshabts Installation/Configuration 3 4th November 2006 16:19
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 13:22.


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