Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th January 2009, 19:00
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 108
Thanks: 18
Thanked 1 Time in 1 Post
Default ftp problem next move to other server

Hi:
users cannot view directory next move from Server A to Server B

OS: OpenSuse Linux 11.0
FTP daemon: ProFTPD

Client return:

Quote:
Status: Resolving address of www.xxx.xx
Status: Connecting to xxx.xx.xxx.xx:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.2rc3 Server (ProFTPD Default Installation) [xxx.xx.xxx.xx]
Command: USER
Response: 331 Password required for
Command: PASS
Response: 230 User web19_admin logged in
Status: Connected
Status: Retrieving directory listing...
Command: CWD /web
Response: 250 CWD command successful
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (xxx,xx,xxx,xx,9,50).
Command: LIST
Error: Connection timed out
Error: Failed to retrieve directory listing

Who's wrong?

Regards
David Lagos S.
Coquimbo-Chile

Last edited by metaldrummer; 13th January 2009 at 19:30. Reason: new data
Reply With Quote
Sponsored Links
  #2  
Old 14th January 2009, 12:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Please your logfiles for errors.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th January 2009, 15:04
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 108
Thanks: 18
Thanked 1 Time in 1 Post
Default

from /var/log/messages:

Quote:
Jan 14 09:40:37 ns1 proftpd[20963]: ns1.wificafe.cl (190-82-221-84.adsl.tie.cl[190.82.221.84]) - FTP session opened.
Jan 14 12:40:37 ns1 proftpd[20963]: ns1.wificafe.cl (190-82-221-84.adsl.tie.cl[190.82.221.84]) - Preparing to chroot to directory '/srv/www/web19'
Jan 14 12:40:37 ns1 proftpd[20963]: ns1.wificafe.cl (190-82-221-84.adsl.tie.cl[190.82.221.84]) - USER web19_admin: Login successful.
Jan 14 12:41:03 ns1 proftpd[20608]: ns1.wificafe.cl (190-82-211-223.adsl.tie.cl[190.82.211.223]) - Client session idle timeout, disconnected
Jan 14 12:41:03 ns1 proftpd[20608]: ns1.wificafe.cl (190-82-211-223.adsl.tie.cl[190.82.211.223]) - FTP session closed.
it is strange that the session starts at 9:40 and the other showing the hours of 12:40

annex:

/etc/proftpd.conf
Quote:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21

# Don't use IPv6 support by default.
UseIPv6 off

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30

# Set the user and group under which the server will run.
User nobody
Group nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."


# Normally, we want files to be overwriteable.
AllowOverwrite on

# Bar use of SITE CHMOD by default
#<Limit SITE_CHMOD>
# DenyAll
#</Limit>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
Include /etc/proftpd_ispconfig.conf
proftpd_ispconfig.conf
Quote:
DefaultAddress 127.0.0.1
<VirtualHost 200.27.146.46>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
Regards
David
Reply With Quote
  #4  
Old 15th January 2009, 14:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you try both active and passive transfers in your FTP client?
__________________
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
  #5  
Old 16th January 2009, 16:52
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 108
Thanks: 18
Thanked 1 Time in 1 Post
 
Default

apparently it was my FTP client, since I changed to another client and let me see the directory and tried several different accounts without problems.
the problem is with the client filezilla.

Regards
David Lagos S.
Coquimbo - Chile
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
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 19:20
What can be wrong martin_rudowicz Installation/Configuration 9 11th May 2008 20:42
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 17:11
Moving to new server - lessons learned wpwood3 Tips/Tricks/Mods 0 5th November 2007 06:12
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 23:53


All times are GMT +2. The time now is 20:39.


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