Titel: In Verbindung mit VHCS2 zusammen gibt es Probleme Beitrag von: DaSilva am 17. Juni 2006, 16:07:39 Ich habe einen FTP-Benutzer über VHCS angelegt aber bekomme immer
Code: [R] 220 ProFTPD 1.3.0 Server (s1) [12.34.56.78] [R] USER test@domain.net [R] 331 Password required for test@domain.net. [R] PASS (hidden) [R] 530 Login incorrect. [R] Verbindung fehlgeschlagen Im Debugger wird keine Fehlermeldung angezeigt! Code: proftpd -n -d5 - parsing '/usr/local/etc/proftpd.conf' configuration - DenyFilter: compiling deny regex '\*.*/' - <Directory /*>: deferring resolution of path - PathDenyFilter: compiling deny regex '.quota$' - <IfModule>: using 'mod_delay.c' section at line 79 delta420.server4you.de - delta420.server4you.de - Config for s1: delta420.server4you.de - /var/www/virtual/frefel.net/htdocs/ delta420.server4you.de - UserName delta420.server4you.de - UserAlias delta420.server4you.de - GroupName delta420.server4you.de - ShowSymlinks delta420.server4you.de - AllowOverwrite delta420.server4you.de - AllowRetrieveRestart delta420.server4you.de - AllowStoreRestart delta420.server4you.de - AllowForeignAddress delta420.server4you.de - DisplayLogin delta420.server4you.de - DisplayFirstChdir delta420.server4you.de - DenyFilter delta420.server4you.de - SQLAuthTypes delta420.server4you.de - SQLAuthenticate delta420.server4you.de - SQLConnectInfo delta420.server4you.de - SQLMinID delta420.server4you.de - SQLNamedQuery_get-quota-limit delta420.server4you.de - SQLNamedQuery_get-quota-tally delta420.server4you.de - SQLNamedQuery_update-quota-tally delta420.server4you.de - SQLNamedQuery_insert-quota-tally delta420.server4you.de - RootLogin delta420.server4you.de - TransferLog delta420.server4you.de - PathDenyFilter delta420.server4you.de - Limit delta420.server4you.de - IgnoreHidden delta420.server4you.de - /* delta420.server4you.de - Umask delta420.server4you.de - DirUmask delta420.server4you.de - AllowOverwrite delta420.server4you.de - HideNoAccess delta420.server4you.de - ShowSymlinks delta420.server4you.de - AllowRetrieveRestart delta420.server4you.de - AllowStoreRestart delta420.server4you.de - AllowForeignAddress delta420.server4you.de - DisplayLogin delta420.server4you.de - DisplayFirstChdir delta420.server4you.de - DenyFilter delta420.server4you.de - SQLAuthTypes delta420.server4you.de - SQLAuthenticate delta420.server4you.de - SQLConnectInfo delta420.server4you.de - SQLMinID delta420.server4you.de - SQLNamedQuery_get-quota-limit delta420.server4you.de - SQLNamedQuery_get-quota-tally delta420.server4you.de - SQLNamedQuery_update-quota-tally delta420.server4you.de - SQLNamedQuery_insert-quota-tally delta420.server4you.de - RootLogin delta420.server4you.de - TransferLog delta420.server4you.de - PathDenyFilter delta420.server4you.de - DeferWelcome delta420.server4you.de - ShowSymlinks delta420.server4you.de - DefaultServer delta420.server4you.de - ShowSymlinks delta420.server4you.de - AllowOverwrite delta420.server4you.de - AllowRetrieveRestart delta420.server4you.de - AllowStoreRestart delta420.server4you.de - AllowForeignAddress delta420.server4you.de - TimeoutNoTransfer delta420.server4you.de - TimeoutStalled delta420.server4you.de - TimeoutIdle delta420.server4you.de - DisplayLogin delta420.server4you.de - DisplayFirstChdir delta420.server4you.de - DenyFilter delta420.server4you.de - DefaultRoot delta420.server4you.de - UserID delta420.server4you.de - UserName delta420.server4you.de - GroupID delta420.server4you.de - GroupName delta420.server4you.de - DelayEngine delta420.server4you.de - SQLAuthTypes delta420.server4you.de - SQLAuthenticate delta420.server4you.de - SQLConnectInfo delta420.server4you.de - SQLUserTable delta420.server4you.de - SQLUsernameField delta420.server4you.de - SQLPasswordField delta420.server4you.de - SQLUidField delta420.server4you.de - SQLGidField delta420.server4you.de - SQLHomedirField delta420.server4you.de - SQLShellField delta420.server4you.de - SQLGroupTable delta420.server4you.de - SQLGroupnameField delta420.server4you.de - SQLGroupGIDField delta420.server4you.de - SQLGroupMembersField delta420.server4you.de - SQLMinID delta420.server4you.de - QuotaEngine delta420.server4you.de - QuotaShowQuotas delta420.server4you.de - QuotaDisplayUnits delta420.server4you.de - SQLNamedQuery_get-quota-limit delta420.server4you.de - SQLNamedQuery_get-quota-tally delta420.server4you.de - SQLNamedQuery_update-quota-tally delta420.server4you.de - SQLNamedQuery_insert-quota-tally delta420.server4you.de - QuotaLock delta420.server4you.de - QuotaLimitTable delta420.server4you.de - QuotaTallyTable delta420.server4you.de - RootLogin delta420.server4you.de - TransferLog delta420.server4you.de - ExtendedLog delta420.server4you.de - PathDenyFilter delta420.server4you.de - RootLogin delta420.server4you.de - deleting existing scoreboard '/usr/local/var/proftpd/proftpd.scoreboard' delta420.server4you.de - Failed binding to 0.0.0.0, port 21: Address already in use delta420.server4you.de - Check the ServerType directive to ensure you are configured correctly. Kommt bei proftpd -n -d5 Erstaunlich dabei ist, dass wir nichts mit server4you.de zu tun haben! Was kann da nicht stimmen? Titel: Re: In Verbindung mit VHCS2 zusammen gibt es Probleme Beitrag von: VolGas am 17. Juni 2006, 16:32:56 Hallo,
von VHCS habe ich keinen blassen Dunst, aber das hat ja auch nur indirekt mit ProFTPD zu tun. Die Fehlermeldung ist eindeutig: "Failed binding to 0.0.0.0, port 21: Address already in use", dazu siehe: ->Support->FAQ (http://www.proftpd.de/FAQ.15.0.html), letzter Punkt. "delta420.server4you.de" ist die Reverse-DNS Auflösung Deiner Servermaschine, deren IP der "Intergenia AG" (http://intergenia.de) zugewiesen wurde... Na, dämmert's? ;) mfg. VolGas Titel: Re: In Verbindung mit VHCS2 zusammen gibt es Probleme Beitrag von: DaSilva am 17. Juni 2006, 17:25:25 Code: s1:~ # fuser -n tcp 21 21/tcp: 11655 s1:~ # ps aux | grep 11655 nobody 11655 0.0 0.1 4384 1676 ? Ss 14:42 0:00 proftpd: (accepting connections) root 13471 0.0 0.0 1860 612 pts/1 S+ 17:10 0:00 grep 11655 Scheint also alles in Ordnung zu sein!? proftpd.conf: Code: # # VHCS proftpd config file # # ServerName "s1" ServerType standalone DeferWelcome off ShowSymlinks on MultilineRFC2228 on DefaultServer on ShowSymlinks on AllowOverwrite on AllowRetrieveRestart on AllowStoreRestart on AllowForeignAddress on #RootLogin on LogFormat traff "%b %u" TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message #LsDefaultOptions "-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> TransferLog /var/log/xferlog ExtendedLog /var/log/ftp_traff.log read,write traff PathDenyFilter "\.quota$" RootLogin off </Global> <IfModule mod_delay.c> DelayEngine off </IfModule> # # VHCS2 Managment; # SQLAuthTypes Crypt SQLAuthenticate on SQLConnectInfo vhcs2@localhost vftp 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 <Anonymous /var/www/virtual/frefel.net/htdocs> User ftp UserAlias anonymous ftp Group ftp </Anonymous> |