Error creating virtual servers

One of our resellers is receiving an error every time she is trying to create a new virtual server. Here is the error:

Failed to create virtual server: The server quota cannot be set to more than your reseller maximum remaining of None.

The thing is that this reseller has plenty of quota left and she has never selected an "Unlimited" quota for any of the servers.

This error comes after going through the Create Server and clicking the Create Server button.

I can create a server for her as root and assign it to her, but I would like to know how I can get it to work for her.

Status: 
Closed (fixed)

Comments

Howdy -- if you go into System Settings -> Reseller Accounts, can you either copy and paste the contents of that screen, or attach a screenshot of what Virtualmin is seeing there?

Here is a screenshot of the Resellers area.

The one having problems is Clear Simple Marketing.

Everything appears to be setup correctly with them, but they are still unable to create the servers.

Jamie, it looks like a couple of his resellers have a "Total Quota" significantly higher than their "Max Quota".

I suspect that's related to the issue he's having of not being able to add new Virtual Servers, do you have any thoughts as to why he's seeing that and how he might correct it?

The ones that have the total quota higher are setup to not be throttled at all.

The Clear Simple Marketing one is the one having issues and it will not allow them to go over their limits

Seems like there may be a mismatch between Virtualmin's cached mapping between resellers and domains and the actual association.

Try deleting the files match /etc/webmin/virtual-server/map.* , and let us know if this problem still occurs.

She still received the same error after doing this.

Is there any chance we could login to this system to see what is going wrong here?

What information do you need to log into the server?

Also, can we give Dan Kuhlman \ dkuhlman@etechshield.com access to this ticket?

When I log into Virtualmin, under system settings, the menu says "BORGNET Support Login Privileges" and Submit a BORGNET Support Ticket". I'm not sure why Scott G changed those. How do we change them back to the support tickets come here?

What information do you need to log into the server?

You can either enable Remote Support using the Virtualmin Support module, or you can email your login details to Jamie using jamie@virtualmin.com (be sure to include a link to this ticket in the message body).

Also, can we give Dan Kuhlman \ dkuhlman@etechshield.com access to this ticket?

Tickets are available to anyone, unless they're marked private. So you can show Dan this ticket by sending him to this URL:

https://www.virtualmin.com/node/21530

Sorry it's been so long. Our server does not have the Virtualmin Support module, but rather has one called BORGNET, which we want to change to the Virtualmin one.

I tried creating a new user to give access, but it did not seem to be working correctly.

Can I get some instructions as to how I can create a user for your access.

Thanks.

Well, I'm not familiar with the support module you currently have installed.

However, if you don't have access to the Virtualmin Support module, most folks find it simplest to set a temporary root password, and to send us that login information.

Then, once things are working, that password can be changed back to what it had been.

Sorry it took so long,

I sent an email to Jamie with the login credentials that should work.

Thanks for the login .. I am looking into the issue now.

Ok, the issue here is that the reseller clearsimplemarketing owns several virtual servers that have unlimited quota ... but the reseller's own quota is limited. This confuses VIrtualmin, causing it to display these unusual errors.

You can see these incorrect quotas with the following command, run as root :

virtualmin list-domains --reseller clearsimplemarketing --multiline --toplevel | grep -i -e "Server quota" -e "^[a-z]"

The bigger issue is that Virtualmin doesn't display this problem properly, or prevent you from setting the quota for a virtual server to unlimited when it is owned by a reseller. I will fix that in the next release.

Till then, you should set a quota limit for all this reseller's domains.

Automatically closed -- issue fixed for 2 weeks with no activity.