Adding user fails - urgent

Splet

Verified User
Joined
Oct 17, 2007
Messages
40
Added a few users without problem, but now it doesn't work anymore. New user directory gets created like this (in /home):

drwx--x--x 34 root root 4096 nov 14 22:00 .
drwx------ 3 root root 4096 nov 14 21:51 user

WEB OUTPUT when adding user:

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
...

It's obvious that creating subdirs fails, as main user directory has permissions 700 owned by root. But, why does this happen? Same thing happens when adding reseller. I've seen a few questions like this in forums, but without any acceptable answers.

There were no system changes, not in CentOS not in DA system.

Thanks for any info.
 
Updated DA to latest version (from 1.31.0) and it's working now, can add users again. Is this a bug that got corrected in latest version?
 
If you want - I can take a look at your server. Now it's hard to find the problem, but I'm sure it's something with permissions :)
 
Thanks for the offer smtalk, but I think I've solved the problem.

The problem was in QUOTAUGIDLIMIT OpenVZ parameter, I had to increase it. I became suspicious when I tried adding a new user process manually, edquota failed on new users, but it worked on existing users, so I immediately suspected the OpenVZ system error.

I run all my hosting machines in OpenVZ (I own the physical servers), since the overhead is extremely small and backup, management etc. is much easier.

Hope it helps somebody in future, since I've seen this problem arise, but never with any replies that solved it.
 
Back
Top