domain not create - help

gvh

Verified User
Joined
May 14, 2010
Messages
37
Code:
User xxx created



Details

Unix User created successfully

 User's System Quotas set
 User's data directory created successfully
 Domains directory created successfully
Error Creating /home/xxx/domains
Disk quota exhausted


Unable to create directory /home/xxx/domains/xxx.xxx,
A directory component in /home/xxx/domains/xxx.xxx does not exist or is a dangling symbolic link

 Unable to find /home/nexia/domains
Error creating /home/nexia/domains/xxx.xxx/public_html
A directory component in /home/xxx/domains/xxx.xxx/public_html does not exist or is a dangling symbolic link

Error creating /home/xxx/domains/xxx.xxx/public_html/cgi-bin
A directory component in /home/xxx/domains/xxx.xxx/public_html/cgi-bin does not exist or is a dangling symbolic link

Error creating /home/xxx/domains/xxx.xxx/public_html/cgi-bin/.htaccess
 Unable to open /home/xxx/domains/xxx.xxx/public_html/cgi-bin/.htaccess for writing: No such file or directory

Error creating /home/xxx/domains/xxx.xxx/private_html
A directory component in /home/xxx/domains/xxx.xxx/private_html does not exist or is a dangling symbolic link

Unable to create directory /home/xxx/domains/xxx.xxx/public_ftp,
A directory component in /home/xxx/domains/xxx.xxx/public_ftp does not exist or is a dangling symbolic link

Unable to create directory /home/xxx/domains/xxx.xxx/public_ftp/incoming,
A directory component in /home/xxx/domains/xxx.xxx/public_ftp/incoming does not exist or is a dangling symbolic link


Errors encountered while creating domain. Not adding domain to /etc/named.conf
Error Creating Domain
 
Last edited:
Is your server or you bought hosting from some hosting provider?

Check if you have a /usr/local/directadmin/scripts/custom/user_create_post.sh

and what is in it and what is set to do.

Regards
 
Hello,

This is the error I'd be suspicious of:
Code:
Error Creating /home/xxx/domains
Disk quota exhausted
A few things to check:
1) Ensure the disk isn't full:
Code:
df -h
2) Check to ensure that the User's new home directory is chowned to the User, eg
Code:
ls -lad /home/[b]user[/b]

3) On some systems, there is a delay between the creation of the home directory and the system loading in the uid/gid values (which DA tries to read right away after creation).
Sometimes, adding a pause after the useradd command will help this:
http://help.directadmin.com/item.php?id=172

4) Check the actual quotas of the newly created user, eg:[code]quota -v [b]user[/b]
and if the User is over quota, see this guide:
http://help.directadmin.com/item.php?id=39

John
 
Back
Top