Create new user error !!

tonycwng

Verified User
Joined
Aug 2, 2007
Messages
6
Dear All,

When I create a new user (rhenish2) , I got an error the message as below. Did anybody can help me !!



User rhenish2 created



Details


Unix User created successfully

User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Error Creating /home/rhenish2/domains
Unknown error



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

Error creating /home/rhenish2/domains/rhenish.com/public_html
A directory component in /home/rhenish2/domains/rhenish.com/public_html does not exist or is a dangling symbolic link

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

Error creating /home/rhenish2/domains/rhenish.com/public_html/cgi-bin/.htaccess
Unable to open /home/rhenish2/domains/rhenish.com/public_html/cgi-bin/.htaccess for writing

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

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

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



Error Creating Domain
 
The first error is the important one; once it's fixed the others will work as well.

Check the rights/permissions on the /home/directory and on the /home/rhenish2 directory.

Does this happen for all users?

What's the output of:
Code:
# ls -ald /home ; ls -ald /home/rhenish2 ; ls -ald /home/rhenish2/domains
Jeff
 
The output as below :

[root@ta01 /]# ls -ald /home ; ls -ald /home/rhenish2 ; ls -ald /home/rhenish2/domains
drwx--x--x 47 root root 4096 Sep 24 15:18 /home
drwx--x--x 5 rhenish2 rhenish2 4096 Sep 24 15:18 /home/rhenish2
ls: /home/rhenish2/domains: No such file or directory
[root@ta01 /]#


The error only happen on all the new created acount !!

I can send you password if you need.

Best Regards,
Tony NG
 
It all looks good from here except that of course the domains directory isn't being created.
I can send you password if you need.
We don't log into systems except for clients with whom we have an agreement to perform service. You might want to contact DirectAdmin support.

Jeff
 
Back
Top