Error adding new user: Error Creating /home/USER/domains

duncan

Verified User
Joined
Jan 19, 2005
Messages
93
Location
Halifax, NS, Canada
I have been running DA for a year or two with no problems - but suddenly I am getting the following error whenever I try to add a new user. I have not made any system changes for months.

Any idea what can be causing this? I am running Fedora 4.



Unix User created successfully

User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Error Creating /home/USER/domains
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission


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

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

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

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

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

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

Unable to create directory /home/USER/domains/domain.com/public_ftp/incoming,
A directory component in /home/USER/domains/domain.com/public_ftp/incoming does not exist or is a dangling symbolic link
 
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission

Check the permissions on /home

Code:
ls -ld /home

Should be

Code:
drwx--x--x
 
Just to update this old thread, I'm still having this problem.
Several months later and a whole lot of searching, I still have not been able to track it down.

And just to update the above response,
Code:
[root@vps /]# ls -ld /home
drwx--x--x  39 root root 4096 Sep 27 12:22 /home

Does anyone have any idea what could be causing this?

In case it is of any assistance, here is the DA Error Log:
Code:
2007:09:27-12:22:27: Unable to create /home/USER/domains/domain.com
2007:09:27-12:22:27: Unable to copy /home/admin/domains/default to /home/USER/domains/domain.com/public_html : <b>A  directory  component in /home/USER/domains/domain.com/public_html does not exist or is a dangling symbolic link</b><br>
Unable to create the directory /home/USER/domains/domain.com/public_html<br>

2007:09:27-12:22:28: Error creating ./domains/domain.com/public_html -> /home/USER/public_html : Permission denied
2007:09:27-12:45:20: Socket write error: fd is connected to a pipe or socket whose reading end is closed.  When this  happens the writing process will also receive a SIG_PIPE signal.  (Thus, the write return value is seen only if  the program catches, blocks or ignores this signal.)
2007:09:27-12:45:20: Error reading from {SERVER IP}

Anyone?
 
You're probably going to have to have someone with good admin skills and experience with the OS Distribution you're using, log in and figure it out.

Jeff
 
In case anyone comes across this down the road - it turns out that all of this was caused by my VPS. There was some problem with quotas, which caused all these errors. Talk to your server admins.

A huge thanks to jlasman for getting me pointed in the right direction :)

Thanks!

Duncan
 
I am running in to the same issue, but I cannot figure out which resource quota is causing the problem. I would be very grateful for some insight on what yours was, Duncan. Thanks!
 
Call your hosting people and make sure Quotas are turned ON. I believe that was the problem - they had done some update which had affected them. Unfortunately that is all I can remember, but hopefully gives you a clue.

Duncan
 
Back
Top