thedavid
03-05-2003, 04:36 PM
Hello all,
WHM has me ripping my hair out today with its quota management.
I've created several reseller accounts in the past 2 days. I just created another reseller account today, and perhaps there's something I'm doing wrong.
When I create the account I do this:
1) Run the API queue in modernbill so that it auto-creates a domain account for the user.
2) In WHM turn the customers reseller account on (make them a reseller)
3) Edit the reseller priviledges so that they can only do the things I want. (no root access, no modifying others' zone files, etc) I also limit by disk space here, to whatever quotas their plan calls for (Limit Accounts user can create by Resource Usage)
4) I then modify their domain name so that their disk and bandwidth quotas don't match the reseller account entirely (so they're not using 100% right when they start, in other words)
5) Then I change the ownership of the users domain name to the reseller account (IE, the user can modify their own account)
6) Then I do various IP things, assigning them the addresses, setting defaults, etc.
That's all worked great before. I have a bunch of resellers all using this without problem. Except for this one - when the customer goes to create
an account WHM pops up the following error:
"Sorry you cannot create this account because you are out of disk space."
In other words, the customer has 3000 MB of disk space, and 50000 MB Bandwidth, but in the box that says remaining available, it's all zeros.
Anyone know how can this be fixed? I've tried running the fixquotas script as well as the fixcommonproblems (which looks like it's mostly email oriented anyway) with no luck. I've also tried removing and re-adding the reseller priviledges, resetting quotas on the main account, etc. It just sticks.
To allow this customer to create accounts I've had to not limit him by disk space/transfer at all.
Any insight would be appreciated. I did
some searches but do not see this error in the cpanel forums. Anyone else run into this error?
-David
WHM has me ripping my hair out today with its quota management.
I've created several reseller accounts in the past 2 days. I just created another reseller account today, and perhaps there's something I'm doing wrong.
When I create the account I do this:
1) Run the API queue in modernbill so that it auto-creates a domain account for the user.
2) In WHM turn the customers reseller account on (make them a reseller)
3) Edit the reseller priviledges so that they can only do the things I want. (no root access, no modifying others' zone files, etc) I also limit by disk space here, to whatever quotas their plan calls for (Limit Accounts user can create by Resource Usage)
4) I then modify their domain name so that their disk and bandwidth quotas don't match the reseller account entirely (so they're not using 100% right when they start, in other words)
5) Then I change the ownership of the users domain name to the reseller account (IE, the user can modify their own account)
6) Then I do various IP things, assigning them the addresses, setting defaults, etc.
That's all worked great before. I have a bunch of resellers all using this without problem. Except for this one - when the customer goes to create
an account WHM pops up the following error:
"Sorry you cannot create this account because you are out of disk space."
In other words, the customer has 3000 MB of disk space, and 50000 MB Bandwidth, but in the box that says remaining available, it's all zeros.
Anyone know how can this be fixed? I've tried running the fixquotas script as well as the fixcommonproblems (which looks like it's mostly email oriented anyway) with no luck. I've also tried removing and re-adding the reseller priviledges, resetting quotas on the main account, etc. It just sticks.
To allow this customer to create accounts I've had to not limit him by disk space/transfer at all.
Any insight would be appreciated. I did
some searches but do not see this error in the cpanel forums. Anyone else run into this error?
-David
