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?
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>