www.ProFTPD.de
13. März 2007, 19:21:04 *
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: 421 Service not available  (Gelesen 348 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
fs
ProFTPD
*
Offline Offline

Beiträge: 2


Profil anzeigen
« am: 13. Mai 2005, 08:40:06 »

Hallo,
ich setze Debian 3.1 mit  ProFTPD Version: 1.2.10 (stable) und mysqld  Ver 4.1.11-Debian
ein.
Eigentlich funktioniert alles bestens, jedenfalls so ca. 1-2 Stunden.
Dann bekommen die User beim einloggen folgende Fehlermeldung:

421 Service not available, remote server has closed connection
Login failed.
No control connection for command: Transport endpoint is not connected

Jetzt hilft nur noch ein „reboot“!!!!

Kann mir da jemand weiterhelfen?Huch

Vielen Dank!
Gruß
Frank

proftpd -l
Compiled-in modules:
  mod_core.c
  mod_xfer.c
  mod_auth_unix.c
  mod_auth_file.c
  mod_auth.c
  mod_ls.c
  mod_log.c
  mod_site.c
  mod_auth_pam.c
  mod_quotatab.c
  mod_sql.c
  mod_sql_mysql.c
  mod_quotatab_sql.c
  mod_ratio.c
  mod_tls.c
  mod_rewrite.c
  mod_radius.c
  mod_wrap.c
  mod_quotatab_file.c
  mod_delay.c
  mod_readme.c
  mod_ifsession.c
  mod_cap.c

proftpd -vv
 - ProFTPD Version: 1.2.10 (stable)
 -   Scoreboard Version: 01040002
 -   Built: do mrt 22 18:28:32 CET 2001
 -     Module: mod_core.c
 -     Module: mod_xfer.c
 -     Module: mod_auth_unix.c
 -     Module: mod_auth_file.c
 -     Module: mod_auth.c
 -     Module: mod_ls.c
 -     Module: mod_log.c
 -     Module: mod_site.c
 -     Module: mod_auth_pam.c
 -     Module: mod_quotatab.c
 -     Module: mod_sql.c
 -     Module: mod_sql_mysql.c
 -     Module: mod_quotatab_sql.c
 -     Module: mod_ratio.c
 -     Module: mod_tls.c
 -     Module: mod_rewrite.c
 -     Module: mod_radius.c
 -     Module: mod_wrap.c
 -     Module: mod_quotatab_file.c
 -     Module: mod_delay/0.4
 -     Module: mod_readme.c
 -     Module: mod_ifsession.c
 -     Module: mod_cap/1.0



/etc/proftpd.conf

ServerName                      "FTP-Server"
ServerType                      standalone
DeferWelcome                    off
ServerAdmin                     mail@localhost

ServerIdent                     off     "FTP Server ready"
ShowSymlinks                    on
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on

TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200

RootLogin                       off

#DisplayLogin                   /usr/local/ftp/msgs/welcome.msg

DenyFilter                      \*.*/

Port 21
Umask 022 022
#MaxInstances 30
MaxInstances 60

User ftp
Group ftp
# Speed erhoehen
UseReverseDNS off
IdentLookups off

#
# Logging options
#
TransferLog          /var/log/xferlog

# Some logging formats
#
LogFormat            default "%h %l %u %t \"%r\" %s %b"
LogFormat            auth    "%v [%P] %h %t \"%r\" %s"
LogFormat            write   "%h %l %u %t \"%r\" %s %b"

# 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

SQLAuthTypes Crypt
SQLAuthenticate users* groups*
SQLConnectInfo ftp@localhost ftpuser ftppassword
SQLUserInfo users username passwd NULL NULL homedir NULL
SQLGroupInfo groups groupname id username
SQLUserWhereClause "valid = 1"
SQLDefaultGID 1001
SQLDefaultUID 104

SQLLOGFILE /var/log/proftpd.sql.log
SQLHomedirOnDemand off
RequireValidShell off
SQLLog PASS updatelogin
SQLNamedQuery updatelogin UPDATE "count=count+1, lastlogin=NOW() WHERE username = '%u'" users

### Log trafic (STOR, RETR commands)
SQLLog STOR,RETR,ERR_STOR,ERR_RETR logtrafic
SQLNamedQuery logtrafic FREEFORM "INSERT INTO history (username, filename, transfertype, transfersize, tr
ansferhost, transfertime, transferdate) VALUES('%u', '%F', '%m', %b, '%a', '%T', NOW())"

### Log user error events (ERR_* commands)

SQLLog ERR_RETR,ERR_STOR,ERR_APPE,ERR_STOU transfer_error
SQLNamedQuery logevents FREEFORM "INSERT INTO userevents (username, eventtype, description, eventdate) VALUES ('%u', '%m', '%r', NOW())"

<Directory /*>
<Limit LOGIN>
        DenyAll
        AllowGroup admin
</Limit>
<Limit WRITE>
        DenyAll
        AllowGroup admin
</Limit>
</Directory>
<Directory ~/upload/*>
   <Limit LOGIN>
        DenyAll
        AllowGroup ftp
   </Limit>
   <Limit WRITE>
       DenyAll
       AllowGroup ftp
   </Limit>

AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
</Directory>

<Directory ~/download/*>
   <Limit LOGIN>
        DenyAll
        AllowGroup ftp
   </Limit>
   <Limit DELE>
       DenyAll
       AllowGroup ftp
   </Limit>

AllowOverwrite off
AllowRetrieveRestart off
AllowStoreRestart off
</Directory>

#DefaultRoot /usr/local/ftp
DefaultRoot ~
AllowOverwrite off
RootLogin off
<Global>

</Global>
Gespeichert
Anonymous
Gast
« Antwort #1 am: 17. Mai 2005, 10:37:11 »

Kann es sein, dass es etwas mit den ERR_* commands zutun hat?
Sobald ich die ERR_* commands auskommentiere funktioniert die FTP-Verbindung.
Die FTP-Clients bekommen jetzt nur noch teilweise die Meldung:
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: Transport endpoint is not connected

Gruß Frank
Gespeichert
Anonymous
Gast
« Antwort #2 am: 17. Mai 2005, 20:25:09 »

Ich habe jetzt proftpd im Debugmod gestartet „proftpd -nd5 2>&1 >& proftp.log“

Sobald die FTP-User die Fehlermeldung bekommen:
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: Transport endpoint is not connected

endet das proftp.log mit:
ProFTPD terminating (signal 11)

Kann mir jemand sagen, was signal 11 bedeutet?


Vielen Dank!

Gruß Frank
Gespeichert
fs
ProFTPD
*
Offline Offline

Beiträge: 2


Profil anzeigen
« Antwort #3 am: 24. Mai 2005, 22:57:47 »

die Lösung war:
<IfModule mod_delay.c>
DelayEngine off
</IfModule>
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.055 Sekunden mit 15 Zugriffen.