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 27th July 2013, 14:12
martodox martodox is offline
Junior Member
 
Join Date: Apr 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default can't connect to ftp "cannot display the directory content"

Hi.
Some time ago I've set up a server based on this tutorial:
http://www.ispconfig.org/news/tutori...x-ispconfig-3/

Everything was working fine just until recently that I realized ftp accounts don't work, old and new ones both.

Any ideas on why it could stop working out of sudden?

regards
Bartosz Jakubowiak
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2013, 22:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

Any errors in the syslog file?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th August 2013, 22:52
martodox martodox is offline
Junior Member
 
Join Date: Apr 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Where do I find pure-ftp error log?

/var/log/pure-ftp has only transfer logs.
Reply With Quote
  #4  
Old 7th August 2013, 10:40
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts
Default

pure-ftpd should put errors into /var/log/syslog
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #5  
Old 7th August 2013, 14:42
martodox martodox is offline
Junior Member
 
Join Date: Apr 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Aug 7 11:33:56 even-art pure-ftpd: (?@89.79.178.187) [INFO] New connection from 89.79.178.187
Aug 7 11:34:01 even-art /USR/SBIN/CRON[8015]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Aug 7 11:34:06 even-art pure-ftpd: (?@89.79.178.187) [INFO] ftp1_kp is now logged in
and log from filezilla

Quote:
Status: Resolving address of host
Status: Connecting to IP:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 2 of 50 allowed.
Response: 220-Local time is now 11:37. 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 ftp1_kp
Response: 331 User ftp1_kp OK. Password required
Command: PASS ********
Response: 230-User ftp1_kp has group access to: client1 sshusers
Response: 230 OK. Current restricted directory is /
Command: OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
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: PASV
Response: 227 Entering Passive Mode (xxx)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
Reply With Quote
  #6  
Old 7th August 2013, 16:53
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts
Default

Have you tried using a different ftp client?
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #7  
Old 7th August 2013, 22:22
martodox martodox is offline
Junior Member
 
Join Date: Apr 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK. I got it working (almost).
As you suggested I had tried a different ftp client (total cmd) and it connecter right away.
hmmm... why can't filezilla do that anymore. So I tracked down the cause - passive and active mode. My whole life always connected using passive mode.
So how do I enable back the passive mode in pure-ftpd?
Reply With Quote
  #8  
Old 8th August 2013, 10:08
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts
 
Default

Maybe this is what you're looking for:
http://www.howtoforge.com/forums/showthread.php?t=52226
__________________
Marius Cramer

pixcept KG
Reply With Quote
Reply

Bookmarks

Tags
pure-ftp

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
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 10:53
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 11:37
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 11:46
site - databases trueshanti Installation/Configuration 20 26th May 2006 02:28
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 17:37


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


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