Add domain error

caesarb

New member
Joined
Oct 25, 2014
Messages
3
Hello,
When I want to add a domain to an exist server with the latest DA it give an error:

"
Details
Unable to write user's httpd.conf
Unable to move /usr/local/directadmin/data/users/admin/httpd.conf.temp to /usr/local/directadmin/data/users/admin/httpd.conf : Operation not permitted

Errors encountered while creating domain. Not adding domain to /etc/named.conf
Error Creating Domain


"

What should I do to solve this problem?
Thank you.
 
You didn't indicate whether you're trying to add a domain name to an existing user or to add a new user, so I tried both on one of my servers.

Latest DirectAdmin, verson, 1.46.3
mod_php, mod_ruid2
CentOS6

As a reseller I added a new user, successfully.

As a user I added a new domain to an account, successfully.

How does your system differ from mine?

I'm guessing this has something to do with rights/permissions, but I'm not sure.

Jeff
 
I tried ./set_permissions.sh all and I get this errors:

"
chown: changing ownership of `/usr/local/directadmin/data/users/admin/httpd.conf': Operation not permitted
chmod: changing permissions of `/usr/local/directadmin/data/users/admin/httpd.conf': Operation not permitted
"
 
Have you chattr'd your /usr/local/directadmin/data/users/admin/httpd.conf file immutable? If not please post the output of:
Code:
ls -al /usr/local/directadmin/data/users/admin/httpd.conf
Jeff
 
Back
Top