can not create new users.

chriske21

Verified User
Joined
Feb 26, 2008
Messages
31
Hello,

I am having problems adding new users to my server.

I ran the set_permissions all script but no succes so far.

What happens:


Unix User created successfully

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



Unable to create directory /home/testerrr/domains/tets.deze.bak.nl,
A directory component in /home/testerrr/domains/tets.deze.bak.nl does not exist or is a dangling symbolic link

Error creating /home/testerrr/domains/tets.deze.bak.nl/public_html
A directory component in /home/testerrr/domains/tets.deze.bak.nl/public_html does not exist or is a dangling symbolic link

Error creating /home/testerrr/domains/tets.deze.bak.nl/public_html/cgi-bin
A directory component in /home/testerrr/domains/tets.deze.bak.nl/public_html/cgi-bin does not exist or is a dangling symbolic link

Error creating /home/testerrr/domains/tets.deze.bak.nl/public_html/cgi-bin/.htaccess
Unable to open /home/testerrr/domains/tets.deze.bak.nl/public_html/cgi-bin/.htaccess for writing

Error creating /home/testerrr/domains/tets.deze.bak.nl/private_html
A directory component in /home/testerrr/domains/tets.deze.bak.nl/private_html does not exist or is a dangling symbolic link

Unable to create directory /home/testerrr/domains/tets.deze.bak.nl/public_ftp,
A directory component in /home/testerrr/domains/tets.deze.bak.nl/public_ftp does not exist or is a dangling symbolic link

Unable to create directory /home/testerrr/domains/tets.deze.bak.nl/public_ftp/incoming,
A directory component in /home/testerrr/domains/tets.deze.bak.nl/public_ftp/incoming does not exist or is a dangling symbolic link



Error Creating Domain

User added to ssh config file.

It can not create any domain dir or the domains itself.

More logs,

2008:06:11-15:30:15: Unable to create /home/testerrr/domains/tets.deze.bak.nl
2008:06:11-15:30:15: Unable to copy /home/redmgt/domains/default to /home/testerrr/domains/tets.deze.bak.nl/public_html : <b>A directory component in /home/testerrr/domains/tets.deze.bak.nl/public_html does not exist or is a dangling symbolic link</b><br>
Unable to create the directory /home/testerrr/domains/tets.deze.bak.nl/public_html<br>

2008:06:11-15:30:15: error creating /home/testerrr/public_html : <b>Unknown error</b><br>

2008:06:11-15:30:15: Error creating ./../domains/tets.deze.bak.nl/public_html -> /home/testerrr/public_html/tets.deze.bak.nl : No such file or directory
2008:06:11-15:30:15: error writing /home/testerrr/public_html/.htaccess : Unable to open destination file: /home/testerrr/public_html/.htaccess No such file or directory<br>


Looks like directadmin is trying to copy files from 1 user to another when u make a new user. This cant be right can it ?
________
uhwh warehouse
 
Last edited:
You can ignore all errors after this first one:
Code:
Error Creating /home/testerrr/domains
The first failure is causing a waterfall of errors, so we'll concentrate on the first one.

So.. check to see if /home/testerrr/domains was created or not.
Also see if /home/testerrr was created (DA would have mentioned if it wasn't).

So this would possibly be a quota error, or a permission error.
Make sure it's chowned to testerrr:testerrr and not to something like root.
Also, check quotas:
Code:
quota -v testerrr
Note this could be related:
http://help.directadmin.com/item.php?id=39
Any files on your system in other places with the same UID as the UID used for the new user would automatically become the "owner" of those files, thus he's be instantly over his quota limit.
If that is the cause, any users created after this one (don't delete him) will probably work, since it would go to the next highest UID available.

John
 
Back
Top