So Hallo erstma, Ich hab da wieder einen prob. mit mein proftd.
ich habe proftpd so configt:
./configure --with-modules=mod_sql:mod_sql_mysql
--with-includes=/usr/include/mysql
--with-libraries=/var/lib/mysql/mysql
Und So Versuche ich es zu starten
proftpd -n -d5
Folgendes Kommt dan:
server01:/home/proftpd-1.3.0 # proftpd -n -d5
- parsing '/usr/local/etc/proftpd.conf' configuration
- SQLAuthenticate: use of * in SQLAuthenticate has been deprecated. Use AuthOrder for setting authoritativeness
server01 -
server01 - Config for TrEMpe3.De PROFTPD:
server01 - ~ftp/
server01 - Limit
server01 - DenyAll
server01 - UserName
server01 - GroupName
server01 - UserAlias
server01 - MaxClients
server01 - DisplayLogin
server01 - DisplayFirstChdir
server01 - AllowForeignAddress
server01 - SQLAuthTypes
server01 - SQLAuthenticate
server01 - SQLConnectInfo
server01 - SQLDefaultGID
server01 - SQLDefaultUID
server01 - SQLMinUserGID
server01 - SQLMinUserUID
server01 - Umask
server01 - AllowOverwrite
server01 - Limit
server01 - DenyAll
server01 - DefaultServer
server01 - AllowForeignAddress
server01 - SQLLogFile
server01 - SQLAuthTypes
server01 - SQLAuthenticate
server01 - SQLConnectInfo
server01 - SQLDefaultGID
server01 - SQLDefaultUID
server01 - SQLMinUserGID
server01 - SQLMinUserUID
server01 - SQLUserTable
server01 - SQLUsernameField
server01 - SQLPasswordField
server01 - SQLUidField
server01 - SQLGidField
server01 - SQLHomedirField
server01 - SQLShellField
server01 - Umask
server01 - UserID
server01 - UserName
server01 - GroupID
server01 - GroupName
server01 - AllowOverwrite
server01 - ProFTPD 1.3.0 (stable) (built Tue May 9 17:39:39 CEST 2006) standalone mode STARTUP
server01 (dslb-084-063-160-201.pools.arcor-ip.net[84.63.x.x]) - FTP session requested from unknown class
Ich wollte das der server auf port: 8181 läuft.
Jetzt versuche ich mich zu verbinden
und da kommt
[R] Connecting to 217.172.186.179 -> IP=217.172.186.179 PORT=8181
[R] Connected to 217.172.186.179
[R] Verbindung fehlgeschlagen (Verbindung verloren)
[R] Delaying for 120 seconds before reconnect attempt #1
[R] Wiederholungversuch abgebrochen
Edit: So Sieht mein .conf aus
server01:/ # cat /usr/local/etc/proftpd.conf
# This is a basic ProFTPD configuration file (rename it to
# '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 "MY PROFTPD"
ServerType standalone
DefaultServer on
AllowForeignAddress on
SQLLOGFILE /var/log/proftpd.sql.log
# Port 21 is the standard FTP port.
Port 8181
SQLAuthTypes Plaintext
SQLAuthenticate users*
SQLConnectInfo db@localhost prouser pass
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID 100
SQLMinUserUID 500
SQLUserInfo ftp username password uid gid homedir shell
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# 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 30
# Set the user and group under which the server will run.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# 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
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
Was ist das Problem ?
Ich hoffe das mir einer weiterhelfen kann.
Grüße