offline
- Pridružio: 19 Jan 2005
- Poruke: 286
- Gde živiš: Tamo daleko,tj.Beograd City
|
POZzz, instalirao sam debian net cd-om, tako mi se najvise svidja, tad je oguljen, pa ja dodajem ono sto mi treba, hteo sam da instaliram proftd, i nasao sam tutorial na adresi http://howtoforge.com/proftpd_mysql_virtual_hosting , sve sto tamo pise sam uradio, ali kad pokusam da se nakacim na ftp server,
Citat:
Looking up 192.168.6.20
Trying 192.168.6.20:21
Connected to 192.168.6.20:21
220 ProFTPD 1.3.0 Server (Debian) [::ffff:192.168.6.20]
USER zeenmc
331 Password required for zeenmc.
PASS xxxx
530 Login incorrect.
Disconnecting from site 192.168.6.20
u jednom delu tutorijala sam trebao da kopiram ovaj tekst
Citat: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 zeenmc
# 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_avail, files_xfer_avail FROM ftpquotalimits 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 ftpquotatallies 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}'" ftpquotatallies
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
ali u tutorijalu pise da to treba da kopiram u /etc/proftpd.conf, taj fajl u etc folderu nije postojao, ali jeste u /etc/proftpd/, prvo sam iskopirao sadrzaj u proftpd folderu, ali nije radilo, nakon toga sam kreirao fajl proftp.conf u /etc i tamo sam kopirao sadrzaj, ali opet nece
da li neko zna gde je problem, help ;-)
sad sam pogledao na netu, ipak je fajl koji mi treba /etc/proftpd/proftpd.conf
uglavnom tamo sam iskopirao code iz tutorijala i javlja mi se greska
Citat:pioneer:/home/ftp# /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - Fatal: unknown configuration directive 'SQLAuthTypes' on line 5 of '/etc/proftpd/proftpd.conf'
failed!
pogledao sam u logove, i tamo pisu sledece greske
Citat:
Apr 27 20:24:51 pioneer proftpd[7424] pioneer.brokenbyte.lan (::ffff:192.168.6.10[::ffff:192.168.6.10]): error setting IPV6_V6ONLY: Protocol not ava$
Apr 27 20:24:51 pioneer proftpd[7424] pioneer.brokenbyte.lan (::ffff:192.168.6.10[::ffff:192.168.6.10]): FTP session opened.
Apr 27 20:24:51 pioneer proftpd[7424] pioneer.brokenbyte.lan (::ffff:192.168.6.10[::ffff:192.168.6.10]): mod_delay/0.5: delaying for 9 usecs
Apr 27 20:24:51 pioneer proftpd[7424] pioneer.brokenbyte.lan (::ffff:192.168.6.10[::ffff:192.168.6.10]): no such user 'zeenmc'
Apr 27 20:24:51 pioneer proftpd[7424] pioneer.brokenbyte.lan (::ffff:192.168.6.10[::ffff:192.168.6.10]): USER zeenmc: no such user found from ::ffff$
Apr 27 20:24:51 pioneer proftpd[7424] pioneer.brokenbyte.lan (::ffff:192.168.6.10[::ffff:192.168.6.10]): FTP session closed.
|