
13th January 2009, 18:00
|
|
Senior Member
|
|
Join Date: Dec 2006
Posts: 107
Thanks: 18
Thanked 1 Time in 1 Post
|
|
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 18:30.
Reason: new data
|

14th January 2009, 11:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Please your logfiles for errors.
|

14th January 2009, 14:04
|
|
Senior Member
|
|
Join Date: Dec 2006
Posts: 107
Thanks: 18
Thanked 1 Time in 1 Post
|
|
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
|

15th January 2009, 13:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Did you try both active and passive transfers in your FTP client?
|

16th January 2009, 15:52
|
|
Senior Member
|
|
Join Date: Dec 2006
Posts: 107
Thanks: 18
Thanked 1 Time in 1 Post
|
|
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
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 22:23.
|
|
Recent comments
22 hours 7 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 23 hours ago
2 days 47 min ago
2 days 4 hours ago