Was erwartest du den jetzt für eine Antwort ohne das du uns irgendeine Information zu deinem Problem gegeben hast? Lies dir deinen Beitrag nochmal durch...
Schick doch bitte mal ein paar Infos mit wie,
- Systeminformationen (Dist., Kernel, sonstiges),
Debian 4 (Etch)
- Wie hast du den Dienst installiert?,
per apt-get install proftpd (Shell)
- Was heißt "wie beschrieben"? Welches HowTo hast du verwendet?
http://files.syscp.org/docs/syscp-howto-etch/
- Wie hast du den Dienst konfiguriert, Vorgänge?
Die Datei /etc/proftpd/modules.conf:
Folgendermassen gefüllt:
Code:
#
# This file is used to manage DSO modules and features.
#
# This is the directory where DSO modules resides
ModulePath /usr/lib/proftpd
# Allow only user root to load and unload modules, but allow everyone
# to see which modules have been loaded
ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *
#LoadModule mod_ctrls_admin.c
LoadModule mod_tls.c
LoadModule mod_sql.c
#LoadModule mod_ldap.c
LoadModule mod_sql_mysql.c
#LoadModule mod_sql_postgres.c
#LoadModule mod_quotatab.c
#LoadModule mod_quotatab_file.c
#LoadModule mod_quotatab_ldap.c
#LoadModule mod_quotatab_sql.c
#LoadModule mod_radius.c
LoadModule mod_wrap.c
LoadModule mod_rewrite.c
# keep this module the last one
LoadModule mod_ifsession.c
<IfModule mod_delay.c>
DelayEngine off
</IfModule>
und die datei /etc/proftpd/proftpd.conf
folgendermassen gefüllt:
Code:
Include /etc/proftpd/modules.conf
ServerName "xxx.xxxx.xxxx FTP Server"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
Port 21
MaxInstances 30
UseIPv6 off
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
# make proftpd faster / do not perform ident and reverse dns lookup
UseReverseDNS off
IdentLookups off
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
<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
# Normally, we want files to be overwriteable.
AllowOverwrite on
</Directory>
DefaultRoot ~
RequireValidShell off
AuthOrder mod_sql.c
SQLAuthTypes Crypt
SQLAuthenticate users* groups*
SQLConnectInfo syscp@127.0.0.1 syscp MYSQL_PASSWORD
SQLUserInfo ftp_users username password uid gid homedir shell
SQLGroupInfo ftp_groups groupname gid members
SQLUserWhereClause "login_enabled = 'y'"
SQLLog PASS login
SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users
SQLLog RETR download
SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users
SQLLog STOR upload
SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users
- Was sagen die Logfiles? (/var/log/proftpd, /var/log/messages)
May 25 22:38:57 xxxxxx.xxxxxxxxxx.xx proftpd[22145] xxxxxx.xxxxxxxxxx.xx: ProFTPD 1.3.0 (stable) (built Tue Nov 4 14:38:05 UTC 2008) standalone mode STARTUP
May 25 22:39:04 xxxxxx.xxxxxxxxxx.xx proftpd[29950] xxxxxx.xxxxxxxxxx.xx (81.33.162.135[81.33.162.135]): FTP session opened.
May 25 22:39:04 xxxxxx.xxxxxxxxxx.xx proftpd[29950] xxxxxx.xxxxxxxxxx.xx (81.33.162.135[81.33.162.135]): USER eurowebh (Login failed): No such user found.
May 25 22:39:04 xxxxxx.xxxxxxxxxx.xx proftpd[29950] xxxxxx.xxxxxxxxxx.xx (81.33.162.135[81.33.162.135]): FTP session closed.
- Fehlermeldung rauskopieren!