Can't create new domain

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,113
Location
California
On one of our systems we can't create a new domain for a user:
Code:
Unable to create directory /home/kwilder/domains/test1111.kwilder.com,
Unknown error

... and there are lots of other errors following that one because that directory doesn't exist.

Everything else is created for the domain. The domain works, except of course that there's no home directory structure for it.

The directory structure itself is as follows:
Code:
[root@jeb domains]# pwd
/home/kwilder/domains
[root@jeb domains]# ls -al
total 24
drwx--x--x    6 kwilder  kwilder      4096 Nov 10 10:34 .
drwx--x--x    5 kwilder  kwilder      4096 Nov 10 10:48 ..
drwx--x---    7 kwilder  apache       4096 Feb 12  2004 attemafriesians.com
drwx--x---    8 kwilder  apache       4096 Feb 12  2004 automatedofficesystems.net
drwx--x---    8 kwilder  apache       4096 Feb 12  2004 kwilderphoto.com
drwx--x---    8 kwilder  apache       4096 Feb 13  2004 mectec-molds.com
[root@jeb domains]#

That the above is correct seems to be verifiable in that we just successfully created a domain here:
Code:
[root@jeb domains]# pwd
/home/jefflasman/domains
[root@jeb domains]# ls -al
total 16
drwx--x--x    4 jefflasman jefflasman     4096 Nov 10 10:36 .
drwx--x--x    4 jefflasman jefflasman     4096 Nov 10 10:36 ..
drwx--x--x    8 jefflasman jefflasman     4096 Mar  3  2004 jefflasman.com
drwx--x--x    6 jefflasman jefflasman     4096 Nov 10 10:36 test1110.jefflasman.com
Look specifically at the "." directory in both; you'll see they both have the same attributes and the same type of nonprivileged user created specifically for domains. So I don't see any reason for the error.

Do you?

Jeff
 
jlasman said:
On one of our systems we can't create a new domain for a user:
Code:
Unable to create directory /home/kwilder/domains/test1111.kwilder.com,
Unknown error

... and there are lots of other errors following that one because that directory doesn't exist.

Everything else is created for the domain. The domain works, except of course that there's no home directory structure for it.

The directory structure itself is as follows:
Code:
[root@jeb domains]# pwd
/home/kwilder/domains
[root@jeb domains]# ls -al
total 24
drwx--x--x    6 kwilder  kwilder      4096 Nov 10 10:34 .
drwx--x--x    5 kwilder  kwilder      4096 Nov 10 10:48 ..
drwx--x---    7 kwilder  apache       4096 Feb 12  2004 attemafriesians.com
drwx--x---    8 kwilder  apache       4096 Feb 12  2004 automatedofficesystems.net
drwx--x---    8 kwilder  apache       4096 Feb 12  2004 kwilderphoto.com
drwx--x---    8 kwilder  apache       4096 Feb 13  2004 mectec-molds.com
[root@jeb domains]#

That the above is correct seems to be verifiable in that we just successfully created a domain here:
Code:
[root@jeb domains]# pwd
/home/jefflasman/domains
[root@jeb domains]# ls -al
total 16
drwx--x--x    4 jefflasman jefflasman     4096 Nov 10 10:36 .
drwx--x--x    4 jefflasman jefflasman     4096 Nov 10 10:36 ..
drwx--x--x    8 jefflasman jefflasman     4096 Mar  3  2004 jefflasman.com
drwx--x--x    6 jefflasman jefflasman     4096 Nov 10 10:36 test1110.jefflasman.com
Look specifically at the "." directory in both; you'll see they both have the same attributes and the same type of nonprivileged user created specifically for domains. So I don't see any reason for the error.

Do you?

Jeff


Code:
Unable to create directory /home/kwilder/domains/test1111.kwilder.com[B],[/B]
Unknown error

Is that "," yours ?? or just a typo when you created the domain ???

Further more, you can check the /var/log/directadmin log files to find what's going on (I hope ;) )

When creating another one, you'll get the same error ?? If so try chmod 777 you're whole home (temporarly) or if you think that's way to unsecure for the few secs it needs, give the group apache and diradmin full access on this dir.

Just try playing with the rights to find out with what rights it DOES work and then try turning it back to where it doesn't. If you found out why ;) Post it :p
 
Is this what you did? (See attached image)
 

Attachments

  • tmp.gif
    tmp.gif
    28.8 KB · Views: 188
Re: Re: Can't create new domain

Problem solved ... see below...
fusionictnl said:
Is that "," yours ?? or just a typo when you created the domain ???
It's not in the domain creation; the error message puts it in; the domain we were trying to create didn't have it.
Further more, you can check the /var/log/directadmin log files to find what's going on (I hope ;) )
Nope. Not even John could see a reason for the error.
When creating another one, you'll get the same error ??
Any domain under this user, we got the error.
If so try chmod 777 you're whole home (temporarly) or if you think that's way to unsecure for the few secs it needs, give the group apache and diradmin full access on this dir.
Tried, of course :) .
Just try playing with the rights to find out with what rights it DOES work and then try turning it back to where it doesn't. If you found out why ;) Post it :p
The answer was found by my client:

The user was over quota.


I feel a bit embarrassed I never thought of it. Neither did John.

So let us all learn from this.

Thanks, all.

Jeff
 
Back
Top