Web Hosting Talk







View Full Version : Help with CPanel and WHM Quotas!!


SuperDon
10-17-2001, 02:21 PM
Hi,

I have been having some problems with quotas.

Basically WHM isshowing one thing and CPanel for the accounts another.

In fact in CPanel the clients are showing something like...Disk

Usage 0.18 Megabytes
Bandwidth Usage this month 6.16 Megabytes
Disk Space Available -0.18 Megabytes

When I know they are using about 4mb.

I have tried initialising disk quotas from WHM and also tried running /sbin/quotacheck -av

neither have made any difference.

Any ideas please?

AlaskanWolf
10-17-2001, 03:12 PM
This is a problem with the kernel 2.4.10, go to the cpanel forms and look at my thread

As of right now, its a RH problem, so Nick suggested upgrading to 2.4.12 kernel

If your users are unable to upload anything (DISK QUOTA EXCEEDED) theres a way to turn off the quotas for each partion.

also run /scripts/initquotas

SuperDon
10-17-2001, 04:45 PM
Hi,

Thanks for that.

Is 2.4.12 kernel stable and secure?

Thanks.

Jedito
10-17-2001, 06:29 PM
I has the same problem.
What I has to do was delete all the aquote in all the partitions and run /scripts/initquotas

The problem is that you have to setup the quotas of all the accounts of the server :(

AlaskanWolf
10-17-2001, 07:08 PM
2.4.12 is secure and the quotas are fixed (somewhat)

the easiest and fastest thing to do is turn off quotas on each partition quotasoff /home etc...

Once you delete the .user files, your customers quotas are screwed (IE: -29.0 megs)

SuperDon
10-19-2001, 03:17 AM
Hi,

Okay I am bit confused and at a dead end!

I tried everthing I could find to try and fix this and nothing work, so last nigh I upgraded to kernel 2.4.12.

This didnt fix the problem so I left it overnight - this morning a number of services have crashed (its back up again now!).

I really want to get this quota fault fixed. What do i need to do now exactly?

Cheers

Webdude
10-19-2001, 03:42 AM
How come everything "cpanel" related is blamed on the kernal, or anything that's NOT cpanel??

At the same time, how come all the other control panels dont have quota probs when using the same kernal??

SuperDon
10-19-2001, 04:08 AM
Webdude, I am only trying to fix the fault and following other peoples advice. What do you think should fix the problem?

Jedito
10-19-2001, 04:41 AM
has you tried delete all the aquota.user files (including in the /, /home, /var, /backup, /usr, etc)
and run /scripts/initquotas?

AlaskanWolf
10-19-2001, 06:03 AM
Originally posted by Webdude
How come everything "cpanel" related is blamed on the kernal, or anything that's NOT cpanel??

At the same time, how come all the other control panels dont have quota probs when using the same kernal??

its the easiest way out of a situation the developers can get out of...just pass the blame

Webdude
10-19-2001, 11:30 AM
I'm sorry SuperDon, I wasnt getting onto you. It's just that cpanel is always blaming issues on the kernal or other things. It's a scapegoat. He (Nick) doesnt know how to fix the problem in cpanel, so he blames other things, usually the kernel....just like AlaskanWolf said. I don't know how to fix the problem, or many others in cpanel, but Nick is supposed to at least "try" to fix them, not just pass the blame..

Originally posted by SuperDon
Webdude, I am only trying to fix the fault and following other peoples advice. What do you think should fix the problem?

SuperDon
10-19-2001, 11:41 AM
No problem Webdude, I realise that now.

Is this a problem that everyone is having or just a few?

Its starting to get me a bit angry cos I have tried so many things and nothing is fixing it.

Its fine within WHM, its just on the CPanels its all negative figures and they dont seem to relate to the actual space used in any way!

Cheers

Webdude
10-19-2001, 11:49 AM
Yes this is a common issue with cpanel. However, there is some good news within the bad..it measures and controls a clients account by whats show in the WHM, not what is shown to them...