ispCP - Board - Support
quota doesn't work - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: quota doesn't work (/thread-3462.html)

Pages: 1 2


RE: quota doesn't work - sci2tech - 09-24-2008 06:13 AM

Found the problem. It seems that mod_quotatab_sql is no longer enabled by default on debian. You have to edit /etc/proftpd/modules.conf and uncomment following lines
Quote:LoadModule mod_quotatab.c
LoadModule mod_quotatab_sql.c
Also in /etc/proftpd/proftpd.conf change
Code:
<IfModule mod_quota.c>
in
Code:
<IfModule mod_quotatab.c>
. Enjoy. I`ll corect this for debian lenny and after getting some confirmation for other distro too


RE: quota doesn't work - alecksievici - 09-24-2008 10:51 PM

sci2tech Wrote:Found the problem. It seems that mod_quotatab_sql is no longer enabled by default on debian. You have to edit /etc/proftpd/modules.conf and uncomment following lines
Quote:LoadModule mod_quotatab.c
LoadModule mod_quotatab_sql.c
Also in /etc/proftpd/proftpd.conf change
Code:
<IfModule mod_quota.c>
in
Code:
<IfModule mod_quotatab.c>
. Enjoy. I`ll corect this for debian lenny and after getting some confirmation for other distro too

I use RC5 and the first lines are already uncommented, but the 3rd needs to be changed.
Now quota works like a charm Big Grin.
So in RC5 all you have to do is change in /etc/proftpd/proftpd.conf: <IfModule mod_quota.c> with <IfModule mod_quotatab.c> and problem solved!
Thanks a lot!


RE: quota doesn't work - sci2tech - 09-24-2008 11:26 PM

alecksievici Wrote:Thanks a lot!
Cu placere Wink. BTW, do you use etch or lenny? (for lenny i`ve corrected in trunk, but not for etch because i do not have a box to test).


RE: quota doesn't work - alecksievici - 09-24-2008 11:34 PM

sci2tech Wrote:
alecksievici Wrote:Thanks a lot!
Cu placere Wink. BTW, do you use etch or lenny? (for lenny i`ve corrected in trunk, but not for etch because i do not have a box to test).

i have debian etch