Titel: ProFTPD terminating (signal 11) Beitrag von: creffect am 24. Januar 2007, 22:03:43 Hallo erst mal!
Ich habe mich jetzt die letzten 5 Stunden damit beschäftigt, hier durch Forum zu surfen, die FAQ zu lesen und durch die Dokumentation zu stöbern. Erst einmal: Ich verwende proftpd mit MySQL Datenbank auf einem Debian Server. Mein Problem ist: Ich kann mich einloggen, aber nach dem Login wird bei ca. 50% der Fälle die FTP Session beendet. Nach meinen Nachforschungen bin ich auch schon einiges weiter:ich habe den Debugmodus aktiviert und folgendes Ergebins erhalten: Code: PASS (hidden)' to mod_radius wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'PASS (hidden)' to mod_auth wsm.creffect.de (74.140.215.150[74.140.215.150]) - no supplemental groups found for user 'admin' wsm.creffect.de (74.140.215.150[74.140.215.150]) - wsm.creffect.de (74.140.215.150[74.140.215.150]) - Config for localhost: wsm.creffect.de (74.140.215.150[74.140.215.150]) - ServerIdent wsm.creffect.de (74.140.215.150[74.140.215.150]) - DeferWelcome wsm.creffect.de (74.140.215.150[74.140.215.150]) - DefaultServer wsm.creffect.de (74.140.215.150[74.140.215.150]) - ShowSymlinks wsm.creffect.de (74.140.215.150[74.140.215.150]) - TimeoutNoTransfer wsm.creffect.de (74.140.215.150[74.140.215.150]) - TimeoutStalled wsm.creffect.de (74.140.215.150[74.140.215.150]) - TimeoutIdle wsm.creffect.de (74.140.215.150[74.140.215.150]) - DisplayLogin wsm.creffect.de (74.140.215.150[74.140.215.150]) - DisplayFirstChdir wsm.creffect.de (74.140.215.150[74.140.215.150]) - ListOptions wsm.creffect.de (74.140.215.150[74.140.215.150]) - DenyFilter wsm.creffect.de (74.140.215.150[74.140.215.150]) - UserID wsm.creffect.de (74.140.215.150[74.140.215.150]) - UserName wsm.creffect.de (74.140.215.150[74.140.215.150]) - GroupID wsm.creffect.de (74.140.215.150[74.140.215.150]) - GroupName wsm.creffect.de (74.140.215.150[74.140.215.150]) - Umask wsm.creffect.de (74.140.215.150[74.140.215.150]) - DirUmask wsm.creffect.de (74.140.215.150[74.140.215.150]) - AllowOverwrite wsm.creffect.de (74.140.215.150[74.140.215.150]) - RequireValidShell wsm.creffect.de (74.140.215.150[74.140.215.150]) - DefaultRoot wsm.creffect.de (74.140.215.150[74.140.215.150]) - IdentLookups wsm.creffect.de (74.140.215.150[74.140.215.150]) - ExtendedLog wsm.creffect.de (74.140.215.150[74.140.215.150]) - ExtendedLog wsm.creffect.de (74.140.215.150[74.140.215.150]) - ExtendedLog wsm.creffect.de (74.140.215.150[74.140.215.150]) - TransferLog wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLLogFile wsm.creffect.de (74.140.215.150[74.140.215.150]) - IdentLookups wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLConnectInfo wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLAuthenticate wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLAuthTypes wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLUserTable wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLUsernameField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLPasswordField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLUidField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLGidField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLHomedirField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLShellField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLGroupTable wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLGroupnameField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLGroupGIDField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLGroupMembersField wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLLog_PASS wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLNamedQuery_logincount wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLLog_PASS wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLNamedQuery_lastlogin wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLLog_RETR wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLNamedQuery_dlbytescount wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLLog_RETR wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLNamedQuery_dlcount wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLLog_STOR wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLNamedQuery_ulbytescount wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLLog_STOR wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLNamedQuery_ulcount wsm.creffect.de (74.140.215.150[74.140.215.150]) - SQLUserWhereClause wsm.creffect.de (74.140.215.150[74.140.215.150]) - CURRENT-CLIENTS wsm.creffect.de (74.140.215.150[74.140.215.150]) - USER wsm.creffect.de (74.140.215.150[74.140.215.150]) - USER admin: Login successful. wsm.creffect.de (74.140.215.150[74.140.215.150]) - Preparing to chroot() the environment, path = '/var/www' wsm.creffect.de (74.140.215.150[74.140.215.150]) - Environment successfully chroot()ed. wsm.creffect.de (74.140.215.150[74.140.215.150]) - in dir_check_full(): path = '/', fullpath = '/var/www/'. wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_cap wsm.creffect.de (74.140.215.150[74.140.215.150]) - mod_cap/1.0: capabilities '= cap_net_bind_service+ep' wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_ifsession wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_readme wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_delay wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_radius wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_tls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_ratio wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_quotatab wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_log wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_ls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PASS (hidden)' to mod_auth wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_log wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_ratio wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'SYST' to mod_rewrite wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'SYST' to mod_tls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'SYST' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'SYST' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'SYST' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'SYST' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'SYST' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'SYST' to mod_log wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'CWD /' to mod_rewrite wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'CWD /' to mod_tls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'CWD /' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'CWD /' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'CWD /' to mod_ratio wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'CWD /' to mod_ratio wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'CWD /' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - in dir_check_full(): path = '/', fullpath = '/var/www/'. wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'CWD /' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'CWD /' to mod_readme wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'CWD /' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'CWD /' to mod_log wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PWD' to mod_rewrite wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PWD' to mod_tls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PWD' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PWD' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'PWD' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - in dir_check_full(): path = '/', fullpath = '/var/www/'. wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PWD' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'PWD' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'PWD' to mod_log wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'TYPE A' to mod_rewrite wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'TYPE A' to mod_tls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'TYPE A' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'TYPE A' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'TYPE A' to mod_xfer wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'TYPE A' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'TYPE A' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'TYPE A' to mod_log wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PORT 74,140,215,150,248,178' to mod_rewrite wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PORT 74,140,215,150,248,178' to mod_tls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PORT 74,140,215,150,248,178' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'PORT 74,140,215,150,248,178' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'PORT 74,140,215,150,248,178' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - in dir_check_full(): path = '/', fullpath = '/var/www/'. wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching POST_CMD command 'PORT 74,140,215,150,248,178' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'PORT 74,140,215,150,248,178' to mod_sql wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching LOG_CMD command 'PORT 74,140,215,150,248,178' to mod_log wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'LIST' to mod_rewrite wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'LIST' to mod_tls wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'LIST' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'LIST' to mod_core wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching PRE_CMD command 'LIST' to mod_ratio wsm.creffect.de (74.140.215.150[74.140.215.150]) - dispatching CMD command 'LIST' to mod_ls wsm.creffect.de (74.140.215.150[74.140.215.150]) - active data connection opened - local : 83.125.32.165:20 wsm.creffect.de (74.140.215.150[74.140.215.150]) - active data connection opened - remote : 74.140.215.150:63666 wsm.creffect.de (74.140.215.150[74.140.215.150]) - in dir_check_full(): path = '/', fullpath = '/var/www/'. wsm.creffect.de (74.140.215.150[74.140.215.150]) - in dir_check_full(): path = '/ChallengeCenter', fullpath = '/var/www/ChallengeCenter'. wsm.creffect.de (74.140.215.150[74.140.215.150]) - ProFTPD terminating (signal 11) Also, ich frage mich warum ProFTPD beendet und was das signal 11 bedeutet? Ich hoffe, dass ich das nicht nur überlesen habe im FAQ/Docu, wenn ja bitte einen Likn schicken. Danke! Andernfalls würde ich mich über eine Antwort freuen. Vielen Dank! creffect p.s. ich nutze RequiredShell off Falls nötig: Hier ist meine config: Code: # # /etc/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. # ServerName "localhost" ServerIdent on "FTP Server ready" ServerType standalone ServerAdmin info@creffect.de DeferWelcome on DefaultServer on MultilineRFC2228 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) MaxInstances 100 # 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 # EDITED RequireValidShell off DefaultRoot ~ IdentLookups off UseReverseDNS off # Log file/dir access ExtendedLog /var/log/proftpd.access_log WRITE,READ write # Record all logins ExtendedLog /var/log/proftpd.auth_log AUTH auth # Paranoia logging level.... ExtendedLog /var/log/proftpd.paranoid_log ALL default TransferLog /var/log/proftpd.xferlog SQLLOGFILE "/var/log/proftpd.sql.log" # A basic anonymous configuration, no upload directories. # <Anonymous ~ftp> # 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 WRITE> # DenyAll # </Limit> # </Directory> # # # Uncomment this if you're brave. # # <Directory incoming> # # # 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 READ WRITE> # # DenyAll # # </Limit> # # <Limit STOR> # # AllowAll # # </Limit> # # </Directory> # # </Anonymous> IdentLookups off #ProFTP Admin webinterface SQLConnectInfo proftpd@localhost proftpd cobaltchloridpapier6 SQLAuthenticate users groups #SQLAuthenticate users* SQLAuthTypes Crypt Backend SQLUserInfo users userid passwd uid gid homedir shell SQLGroupInfo groups groupid gid members #SQLDefaultGID root #SQLDefaultUID root SQLLog PASS logincount SQLNamedQuery logincount UPDATE "login_count=login_count+1 WHERE userid='%u'" users SQLLog PASS lastlogin SQLNamedQuery lastlogin UPDATE "last_login=now() WHERE userid='%u'" users SQLLog RETR dlbytescount SQLNamedQuery dlbytescount UPDATE "dl_bytes=dl_bytes+%b WHERE userid='%u'" users SQLLog RETR dlcount SQLNamedQuery dlcount UPDATE "dl_count=dl_count+1 WHERE userid='%u'" users SQLLog STOR ulbytescount SQLNamedQuery ulbytescount UPDATE "ul_bytes=ul_bytes+%b WHERE userid='%u'" users SQLLog STOR ulcount SQLNamedQuery ulcount UPDATE "ul_count=ul_count+1 WHERE userid='%u'" users SQLUserWhereClause "disabled!=1" Vielen Dank für Eure Hilfe! Titel: Re: ProFTPD terminating (signal 11) Beitrag von: creffect am 24. Januar 2007, 22:05:10 Ich habe auch schon SQLLOGFILE aktiviert, bin aber aus dem Ergebnis nicht schlau geworden...
Titel: Re: ProFTPD terminating (signal 11) Beitrag von: VolGas am 27. Januar 2007, 01:05:40 Hallo!
Es ist sehr löblich, daß Du -leider im Gegensatz zu vielen Anderen- zuerst versucht hast, Dich selbst mit der Lektüre der Doku und den FAQ schlau zu machen, bevor Du hier gepostet hast. Die Antwort ist auch ganz einfach, aber sie wird Dir garantiert nicht gefallen. Signal 11 bedeutet schlicht und ergreifend: dat Dingens ist Dir abgestürzt - da hat sich nichts "beendet". Irgend etwas läuft ganz gewaltig schief... Das jetzt herauszufinden, ist oft sehr schwer. Solltest Du den ProFTPD mittels "apt-get" installiert haben, so wende Dich doch -sofern Du eine "stable" Version geladen hast und auch ein solches System benutzt- an den Maintainer des ProFTPD-Paketes oder compiliere Dir den ProFTPD einfach selbst neu. Sorry, einen anderen Rat kann ich Dir nicht geben: alles andere führt zu weit und sprengt damit wohl auch sehr schnell meine bescheidenen Kentnisse in diesem Bereich. mfg. VolGas |