I can not create domains

walo

Verified User
Joined
Mar 19, 2005
Messages
162
under admin user, when i try to create a domain I get this error

Code:
Unable to create that domain

                        Details
        
You've hit your maximum disk quota and do not have enough space to create another domain
Disk is 86% userd and the admin has unlimited disk space on the account.
 
Did you get this resolved? Have you checked to see if you have space on all your partitions?

Did you check system quotas for admin?
Code:
# quota admin
Jeff
 
the same error here and all qutoa's aro none
h1228445:~# quota admin
Disk quotas for user admin (uid 1002): none
h1228445:~# quota martexx
Disk quotas for user martexx (uid 1005): none
h1228445:~# quota texels
Disk quotas for user texels (uid 1069): none
h1228445:~#
when i trie to add a domain as user texel i get this:
Unable to create that domain

Details

You've hit your maximum disk quota and do not have enough space to create another domain

but there is room still!!

/dev/vzfs 10G 2.5G 7.6G 25% /
tmpfs 1011M 0 1011M 0% /lib/init/rw
tmpfs 1011M 4.0K 1011M 1% /dev/shm
 
i get
Bestandssysteem Grtte Gebr Besch Geb% Aangekoppeld op
/dev/vzfs 10G 816M 9,3G 8% /
tmpfs 1011M 0 1011M 0% /lib/init/rw
tmpfs 1011M 4,0K 1011M 1% /dev/shm
sorry for the duct language
but there is room enough

but Jeff, at this time this is no longer a error for me.
i reinstalled (its just a test server) because it semmed to be an eroor of the server itself. (a strato vds)

But if i run accros it again ill post it!

Thanks
 
marcofcp
The original poster hasn't returned. The second poster solved his problem and you haven't given any information which would help us help you.

Jeff
 
marcofcp
The original poster hasn't returned. The second poster solved his problem and you haven't given any information which would help us help you.

Jeff

I have the same problem and I'm willing to give you the info you need.

First of, I have plenty of space when running df -h (17G), and I "quota admin" returns that there is none.

I created another admin user, admin2, and tried to add a domain on that account. Doing that gave me permission errors (sadly, I didn't copy them, but there were two of them and at least one was something under the /etc/ directory I belive). After that, trying again on the admin2 user with the same domain again, I get the message that it's already added. I can't find it anywhere in DA though.

So... what to try and do next?
 
Please give output of some commands and actions so we can analyse your problem and discuss here.
 
Code:
Thanks, and here goes:

When trying to add a domain as admin:

Code:
Unable to create that domain

Details

You've hit your maximum disk quota and do not have enough space to create another domain

df -h:

Code:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             145G  122G   17G  89% /
/dev/sda1              99M   13M   81M  14% /boot
none                 1014M     0 1014M   0% /dev/shm


quota:
Code:
# quota admin
Disk quotas for user admin (uid 501): none


Trying to create a domain as admin2:

Code:
Error Creating Domain

Details


Can't get file lock on /etc/virtual/domains
Can't get file lock on /etc/virtual/domainowners


Error Creating Domain


Going back and trying to create the same domain again (still as admin2):

Code:
Cannot Create Domain

Details

Domain already exists


List of domains for admin2:

Code:
Domain
No Data to Show


That's all I can come up with right now, anything else?

Again, I appreciate all help!
 
from the command line, as root:
Code:
# quota admin
# quota admin2

To remove domains that have only been partially created you may have to delete references to them in /etc/named.conf and files with those domains in their name at /var/named/.

Jeff
 
Thanks for your help, here goes:

Code:
# quota admin
Disk quotas for user admin (uid 501): none
# quota admin2
Disk quotas for user admin2 (uid 503): none
 
Users have no quotas. Which is how it should be for admins. So unless you're actually out of disk space I don't know.

Jeff
 
Users have no quotas. Which is how it should be for admins. So unless you're actually out of disk space I don't know.

Jeff


As you can see above, I'm not out of disk space.

I very much appreciate your help so far. I really think it should be possible for someone from DA to give a more specific reply though. THere must be something specific in the code that triggers that message (out of space), doesn't there?
 
I should have written Admins have no quotas. Sorry for the error.

These forums are not an official DA support forum. Perhaps if you'd like a reply from the DA staff you should write them.

Jeff
 
permissions solved the problem

Another thread solved the quota problem, which is actually a permissions problem.

The solution was to check that the /home/user folder has the correct permissions for the reseller user which is trying to create the domain.

If, for example, the reseller user is harrydean and the folder's owner is root, then the system will give a quota error.

Good luck!
Dotan
 
For me changing the ownership of the user folder to user account solved the problem. Thanks for this!!!
 
Back
Top