www.ProFTPD.de
13. März 2007, 20:59:39 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: mod_quotatab Problem  (Gelesen 240 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
mKe
Gast
« am: 22. Dezember 2004, 03:28:40 »

Hallo,

ich hab proftpd erstmal so kompiliert:
Code:
./configure \
 --sysconfdir=/etc \
 --localstatedir=/var \
 --prefix=/usr \
 --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql \
 --with-includes=/usr/include/mysql \
 --with-libraries=/usr/lib/mysql \
 && make \
 && make install


Dann hab ich alle nötigen SQL-Tabellen angelegt und es geht alles prima. Jetzt versuche ich einen Quota via SQL zum laufen zu bekommen.

Hier die Config:
Code:
Z100: # mod_quota tab
Z101: QuotaEngine             on
Z102: QuotaShowQuotas         on
Z103: QuotaLimitTable         sql:/get-quota-limit
Z104: QuotaTallyTable         sql:/get-quota-tally/update-quota-tally/insert-quota-tally
Z105: 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}'"
Z106: 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}'"
Z107: 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
Z108: SQLNamedQuery           insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies


Wenn ich jetzt folgendes mache bekomm ich einen Fehler:
Code:
# /usr/local/sbin/proftpd -td5
Checking syntax of configuration file
 - parsing '/etc/proftpd.conf' configuration
 - <Directory /*>: adding section for resolved path '/*'
 - Compiling deny regex '.quota$'.
 - Allocated deny regex at location 0x80bb5b0.
 - SQLAuthenticate: use of * in SQLAuthenticate has been deprecated.  Use AuthOrder for setting authoritativeness
 - Fatal: unknown configuration directive 'QuotaEngine' on line 101 of '/etc/proftpd.conf'.


Warum ? Finde momentan selber keine Lösung, könnte auch an meiner Übermüdung liegen *g*

Ich hoffe ihr könnt mir dabei schnell helfen.

P.S.: System->Suse 9.0

Grüße mKe
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.048 Sekunden mit 13 Zugriffen.