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 13th January 2012, 23:26
linus3xx linus3xx is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
Default Pure-FTP Login Problem

I'm at my wit's end - I'm hoping someone can help me out here.

I've been running ISPConfig3 for over a year. Today my FTP access has decided to just quit working. I'm seeing the same thing over and over in my FTP Client (FileZilla) - MLSD timeouts:

Code:
Status:	Connection established, waiting for welcome message...
Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:	220-You are user number 1 of 50 allowed.
Response:	220-Local time is now 16:47. Server port: 21.
Response:	220-This is a private system - No anonymous login
Response:	220-IPv6 connections are also welcome on this server.
Response:	220 You will be disconnected after 15 minutes of inactivity.
Command:	USER XXXXX_base
Response:	331 User XXXXX_base OK. Password required
Command:	PASS ************
Response:	230-User XXXXX_base has group access to:  client1  sshusers
Response:	230 OK. Current restricted directory is /
Command:	SYST
Response:	215 UNIX Type: L8
Command:	FEAT
Response:	211-Extensions supported:
Response:	 EPRT
Response:	 IDLE
Response:	 MDTM
Response:	 SIZE
Response:	 REST STREAM
Response:	 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response:	 MLSD
Response:	 ESTP
Response:	 PASV
Response:	 EPSV
Response:	 SPSV
Response:	 ESTA
Response:	 AUTH TLS
Response:	 PBSZ
Response:	 PROT
Response:	211 End.
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is your current location
Command:	TYPE I
Response:	200 TYPE is now 8-bit binary
Command:	PORT 72,58,234,181,172,199
Response:	200 PORT command successful
Command:	MLSD
Error:	Connection timed out
Error:	Failed to retrieve directory listing
I've tried everything I can think of - Passive & Active mode, opening a different set of ports on the router, upgrading FileZilla, router firmware upgrade, restarting Pure-Ftpd, changing the Passive ports in Pure-Ftpd (including opening the firewall for said ports), using a non-secure connection, etc and so on.

I've been at this for 5 hours. No matter what I try, I can't get a connection. It always times out at the MLSD command.

I have to get this site updated today and I'm completely stumped. Does anyone have any ideas? Even a non-FTP solution at this point.
Reply With Quote
The Following User Says Thank You to linus3xx For This Useful Post:
aldo (23rd February 2012)
Sponsored Links
  #2  
Old 14th January 2012, 05:25
linus3xx linus3xx is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
Default Resolved

OK - finally got this resolved. Figured I'd give an update in case anyone else also runs into this brick wall.

First, I gave up on FTP and just hand-edited the PHP and HTML files through Putty using VI. It was fairly brutal but it worked and it saved me from losing a client.

Now that the crisis was over, I started downloading various FTP clients and just trying them one after the other. I finally had success with WinSCP. Don't ask me why that one worked when all the others didn't - have no idea. But I could finally connect, get a directory listing, transfer files back and forth, etc.

Anyway, miserable 12 hours but glad it's finally over.
Reply With Quote
The Following User Says Thank You to linus3xx For This Useful Post:
aldo (23rd February 2012)
  #3  
Old 19th January 2012, 21:46
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 4 Times in 4 Posts
Default

It's also easy to edit the files using winscp. Just right-click and select edit.
Reply With Quote
  #4  
Old 20th January 2012, 18:02
linus3xx linus3xx is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by PermaNoob View Post
It's also easy to edit the files using winscp. Just right-click and select edit.
Yeah, I'm really liking WinSCP. I still have no idea why FileZilla just decided to quit working like that after a year. Maybe a recent update broke something.

What I've found with WinSCP is that I can now connect in Passive mode whereas before, with FileZilla, I could only get to the box in Active mode.

I've let my users know that they need to switch to WinSCP. So far, no complaints at all.

Thanks for the tip on editing - I'll give that a try!
Reply With Quote
  #5  
Old 21st January 2012, 05:01
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by linus3xx View Post
Yeah, I'm really liking WinSCP. I still have no idea why FileZilla just decided to quit working like that after a year. Maybe a recent update broke something.

