das problem der FTP Server läuft eindeutig, kann aber nicht connecten
[R] Connecting to 83.xxx.xx.xxx -> IP=83.xxx.xx.xxx PORT=2121
[R] Connection failed (Connection failed)
[R] Delaying for 120 seconds before reconnect attempt #1
Das System:
Debian Woody Stable
MYSQL Version : 3.23.49
APACHE Version : 1.3.26
PROFTPD Version : 1.2.10rc3
MyFTPAdmin Version : 0.6
Compiliert habe ich PROFTPD mit:
./configure --with-modules=mod_ifsession:mod_rewrite:mod_exec:mod_ratio:mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql
Die proftpd.conf datei:
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "- Welcome to My ProFTPD Server -"
ServerType standalone
DefaultServer on
Port 2121
Umask 022
MaxInstances 30
UseReverseDNS off
IdentLookups off
User ftpuser
Group ftpgroup
<Global>
AllowRetrieveRestart on
AllowStoreRestart on
AllowOverwrite on
</Global>
SQLAuthTypes Crypt
SQLAuthenticate users* groups*
SQLConnectInfo ftp@localhost ftpuser 14683509
SQLUserInfo users username passwd NULL NULL homedir NULL
SQLGroupInfo groups groupname id username
SQLUserWhereClause "valid = 1"
SQLDefaultGID 100
SQLDefaultUID 500
SQLHomedirOnDemand off
RequireValidShell off
SQLLog PASS updatelogin
SQLNamedQuery updatelogin UPDATE "count=count+1, lastlogin=NOW() WHERE username = '%u'" users
SQLLOGFILE /var/log/proftpd.sql.log
debugLevel 6
Serverlog /var/log/proftpd.debug.log
### Log trafic (STOR, RETR commands)
SQLLog STOR,RETR,ERR_STOR,ERR_RETR logtrafic
SQLNamedQuery logtrafic FREEFORM "INSERT INTO history (username, filename, transfertype, transfersize, transferhost, transfertime, transferdate) VALUES('%u', '%F', '%m', %b, '%a', '%T', NOW())"
### Log user error events (ERR_* commands)
SQLLog ERR_* logevents
SQLNamedQuery logevents FREEFORM "INSERT INTO userevents (username, eventtype, description, eventdate) VALUES ('%u', '%m', '%r', NOW())"
<Directory /*>
AllowOverwrite off
<Limit WRITE>
DenyAll
AllowGroup admin
</Limit>
</Directory>
<Directory /home/ftpuser/files/data/>
<Limit READ DIRS>
DenyAll
AllowGroup ftpgroup
</Limit>
<Limit WRITE>
AllowGroup ftpgroup
</Limit>
</Directory>
DefaultRoot /home/ftpuser/files/data
AllowOverwrite on
RootLogin off
nach eingabe des /usr/local/sbin/proftpd -c /usr/local/etc/proftpd.conf -d 4 -n Befehls
kam folgende Ausgabe:
- parsing '/usr/local/etc/proftpd.conf' configuration
- SQLAuthenticate: use of * in SQLAuthenticate has been deprecated. Use AuthOrder for setting authoritativeness
- SQLAuthenticate: use of * in SQLAuthenticate has been deprecated. Use AuthOrder for setting authoritativeness
- <Directory /*>: adding section for resolved path '/*'
- <Directory /home/ftpuser/files/data/Movies>: adding section for resolved path '/home/ftpuser/files/data/Movies'
- <Directory /home/ftpuser/files/data/Music>: adding section for resolved path '/home/ftpuser/files/data/Music'
- <Directory /home/ftpuser/files/data/Games>: adding section for resolved path '/home/ftpuser/files/data/Games'
- ProFTPD 1.2.10rc3 (devel) (built Sat Aug 7 12:12:35 CEST 2004) standalone mode STARTUP
- ProFTPD terminating (signal 2)
- ProFTPD 1.2.10rc3 standalone mode SHUTDOWN
- deleting existing scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
nochmals: proftpd -nd9 eingeben
beschränke mich hierbei mal auf die letzten paar zeilen
vl07s27 - dispatching auth request "getgroups" to module mod_sql
vl07s27 - dispatching auth request "getgroups" to module mod_auth_file
vl07s27 - dispatching auth request "getgroups" to module mod_auth_unix
vl07s27 - SETUP PRIVS at main.c:2722
vl07s27 - ROOT PRIVS at main.c:1957
vl07s27 - RELINQUISH PRIVS at main.c:1964
vl07s27 - ROOT PRIVS at main.c:2312
vl07s27 - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
vl07s27 - RELINQUISH PRIVS at main.c:2338
vl07s27 - ProFTPD 1.2.10rc3 (devel) (built Sat Aug 7 12:12:35 CEST 2004) standalone mode STARTUP
vl07s27 - ROOT PRIVS at main.c:2175
vl07s27 - RELINQUISH PRIVS at main.c:2177
vl07s27 - FS: using system lstat()
vl07s27 - ProFTPD terminating (signal 2)
vl07s27 - ROOT PRIVS at main.c:1836
vl07s27 - RELINQUISH PRIVS at main.c:1859
vl07s27 - ProFTPD 1.2.10rc3 standalone mode SHUTDOWN
vl07s27 - ROOT PRIVS at main.c:1866
vl07s27 - deleting existing scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
vl07s27 - RELINQUISH PRIVS at main.c:1868
die proftpd.sql.lod datei gibt folgendes aus
Aug 07 21:37:10 mod_sql/4.11[26849]: backend module 'mod_sql_mysql/4.04'
Aug 07 21:37:10 mod_sql/4.11[26849]: backend api 'mod_sql_api_v1'
Aug 07 21:37:10 mod_sql/4.11[26849]: >>> sql_getconf
Aug 07 21:37:10 mod_sql/4.11[26849]: entering mysql cmd_defineconnection
Aug 07 21:37:10 mod_sql/4.11[26849]: name: 'default'
Aug 07 21:37:10 mod_sql/4.11[26849]: user: 'ftpuser'
Aug 07 21:37:10 mod_sql/4.11[26849]: host: 'localhost'
Aug 07 21:37:10 mod_sql/4.11[26849]: db: 'ftp'
Aug 07 21:37:10 mod_sql/4.11[26849]: port: '3306'
Aug 07 21:37:10 mod_sql/4.11[26849]: ttl: '0'
Aug 07 21:37:10 mod_sql/4.11[26849]: exiting mysql cmd_defineconnection
Aug 07 21:37:10 mod_sql/4.11[26849]: entering mysql cmd_open
ich weiß wirklich nicht mehr weiter, vielleicht hat ja einer einen guten Vorschlag