Error adding new user

timmmmmm

New member
Joined
Feb 3, 2009
Messages
1
This is the error message i get if i wanna add a new user. I have tried it several times. Anyone?

User kallebakk created

Details


Unix User created successfully

User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Error Creating /home/kallebakk/domains
User disk quota exhausted when trying to create /home/kallebakk/domains



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

Error creating /home/kallebakk/domains/kallebakker.nl/public_html
A directory component in /home/kallebakk/domains/kallebakker.nl/public_html does not exist or is a dangling symbolic link

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

Error creating /home/kallebakk/domains/kallebakker.nl/public_html/cgi-bin/.htaccess
Unable to open /home/kallebakk/domains/kallebakker.nl/public_html/cgi-bin/.htaccess for writing

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

Error creating /var/spool/virtual/kallebakker.nl
User disk quota exhausted when trying to create /var/spool/virtual/kallebakker.nl

Ensure /var/spool/virtual is chmod 1777.

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

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



Error Creating Domain

User added to ssh config file.
 
User disk quota exhausted when trying to create /home/kallebakk/domains

You didnt give him a big enough quota.
 
We encountered this on another server we managed for a customer.

Seems that the customer was using RSYNC to backup data from one machine to another and when he went to add a new user to the first machine, there was already a UID with data - and therefore all that data got counted to the new user on account creation, forcing him over the limit.

Check to see what that customers UID is

cat /etc/passwd |grep USERNAME

the 123:123 will give you the username (123)

then use the find command to locate all files on the disk owned by that user

find / -uid 123

(warning, that "find" statement may take a LOT of resources, but it will find everything on the disk owned by that UID)
 
Back
Top