Johannes7146
Goldschnabel
Hallo zusammen,
ich bin noch recht neu in der Linux welt und versuche zZ einen FtpServer ans laufen zu bekommen.
habe bisher proftp installiert und mysql.
Die User verwaltung soll mit mysql gemacht werden.
/etc/proftpd/modules.conf:
/etc/proftpd/proftpd.conf
dann gibt es in der eine db mit dem namen proftpd mit einer tabelle ftpuser
die sieht wiefolgt aus:
Allerdings kann ich mich nicht mit meinem ftpprogramm verbinden bekomme immer die Meldung das die zugangsdaten falsch sind!
/var/log/proftpd/proftpd.log:
Wie gesagt ich bin noch recht neu in der linuxwelt und das ist der stand, den ich erreicht habe mit der hilft von Mr. Google!
Hoffe mir kann jemand von euch nun weiter helfen.
ich bin noch recht neu in der Linux welt und versuche zZ einen FtpServer ans laufen zu bekommen.
habe bisher proftp installiert und mysql.
Die User verwaltung soll mit mysql gemacht werden.
/etc/proftpd/modules.conf:
Code:
# This file is used to manage DSO modules and features.
#
# This is the directory where DSO modules reside
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
/etc/proftpd/proftpd.conf
Code:
Include /etc/proftpd/modules.conf
UseIPv6 off
ServerName "IPADRESSE"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
#DenyFilter *.*/
Port 21
MaxInstances 30
User proftpd
Group nogroup
Umask 022 022
AllowOverwrite on
DefaultRoot ~
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_tls.c>
TLSEngine off
</IfModule>
<IfModule mod_quota.c>
QuotaEngine on
</IfModule>
<IfModule mod_ratio.c>
Ratios on
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine on
</IfModule>
SQLAuthTypes Crypt
SQLAuthenticate users*
SQLConnectInfo proftpd@IPADRESSE USERNAME PASSOWRT
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID 100
SQLMinUserUID 500
SQLUserInfo ftpuser username password uid gid homedir shell
SQLLOGFILE /var/log/proftpd/proftpd.sql.log
dann gibt es in der eine db mit dem namen proftpd mit einer tabelle ftpuser
die sieht wiefolgt aus:
Code:
mysql> select * from ftpuser;
+----+----------+------+------+----------+---------+-------+
| id | username | uid | gid | password | homedir | shell |
+----+----------+------+------+----------+---------+-------+
| 22 | johannes | NULL | NULL | ***** | NULL | NULL |
+----+----------+------+------+----------+---------+-------+
1 row in set (0.00 sec)
Allerdings kann ich mich nicht mit meinem ftpprogramm verbinden bekomme immer die Meldung das die zugangsdaten falsch sind!
/var/log/proftpd/proftpd.log:
Code:
Sep 23 11:55:20 vadmin821 proftpd[4338] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 11:55:20 vadmin821 proftpd[4338] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Sep 23 11:55:43 vadmin821 proftpd[4344] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 11:55:43 vadmin821 proftpd[4344] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Sep 23 11:55:50 vadmin821 proftpd[4346] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 11:55:50 vadmin821 proftpd[4346] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Sep 23 12:00:32 vadmin821 proftpd[4349] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 12:00:32 vadmin821 proftpd[4349] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Sep 23 12:00:37 vadmin821 proftpd[4351] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 12:00:37 vadmin821 proftpd[4351] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Sep 23 12:03:38 vadmin821 proftpd[4353] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 12:03:38 vadmin821 proftpd[4353] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Sep 23 12:03:40 vadmin821 proftpd[4355] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 12:03:40 vadmin821 proftpd[4355] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Sep 23 12:04:18 vadmin821 proftpd[4357] vadmin821: Failed binding to 0.0.0.0, port 21: Address already in use
Sep 23 12:04:18 vadmin821 proftpd[4357] vadmin821: Check the ServerType directive to ensure you are configured correctly.
Wie gesagt ich bin noch recht neu in der linuxwelt und das ist der stand, den ich erreicht habe mit der hilft von Mr. Google!
Hoffe mir kann jemand von euch nun weiter helfen.