What I've found with WinSCP is that I can now connect in Passive mode whereas before, with FileZilla, I could only get to the box in Active mode.

I've let my users know that they need to switch to WinSCP. So far, no complaints at all.

Thanks for the tip on editing - I'll give that a try!
also convenient for reading log files, etc.
Reply With Quote
  #6  
Old 23rd February 2012, 15:56
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 89
Thanks: 32
Thanked 3 Times in 3 Posts
Default

Quote:
Code:
...
...
Response:	200 PORT command successful
Command:	MLSD
Error:	Connection timed out
Error:	Failed to retrieve directory listing
I have the same problem.

I was looking for a reason, without success.

Luckily I found your post.

Windows 7 / Filezilla <--> PureFTP / Debian 6 + ISPConfig3
Reply With Quote
  #7  
Old 23rd February 2012, 15:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

Most likely you use a firewall where the passive ftp ports are closed. Use actibe ftp mode or open the passive ports in the firewall.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 23rd February 2012, 16:45
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 89
Thanks: 32
Thanked 3 Times in 3 Posts
 
Default

Thank you Till.

Standard FTP works as expected in active and passive mode.

On the server firewall all FTP ports are open (20,21,989,990)

Quote:
Comando: OPTS UTF8 ON
Risposta: 200 OK, UTF-8 enabled
Stato: Connesso
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is your current location
Comando: TYPE I
Risposta: 200 TYPE is now 8-bit binary
Comando: PASV
Risposta: 227 Entering Passive Mode (***,***,***,***,19,30)
Comando: MLSD
Risposta: 150 Accepted data connection
Risposta: 226-Options: -a -l
Risposta: 226 30 matches total
Stato: Contenuto cartella letto con successo
Quote:
Risposta: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Risposta: 220-You are user number 1 of 50 allowed.
Risposta: 220-Local time is now 16:12. Server port: 21.
Risposta: 220-This is a private system - No anonymous login
Risposta: 220-IPv6 connections are also welcome on this server.
Risposta: 220 You will be disconnected after 15 minutes of inactivity.
Comando: USER hse_ftp2
Risposta: 331 User hse_ftp2 OK. Password required
Comando: PASS ***********
Risposta: 230-User hse_ftp2 has group access to: client1 sshusers
Risposta: 230-OK. Current restricted directory is /
Risposta: 230 0 Kbytes used (0%) - authorized: 10240000 Kb
Comando: OPTS UTF8 ON
Risposta: 200 OK, UTF-8 enabled
Stato: Connesso
With FTPES atctive mode:
Quote:
Risposta: 200 TYPE is now 8-bit binary
Comando: PORT 192,168,22,11,195,93
Risposta: 500 I won't open a connection to 192.168.22.11 (only to xxx.xxx.xxx.xxx)
Comando: PASV
Risposta: 227 Entering Passive Mode (***,***,***,***,82,194)
Comando: MLSD
Errore: Tempo scaduto per la connessione
Errore: Non č stato possibile leggere il contenuto della cartella
Whit PTFES passive mode:
Quote:
Stato: Connesso
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is your current location
Comando: TYPE I
Risposta: 200 TYPE is now 8-bit binary
Comando: PASV
Risposta: 227 Entering Passive Mode (***,***,***,***,82,134)
Comando: MLSD
Errore: Tempo scaduto per la connessione
Errore: Non č stato possibile leggere il contenuto della cartella
On MLSD command stops.
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
F11 courier-imap fails. Nachogrande General 6 1st November 2010 17:55
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
Postfix can't received email from exterior astra2000 Server Operation 5 17th October 2009 23:26
Centos 5.2 FTP Problem colk Technical 4 20th August 2008 18:43
Perfect Setup Ubuntu Feisty Fawn 7.04 - Problem to login with IMAP and POP3 (failed) gbo HOWTO-Related Questions 3 9th April 2008 23:54


All times are GMT +2. The time now is 01:02.


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