Tuxy
New Member
Hallo
ich bin jetzt verzweifelt daran VHCS2 einzurichten. Es geht alles bis auf Proftp.
Meine Config: /etc/proftpd/proftpd.conf
Beim Start von Proftpd im Debug Mode:
Wenn man das ganze ohne MySQL macht krieg ohne Problem eine Verbindung
Ich hoffe ihr könnt mir helfen
Edit: Noch zum System
-Vserver bei Vanager
-MYSQL5&PHP5
Debian Etch
kein Confixx oder Plesk
Gruß Tuxy
ich bin jetzt verzweifelt daran VHCS2 einzurichten. Es geht alles bis auf Proftp.
Meine Config: /etc/proftpd/proftpd.conf
Code:
#
# VHCS proftpd config file
#
#
#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include /etc/proftpd/modules.conf
useIPV6 off
ServerName "*********"
ServerType standalone
DeferWelcome off
ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
UseReverseDNS off
IdentLookups off
AllowStoreRestart on
AllowForeignAddress on
ExtendedLog /var/log/proftpd/proftpd.access_log WRITE,READ write
ExtendedLog /var/log/proftpd/ftp_auth.log AUTH auth
# Logging Formate
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"
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
#ListOptions "-l"
DenyFilter \*.*/
DefaultRoot ~
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Port 21 is the standard FTP port.
Port 21
# 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 that the server normally runs at.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<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
AllowOverwrite on
HideNoAccess on
</Directory>
<Limit ALL>
IgnoreHidden on
</Limit>
<Global>
RootLogin off
TransferLog /var/log/xferlog
ExtendedLog /var/log/ftp_traff.log read,write traff
PathDenyFilter "\.quota$"
</Global>
<IfModule mod_delay.c>
DelayEngine off
</IfModule>
#
# VHCS2 Managment;
#
SQLBackend mysql # Enable for Proftpd >= 1.3
SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo vhcs2@localhost vftp Password
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinID 2000
#
# VHCS2 Quota management;
#
QuotaEngine on
QuotaShowQuotas on
QuotaDisplayUnits Mb
SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies
SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies
QuotaLock /var/run/proftpd/tally.lock
QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally
#
# SSL via TLS
#
#<IfModule mod_tls.c>
# TLSEngine on
# TLSLog /var/log/proftp/ftp_ssl.log
# TLSProtocol SSLv23
# TLSOptions NoCertRequest
# TLSRSACertificateFile /etc/apache2/ssl/ylabs.de.crt
# TLSRSACertificateKeyFile /etc/apache2/ssl/ylabs.de.key
# TLSVerifyClient off
#</IfModule>
SQLLOGFILE /var/log/proftpd.sql.log
Beim Start von Proftpd im Debug Mode:
Code:
- FTP session requested from unknown class
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - ExtendedLog '/var/log/ftp_traff.log' uses unknown format nickname 'traff'
vxxxxxxxxxxxxxxxxxxxxxxxxxxxx - connected - local : 195.225.105.65:21
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - connected - remote : 84.63.24.174:32997
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - FTP session opened.
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'USER 1' to mod_rewrite
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'USER 1' to mod_tls
xxxxxxxxxxxxxxxxxxxxxxxxxxxx- dispatching PRE_CMD command 'USER 1' to mod_core
xxxxxxxxxxxxxxxxxxxxxxxxxxxx- dispatching PRE_CMD command 'USER 1' to mod_core
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'USER 1' to mod_delay
xxxxxxxxxxxxxxxxxxxxxxxxxxxx- dispatching PRE_CMD command 'USER 1' to mod_auth
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching CMD command 'USER 1' to mod_auth
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - no supplemental groups found for user '1'
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching POST_CMD command 'USER 1' to mod_sql
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching POST_CMD command 'USER 1' to mod_delay
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching LOG_CMD command 'USER 1' to mod_sql
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching LOG_CMD command 'USER 1' to mod_log
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
xxxxxxxxxxxxxxxxxxxxxxxxxxxx- dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'PASS (hidden)' to mod_sql
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - no supplemental groups found for user '1'
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
xxxxxxxxxxxxxxxxxxxxxxxxxxxx- dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching CMD command 'PASS (hidden)' to mod_auth
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - no such user '1'
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - USER 1: no such user found from xxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_sql
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_sql
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
xxxxxxxxxxxxxxxxxxxxxxxxxxxx - FTP session closed.
Wenn man das ganze ohne MySQL macht krieg ohne Problem eine Verbindung
Ich hoffe ihr könnt mir helfen
Edit: Noch zum System
-Vserver bei Vanager
-MYSQL5&PHP5
Debian Etch
kein Confixx oder Plesk
Gruß Tuxy
Last edited by a moderator: