www.ProFTPD.de
13. März 2007, 20:52:14 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: FTP-Verbindung scheitert  (Gelesen 629 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
LinuxFan
ProFTPD
*
Offline Offline

Beiträge: 4

113783750
Profil anzeigen
« am: 22. August 2005, 16:46:07 »

Guten Tag liebe Community,

ich hoffe, ihr könnt mir bei meinem Problem weiterhelfen:

Seit dem letzten Update (Debian GNU/Linux), scheitert der Aufbau einer FTP-Verbindung häufig beim ersten Versuch bzw. bei anderen Verbindungsversuchen auch.
Code:
[16:28]root@server2:~$ ftp ftp -d ftp://vts_backup:passwort@viathinksoft.de/mysql.zip -o /daten/backup/web/mysql.bak.zip_
isipv6addr: got 0 for ftp://vts_backup:passwort@viathinksoft.de/mysql.zip
parse_url: user `vts_backup' pass `passwort' host viathinksoft.de port ftp(21) path `mysql.zip'
fetch_ftp: user `vts_backup' pass `passwort' host viathinksoft.de port ftp path `mysql.zip' dir `<null>' file `mysql.zip'
Connected to viathinksoft.de.
220 ProFTPD 1.2.10 Server (ViaThinkSoft FTP) [84.16.224.146]
ftp_login: user `vts_backup' pass `passwort' host `viathinksoft.de'
---> USER vts_backup
331 Password required for vts_backup.
---> PASS XXXX
421 Service not available, remote server has closed connection.
ftp: Login failed.
ftp: Can't connect or login to host `viathinksoft.de'


2ter Versuch (direkt danach):
Code:
[16:29]root@server2:~$ ftp ftp -d ftp://vts_backup:passwort@viathinksoft.de/mysql.zip -o /daten/backup/web/mysql.bak.zip_
isipv6addr: got 0 for ftp://vts_backup:passwort@viathinksoft.de/mysql.zip
parse_url: user `vts_backup' pass `passwort' host viathinksoft.de port ftp(21) path `mysql.zip'
fetch_ftp: user `vts_backup' pass `passwort' host viathinksoft.de port ftp path `mysql.zip' dir `<null>' file `mysql.zip'
Connected to viathinksoft.de.
220 ProFTPD 1.2.10 Server (ViaThinkSoft FTP) [84.16.224.146]
ftp_login: user `vts_backup' pass `passwort' host `viathinksoft.de'
---> USER vts_backup
331 Password required for vts_backup.
---> PASS XXXX
230 User vts_backup logged in.
---> SYST
215 UNIX Type: L8
Remote system type is UNIX.
Using binary mode to transfer files.
---> FEAT
211-Features:
211-MDTM
211-REST STREAM
211-SIZE
211 End
features[0] = 1
features[1] = 0
features[2] = 0
features[3] = 0
features[4] = 0
features[5] = 0
---> PWD
257 "/" is current directory.
got remotepwd as `/'
---> TYPE I
200 Type set to I
local: /daten/backup/web/mysql.bak.zip_ remote: mysql.zip
---> EPSV
229 Entering Extended Passive Mode (|||47419|)
---> RETR mysql.zip
150 Opening BINARY mode data connection for mysql.zip (2988638 bytes)

receive aborted. Waiting for remote to finish abort.
^C
remote abort aborted; closing connection.
489600 bytes received in 00:11 (40.45 KB/s)


Beim 2ten Versuch würde der Datentransfer natürlich weiter laufen, ich habe ihn nur abgebrochen.

Ein Debug-Lauf von ProFTPD gab folgendes Ergebnis:

1ste, gescheiterte Verbindung:

Code:
ad80.unix-server.com (84-16-224-146.internetserviceteam.com[84.16.224.146]) - ROOT PRIVS at ../../../src/main.c:1011
... - SETUP PRIVS at ../../../src/main.c:1016
... - FTP session requested from unknown class
... - performing module session initializations
... - mod_delay/0.4: opening DelayTable '/var/run/proftpd/proftpd.delay'
... - ROOT PRIVS at ../../../modules/mod_delay.c:774
... - FS: using system open()
... - RELINQUISH PRIVS at ../../../modules/mod_delay.c:776
... - ROOT PRIVS at ../../../modules/mod_auth.c:132
... - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
... - RELINQUISH PRIVS at ../../../modules/mod_auth.c:134
... - performing ident lookup
... - ident connection failed: Connection refused
... - ident lookup returned 'UNKNOWN'
... - connected - local  : 84.16.224.146:21
... - connected - remote : 84.16.224.146:45191
... - FTP session opened.
ad80.unix-server.com - FS: using system lstat()
... - dispatching PRE_CMD command 'USER vts_backup' to mod_rewrite
... - dispatching PRE_CMD command 'USER vts_backup' to mod_tls
... - dispatching PRE_CMD command 'USER vts_backup' to mod_core
... - dispatching PRE_CMD command 'USER vts_backup' to mod_core
... - dispatching PRE_CMD command 'USER vts_backup' to mod_delay
... - dispatching PRE_CMD command 'USER vts_backup' to mod_auth
... - dispatching auth request "endpwent" to module mod_radius
... - dispatching auth request "endpwent" to module mod_auth_file
... - dispatching auth request "endpwent" to module mod_auth_unix
... - dispatching auth request "endgrent" to module mod_radius
... - dispatching auth request "endgrent" to module mod_auth_file
... - dispatching auth request "endgrent" to module mod_auth_unix
... - dispatching CMD command 'USER vts_backup' to mod_ratio
... - dispatching CMD command 'USER vts_backup' to mod_auth
... - dispatching auth request "getgroups" to module mod_radius
... - dispatching auth request "getgroups" to module mod_auth_file
... - dispatching auth request "getgroups" to module mod_auth_unix
... - dispatching POST_CMD command 'USER vts_backup' to mod_delay
... - mod_delay/0.4: selecting median interval from 256 values
... - mod_delay/0.4: delaying for 26 usecs
... - dispatching LOG_CMD command 'USER vts_backup' to mod_log
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
... - dispatching auth request "endpwent" to module mod_radius
... - dispatching auth request "endpwent" to module mod_auth_file
... - dispatching auth request "endpwent" to module mod_auth_unix
... - dispatching auth request "endgrent" to module mod_radius
... - dispatching auth request "endgrent" to module mod_auth_file
... - dispatching auth request "endgrent" to module mod_auth_unix
... - dispatching CMD command 'PASS (hidden)' to mod_auth
... - dispatching auth request "getgroups" to module mod_radius
... - dispatching auth request "getgroups" to module mod_auth_file
... - dispatching auth request "getgroups" to module mod_auth_unix
... - dispatching auth request "getpwnam" to module mod_radius
... - dispatching auth request "getpwnam" to module mod_auth_file
... - dispatching auth request "getpwnam" to module mod_auth_unix
... - dispatching auth request "gid_name" to module mod_radius
... - dispatching auth request "gid_name" to module mod_auth_file
... - dispatching auth request "gid_name" to module mod_auth_unix
... - dispatching auth request "auth" to module mod_radius
... - dispatching auth request "auth" to module mod_tls
... - dispatching auth request "auth" to module mod_auth_pam
... - ROOT PRIVS at ../../../modules/mod_auth_pam.c:258
... - ProFTPD terminating (signal 11)
... - FTP session closed.
ad80.unix-server.com - FS: using system lstat()


2ter, erfolgreicher Versuch:

Code:
ad80.unix-server.com (84-16-224-146.internetserviceteam.com[84.16.224.146]) - ROOT PRIVS at ../../../src/main.c:1011
... - SETUP PRIVS at ../../../src/main.c:1016
... - FTP session requested from unknown class
... - performing module session initializations
... - mod_delay/0.4: opening DelayTable '/var/run/proftpd/proftpd.delay'
... - ROOT PRIVS at ../../../modules/mod_delay.c:774
... - FS: using system open()
... - RELINQUISH PRIVS at ../../../modules/mod_delay.c:776
... - ROOT PRIVS at ../../../modules/mod_auth.c:132
... - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
... - RELINQUISH PRIVS at ../../../modules/mod_auth.c:134
... - performing ident lookup
... - ident connection failed: Connection refused
... - ident lookup returned 'UNKNOWN'
... - connected - local  : 84.16.224.146:21
... - connected - remote : 84.16.224.146:45159
... - FTP session opened.
... - dispatching PRE_CMD command 'USER vts_backup' to mod_rewrite
... - dispatching PRE_CMD command 'USER vts_backup' to mod_tls
... - dispatching PRE_CMD command 'USER vts_backup' to mod_core
... - dispatching PRE_CMD command 'USER vts_backup' to mod_core
... - dispatching PRE_CMD command 'USER vts_backup' to mod_delay
... - dispatching PRE_CMD command 'USER vts_backup' to mod_auth
... - dispatching auth request "endpwent" to module mod_radius
... - dispatching auth request "endpwent" to module mod_auth_file
... - dispatching auth request "endpwent" to module mod_auth_unix
... - dispatching auth request "endgrent" to module mod_radius
... - dispatching auth request "endgrent" to module mod_auth_file
... - dispatching auth request "endgrent" to module mod_auth_unix
... - dispatching CMD command 'USER vts_backup' to mod_ratio
... - dispatching CMD command 'USER vts_backup' to mod_auth
... - dispatching auth request "getgroups" to module mod_radius
... - dispatching auth request "getgroups" to module mod_auth_file
... - dispatching auth request "getgroups" to module mod_auth_unix
... - dispatching POST_CMD command 'USER vts_backup' to mod_delay
... - mod_delay/0.4: selecting median interval from 256 values
... - dispatching LOG_CMD command 'USER vts_backup' to mod_log
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
... - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
... - dispatching auth request "endpwent" to module mod_radius
... - dispatching auth request "endpwent" to module mod_auth_file
... - dispatching auth request "endpwent" to module mod_auth_unix
... - dispatching auth request "endgrent" to module mod_radius
... - dispatching auth request "endgrent" to module mod_auth_file
... - dispatching auth request "endgrent" to module mod_auth_unix
... - dispatching CMD command 'PASS (hidden)' to mod_auth
... - dispatching auth request "getgroups" to module mod_radius
... - dispatching auth request "getgroups" to module mod_auth_file
... - dispatching auth request "getgroups" to module mod_auth_unix
... - dispatching auth request "getpwnam" to module mod_radius
... - dispatching auth request "getpwnam" to module mod_auth_file
... - dispatching auth request "getpwnam" to module mod_auth_unix
... - dispatching auth request "gid_name" to module mod_radius
... - dispatching auth request "gid_name" to module mod_auth_file
... - dispatching auth request "gid_name" to module mod_auth_unix
... - dispatching auth request "auth" to module mod_radius
... - dispatching auth request "auth" to module mod_tls
... - dispatching auth request "auth" to module mod_auth_pam
... - ROOT PRIVS at ../../../modules/mod_auth_pam.c:258
... - RELINQUISH PRIVS at ../../../modules/mod_auth_pam.c:416
... - dispatching auth request "setgrent" to module mod_radius
... - dispatching auth request "setgrent" to module mod_auth_file
... - dispatching auth request "setgrent" to module mod_auth_unix
... - ROOT PRIVS at ../../../modules/mod_auth.c:561
... - RELINQUISH PRIVS at ../../../modules/mod_auth.c:563
... - USER PRIVS 1009 at ../../../modules/mod_auth.c:1122
... - RELINQUISH PRIVS at ../../../modules/mod_auth.c:1124
... -
... - Config for ViaThinkSoft FTP:
... - ~ftp/
... -  Limit
... -   DenyAll
... -  UserName
... -  GroupName
... -  UserAlias
... -  RequireValidShell
... -  MaxClients
... -  DisplayLogin
... -  DisplayFirstChdir
... -  ShowSymlinks
... -  AllowOverwrite
... -  ListOptions
... -  DenyFilter
... - /*
... -  Umask
... -  DirUmask
... -  AllowOverwrite
... -  ShowSymlinks
... -  RequireValidShell
... -  DisplayLogin
... -  DisplayFirstChdir
... -  ListOptions
... -  DenyFilter
... - DeferWelcome
... - DefaultServer
... - ShowSymlinks
... - AllowOverwrite
... - RequireValidShell
... - TimeoutNoTransfer
... - TimeoutStalled
... - TimeoutIdle
... - DefaultRoot
... - DisplayLogin
... - DisplayFirstChdir
... - ListOptions
... - DenyFilter
... - GroupID
... - GroupName
... - CURRENT-CLIENTS
... - USER
... - USER vts_backup: Login successful.
... - ROOT PRIVS at ../../../modules/mod_auth.c:1193
... - opening TransferLog '/var/log/xferlog'
... - RELINQUISH PRIVS at ../../../modules/mod_auth.c:1222
... - USER PRIVS 1009 at ../../../modules/mod_auth.c:710
... - dispatching auth request "getpwnam" to module mod_radius
... - dispatching auth request "getpwnam" to module mod_auth_file
... - dispatching auth request "getpwnam" to module mod_auth_unix
... - RELINQUISH PRIVS at ../../../modules/mod_auth.c:714
... - dispatching auth request "setpwent" to module mod_radius
... - dispatching auth request "setpwent" to module mod_auth_file
... - dispatching auth request "setpwent" to module mod_auth_unix
... - dispatching auth request "setgrent" to module mod_radius
... - dispatching auth request "setgrent" to module mod_auth_file
... - dispatching auth request "setgrent" to module mod_auth_unix
... - dispatching auth request "getpwent" to module mod_radius
... - dispatching auth request "getpwent" to module mod_auth_file
... - dispatching auth request "getpwent" to module mod_auth_unix
... - dispatching auth request "getgrent" to module mod_radius
... - dispatching auth request "getgrent" to module mod_auth_file
... - dispatching auth request "getgrent" to module mod_auth_unix
... - Preparing to chroot() the environment, path = '/daten/webserverordner/home/vts_backup'
... - ROOT PRIVS at ../../../modules/mod_auth.c:62
... - FS: using system chroot()
... - RELINQUISH PRIVS at ../../../modules/mod_auth.c:69
... - Environment successfully chroot()ed.
... - ROOT PRIVS at ../../../modules/mod_auth.c:1265
... - SETUP PRIVS at ../../../modules/mod_auth.c:1272
... - FS: using system chdir()
... - in dir_check_full(): path = '/', fullpath = '/daten/webserverordner/home/vts_backup/'.
... - FS: using system stat()
... - FS: using system stat()
... - FS: using system stat()
... - FS: using system stat()
... - FS: using system open()
... - dispatching POST_CMD command 'PASS (hidden)' to mod_cap
... - mod_cap/1.0: capabilities '= cap_net_bind_service+ep'
... - dispatching POST_CMD command 'PASS (hidden)' to mod_ifsession
... - dispatching POST_CMD command 'PASS (hidden)' to mod_readme
... - dispatching POST_CMD command 'PASS (hidden)' to mod_delay
... - mod_delay/0.4: selecting median interval from 256 values
... - dispatching POST_CMD command 'PASS (hidden)' to mod_radius
... - dispatching POST_CMD command 'PASS (hidden)' to mod_tls
... - dispatching POST_CMD command 'PASS (hidden)' to mod_ratio
... - dispatching POST_CMD command 'PASS (hidden)' to mod_quotatab
... - dispatching POST_CMD command 'PASS (hidden)' to mod_log
... - dispatching POST_CMD command 'PASS (hidden)' to mod_ls
... - dispatching POST_CMD command 'PASS (hidden)' to mod_auth
... - ROOT PRIVS: ID switching disabled
... - dispatching LOG_CMD command 'PASS (hidden)' to mod_log
... - dispatching LOG_CMD command 'PASS (hidden)' to mod_ratio
... - dispatching PRE_CMD command 'QUIT' to mod_rewrite
... - dispatching PRE_CMD command 'QUIT' to mod_tls
... - dispatching PRE_CMD command 'QUIT' to mod_core
... - dispatching PRE_CMD command 'QUIT' to mod_core
... - dispatching PRE_CMD command 'QUIT' to mod_log
... - dispatching CMD command 'QUIT' to mod_core
... - ROOT PRIVS: ID switching disabled
... - ROOT PRIVS: ID switching disabled
... - dispatching auth request "endpwent" to module mod_radius
... - dispatching auth request "endpwent" to module mod_auth_file
... - dispatching auth request "endpwent" to module mod_auth_unix
... - dispatching auth request "endgrent" to module mod_radius
... - dispatching auth request "endgrent" to module mod_auth_file
... - dispatching auth request "endgrent" to module mod_auth_unix
... - FTP session closed.


Meine ProFTPD-Konfiguration (die bis vor Kurzem wunderbar lief):

Code:
ServerName                      "ViaThinkSoft FTP"
ServerType                      standalone
DeferWelcome                    off
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on
AllowOverwrite                  on
RequireValidShell               off
TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200
DefaultRoot                     ~
DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
ListOptions                     "-l"
DenyFilter                      \*.*/
Port                            21
MaxInstances                    30
Group                           ftpuser

<Directory /*>
  Umask                         022  022
  AllowOverwrite                on
</Directory>

<Anonymous ~ftp>
  User                          ftp
  Group                         ftpuser
  UserAlias                     anonymous ftp
  RequireValidShell             off
  MaxClients                    20
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  <Directory *>
    <Limit WRITE>
      DenyAll
    </Limit>
  </Directory>
</Anonymous>


Ich hoffe, dass ich hier Hilfe bekomme.

Gruß
Victor
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.065 Sekunden mit 18 Zugriffen.