Titel: Login schlägt fehl Beitrag von: Wiesel am 11. April 2006, 20:49:09 Hallo,
ich hab mir einen vServer mit Debian zugelegt und möchte nun per FTP drauf zugreifen. Ich habe per SSH einen neuen User angelegt und Versuche mich mit diesem per FileZilla auf den Server einzuloggen. Doch der FTP-Client gibt immer folgendes raus: Code: Status: Verbinden mit ... Status: Verbunden mit ... Warten auf Willkommens-Meldung... Antwort: 220 ProFTPD 1.2.10 Server (Debian) [85.25.40.60] Befehl: USER xxx Antwort: 331 Password required for skubb. Befehl: PASS ******* Antwort: 530 Login incorrect. Fehler: Verbindung kann nicht hergestellt werden! Benutzername und Passwort sind so wie ich die unter Debian angelegt habe und ich kann mich auch per SSH anmelden. Bin da schon den ganze Tag dran, weiß aber keinen Rat mehr. Hat jemand ne Idee? Vielen Dank schon mal! proftpd.conf Code: # # /etc/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. # ServerName "Debian" ServerType standalone DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Uncomment this if you would use TLS module: #TLSEngine on # Uncomment this if you would use quota module: #Quotas on # Uncomment this if you would use ratio module: #Ratios on # Port 21 is the standard FTP port. Port 21 # 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) # Set the user and group that the server normally runs at. User nobody Group nogroup # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite on # Delay engine reduces impact of the so-called Timing Attack described in # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02 # It is on by default. #DelayEngine off # A basic anonymous configuration, no upload directories. # <Anonymous> # User ftp # Group nogroup # # We want clients to be able to login with "anonymous" as well as "ftp" # UserAlias anonymous ftp # # Cosmetic changes, all files belongs to ftp user # DirFakeUser on ftp # DirFakeGroup on ftp # # RequireValidShell off # # # 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 # DisplayFirstChdir .message # # # Limit WRITE everywhere in the anonymous chroot # <Directory> # <Limit> # DenyAll # </Limit> # </Directory> # # # Uncomment this if you're brave. # # <Directory> # # # Umask 022 is a good standard umask to prevent new files and dirs # # # (second parm) from being group and world writable. # # Umask 022 022 # # <Limit> # # DenyAll # # </Limit> # # <Limit> # # AllowAll # # </Limit> # # </Directory> # # </Anonymous> <Global> LoginPasswordPrompt on AllowOverwrite on RootLogin off AuthAliasOnly off </Global> proftpd -n -d5: Code: - mod_tls/2.0.7: using OpenSSL 0.9.7e 25 Oct 2004 - parsing '/etc/proftpd.conf' configuration - Compiling deny regex '\*.*/'. - Allocated deny regex at location 0x8118668. vs2040060.vserver.de - vs2040060.vserver.de - Config for Debian: vs2040060.vserver.de - DeferWelcome vs2040060.vserver.de - DefaultServer vs2040060.vserver.de - ShowSymlinks vs2040060.vserver.de - TimeoutNoTransfer vs2040060.vserver.de - TimeoutStalled vs2040060.vserver.de - TimeoutIdle vs2040060.vserver.de - DisplayLogin vs2040060.vserver.de - DisplayFirstChdir vs2040060.vserver.de - ListOptions vs2040060.vserver.de - DenyFilter vs2040060.vserver.de - UserID vs2040060.vserver.de - UserName vs2040060.vserver.de - GroupID vs2040060.vserver.de - GroupName vs2040060.vserver.de - Umask vs2040060.vserver.de - DirUmask vs2040060.vserver.de - AllowOverwrite vs2040060.vserver.de - LoginPasswordPrompt vs2040060.vserver.de - AllowOverwrite vs2040060.vserver.de - RootLogin vs2040060.vserver.de - AuthAliasOnly vs2040060.vserver.de - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard' vs2040060.vserver.de - Failed binding to 0.0.0.0, port 21: Address already in use vs2040060.vserver.de - Check the ServerType directive to ensure you are configured correctly.[/quote] proftpd -n -d9: [quote] - mod_tls/2.0.7: using OpenSSL 0.9.7e 25 Oct 2004 - parsing '/etc/proftpd.conf' configuration - FS: using system open() - FS: using system read() - dispatching directive 'ServerName' to module mod_core - dispatching directive 'ServerType' to module mod_core - dispatching directive 'DeferWelcome' to module mod_core - dispatching directive 'MultilineRFC2228' to module mod_core - dispatching directive 'DefaultServer' to module mod_core - dispatching directive 'ShowSymlinks' to module mod_ls - dispatching directive 'TimeoutNoTransfer' to module mod_xfer - dispatching directive 'TimeoutStalled' to module mod_xfer - dispatching directive 'TimeoutIdle' to module mod_core - dispatching directive 'DisplayLogin' to module mod_core - dispatching directive 'DisplayFirstChdir' to module mod_core - dispatching directive 'ListOptions' to module mod_ls - dispatching directive 'DenyFilter' to module mod_core - Compiling deny regex '\*.*/'. - Allocated deny regex at location 0x8118668. - dispatching directive 'Port' to module mod_core - FS: using system read() - dispatching directive 'User' to module mod_core - 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 directive 'Group' to module mod_core - dispatching auth request "getgrnam" to module mod_radius - dispatching auth request "getgrnam" to module mod_auth_file - dispatching auth request "getgrnam" to module mod_auth_unix - dispatching directive 'Umask' to module mod_core - dispatching directive 'AllowOverwrite' to module mod_xfer - FS: using system read() - dispatching directive '<Global>' to module mod_core - dispatching directive 'LoginPasswordPrompt' to module mod_auth - dispatching directive 'AllowOverwrite' to module mod_xfer - dispatching directive 'RootLogin' to module mod_auth - dispatching directive 'AuthAliasOnly' to module mod_auth - dispatching directive '</Global>' to module mod_core - FS: using system read() - FS: using system close() vs2040060.vserver.de - vs2040060.vserver.de - Config for Debian: vs2040060.vserver.de - DeferWelcome vs2040060.vserver.de - DefaultServer vs2040060.vserver.de - ShowSymlinks vs2040060.vserver.de - TimeoutNoTransfer vs2040060.vserver.de - TimeoutStalled vs2040060.vserver.de - TimeoutIdle vs2040060.vserver.de - DisplayLogin vs2040060.vserver.de - DisplayFirstChdir vs2040060.vserver.de - ListOptions vs2040060.vserver.de - DenyFilter vs2040060.vserver.de - UserID vs2040060.vserver.de - UserName vs2040060.vserver.de - GroupID vs2040060.vserver.de - GroupName vs2040060.vserver.de - Umask vs2040060.vserver.de - DirUmask vs2040060.vserver.de - AllowOverwrite vs2040060.vserver.de - LoginPasswordPrompt vs2040060.vserver.de - AllowOverwrite vs2040060.vserver.de - RootLogin vs2040060.vserver.de - AuthAliasOnly vs2040060.vserver.de - ROOT PRIVS at ../../../modules/mod_delay.c:295 vs2040060.vserver.de - FS: using system open() vs2040060.vserver.de - RELINQUISH PRIVS at ../../../modules/mod_delay.c:297 vs2040060.vserver.de - FS: using system fstat() vs2040060.vserver.de - FS: using system close() vs2040060.vserver.de - dispatching auth request "getgroups" to module mod_radius vs2040060.vserver.de - dispatching auth request "getgroups" to module mod_auth_file vs2040060.vserver.de - dispatching auth request "getgroups" to module mod_auth_unix vs2040060.vserver.de - SETUP PRIVS at ../../../src/main.c:2736 vs2040060.vserver.de - ROOT PRIVS at ../../../src/main.c:1970 vs2040060.vserver.de - RELINQUISH PRIVS at ../../../src/main.c:1977 vs2040060.vserver.de - ROOT PRIVS at ../../../src/main.c:2325 vs2040060.vserver.de - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard' vs2040060.vserver.de - opening scoreboard '/var/run/proftpd/proftpd.scoreboard' vs2040060.vserver.de - RELINQUISH PRIVS at ../../../src/main.c:2351 vs2040060.vserver.de - ROOT PRIVS at ../../../src/inet.c:322 vs2040060.vserver.de - RELINQUISH PRIVS at ../../../src/inet.c:362 vs2040060.vserver.de - Failed binding to 0.0.0.0, port 21: Address already in use vs2040060.vserver.de - Check the ServerType directive to ensure you are configured correctly. vs2040060.vserver.de - ROOT PRIVS at ../../../modules/mod_delay.c:683 vs2040060.vserver.de - FS: using system open() vs2040060.vserver.de - RELINQUISH PRIVS at ../../../modules/mod_delay.c:685 vs2040060.vserver.de - FS: using system write() vs2040060.vserver.de - FS: using system close() Titel: Login schlägt fehl Beitrag von: VolGas am 12. April 2006, 04:03:54 Hallo!
Hast Du die Fehlermeldung nicht gelesen? Zitat Failed binding to 0.0.0.0, port 21: Address already in use Die Meldung ist eindeutig: der Port ist schon durch einen anderen FTP-Server belegt. Näheres siehe FAQ, da ist das gut beschrieben. Zu Deiner proftpd.conf: Reaktiviere die Befehle: "DelayEngine off" und: "RequireValidShell off" Sonst ist mir nichts aufgefallen, alles Standard. mfg. VolGas Titel: Login schlägt fehl Beitrag von: Wiesel am 12. April 2006, 15:20:43 Ohh man, hab da wohl alles Falsch gemacht. Also nochmal proftpd -n -d5:
Code: - mod_tls/2.0.7: using OpenSSL 0.9.7e 25 Oct 2004 - parsing '/etc/proftpd.conf' configuration - Compiling deny regex '\*.*/'. - Allocated deny regex at location 0x8118690. vs2040060.vserver.de - vs2040060.vserver.de - Config for Debian: vs2040060.vserver.de - DeferWelcome vs2040060.vserver.de - DefaultServer vs2040060.vserver.de - ShowSymlinks vs2040060.vserver.de - TimeoutNoTransfer vs2040060.vserver.de - TimeoutStalled vs2040060.vserver.de - TimeoutIdle vs2040060.vserver.de - DisplayLogin vs2040060.vserver.de - DisplayFirstChdir vs2040060.vserver.de - ListOptions vs2040060.vserver.de - DenyFilter vs2040060.vserver.de - UserID vs2040060.vserver.de - UserName vs2040060.vserver.de - GroupID vs2040060.vserver.de - GroupName vs2040060.vserver.de - Umask vs2040060.vserver.de - DirUmask vs2040060.vserver.de - AllowOverwrite vs2040060.vserver.de - LoginPasswordPrompt vs2040060.vserver.de - AllowOverwrite vs2040060.vserver.de - RootLogin vs2040060.vserver.de - AuthAliasOnly vs2040060.vserver.de - ProFTPD 1.2.10 (stable) (built do mrt 22 18:28:32 CET 2001) standalone mode STARTUP vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - FTP session requested from unknown class vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - connected - local : 85.25.40.60:21 vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - connected - remote : 84.175.8.124:63635 vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - FTP session opened. vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'USER skubb' to mod_rewrite vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'USER skubb' to mod_tls vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'USER skubb' to mod_core vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'USER skubb' to mod_core vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'USER skubb' to mod_delay vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'USER skubb' to mod_auth vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching CMD command 'USER skubb' to mod_ratio vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching CMD command 'USER skubb' to mod_auth vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching POST_CMD command 'USER skubb' to mod_delay vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching LOG_CMD command 'USER skubb' to mod_log vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching CMD command 'PASS (hidden)' to mod_auth vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - USER skubb (Login failed): Invalid shell: '' vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth vs2040060.vserver.de (p54AF087C.dip0.t-ipconnect.de[84.175.8.124]) - FTP session closed. Kann damit jemand was anfangen? Für mich sind das spanische Dörfer. Titel: Login schlägt fehl Beitrag von: Wiesel am 12. April 2006, 15:27:57 Ach vergiss es, geht jetzt. :)
Zitat Zu Deiner proftpd.conf: Reaktiviere die Befehle: "DelayEngine off" und: "RequireValidShell off" Sonst ist mir nichts aufgefallen, alles Standard. Hab das eben ausprobiert und schon konnte ich mich einloggen!!! Wofür steht DelayEngine und RequireValidShell? Vielen Dank, war schon kurz vorm verzweifeln!!! Titel: Login schlägt fehl Beitrag von: VolGas am 12. April 2006, 22:37:00 Gern geschehen...!
Direktiven -> http://www.proftpd.de/Direktiven.54.0.html mfg. VolGas |