Vraag & Antwoord

Servers

Proftpd server FTP session closed.

Beste, Ik ben enige tijd bezig met het opzetten van een webserver. Ik heb reeds ubuntu geinstalleerd op een compaq proliant en dat draait allemaal goed, Apache draait ook prima. Nu ben ik bezig met het instaleren van proftpd dit lukt echter niet geweldig. Op een of andere manier kan ik niet connecten met mijn server. Ik heb proftpd volgens [url]http://www.howtoforge.com/proftpd_mysql_virtual_hosting_debian_etch_p2?s=3fd0f2839d004097bd39bcaf93da03f1&[/url] geconfigureerd alleen kan ik : [...] UseIPv6 off [...] er niet in zetten zonder een foutmelding te krijgen. Nu draait proftpd alleen kan ik niet connecten met mijn server ik krijg de error : [19:11:26] Resolving host name "192.168.1.102" [19:11:26] Connecting to 192.168.1.102 Port: 2121 [19:11:26] Connected to 192.168.1.102. [19:11:26] Server closed connection En in de log van proftpd staat : Jun 18 13:18:38 lasvegas proftpd[4732] lasvegas.lan (26L2233A1-06.lan[::ffff:192.168.1.73]): FTP session closed. Mijn proftpd config file is deze : [code:1:479812532f] # # /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. # # Includes DSO modules Include /etc/proftpd/modules.conf ServerName "Ubuntu las vegas" ServerType standalone DeferWelcome off MultilineRFC2228 off DefaultServer on ShowSymlinks off TimeoutNoTransfer 60000 TimeoutStalled 60000 TimeoutIdle 1200 RootLogin on DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ DefaultRoot /var/www/ Port 2121 ExtendedLog /var/log/ftp.log MaxInstances 30 # Set the user and group that the server normally runs at. User ianmen Group nogroup Umask 022 022 AllowOverwrite on # PersistentPasswd off 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> DefaultRoot ~ # The passwords in MySQL are encrypted using CRYPT SQLAuthTypes Plaintext Crypt SQLAuthenticate users groups # used to connect to the database # databasename@host database_user user_password SQLConnectInfo ftp@localhost proftpd password # Here we tell ProFTPd the names of the database columns in the "usertable" # we want it to interact with. Match the names with those in the db SQLUserInfo ftpuser userid passwd uid gid homedir shell # Here we tell ProFTPd the names of the database columns in the "grouptable" # we want it to interact with. Again the names match with those in the db SQLGroupInfo ftpgroup groupname gid members # set min UID and GID - otherwise these are 999 each SQLMinID 500 # create a user's home directory on demand if it doesn't exist SQLHomedirOnDemand on # Update count every time user logs in SQLLog PASS updatecount SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser # Update modified everytime user uploads or deletes a file SQLLog STOR,DELE modified SQLNamedQuery modified UPDATE "modified=now() WHERE userid='%u'" ftpuser # User quotas # =========== QuotaEngine on QuotaDirectoryTally on QuotaDisplayUnits Mb QuotaShowQuotas on 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_$ 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 ft$ 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$ SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" ftpquotatallies QuotaLimitTable sql:/get-quota-limit QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally RootLogin off RequireValidShell off [/code:1:479812532f] Zelf heb ik al veel gekeken maar het probleem nog niet gevonden. Zou iemand het meschien wel weten en dit willen vertellen. Bij voorbaat dank m.v.g Bob van Hees

Anoniem
ianmen