creating user stoped half way

pilpelet

Verified User
Joined
Oct 12, 2003
Messages
108
Hello ,

I worked with DU for a while with greate plesure i must add , untill
i run into configuration problem , as ussal when things are not by the book its quite hard to put it back to normal again .

The problem is that i created a user and the script timed out
so some things added and some didnt , i checked all and tried to
clean apache and DU apache conf's , its still showing now only from the admin option "Add Custom Httpd Configurations "

And also i cant create the user or site again .

Any ideas will be great .

Thanks ,
 
Hello,

If something stopped half way, the main things you'll need to do are:

1) remove the Include line from the /etc/httpd/conf/httpd.conf for the user, failing to do so will prevent apache from restarting. (near bottom of file)

2) remove the zone for the domain. Admin Panel -> Dns Admin -> select Domain, click Delete.

3) remove the domain directory for email:
Code:
rm -f /etc/virtual/domain.com
4) remove the user for DirectAdmin:
Code:
rm -f /usr/local/directadmin/data/users/username
5) delete the sytem user:
Code:
userdel -r username
After that, you should be able to add the user and domain again.

You might want to check the logs to see if there is any useful information as to why it was hanging. (Probably on an executeable such as useradd)

John

John
 
Thanks ,

Worked well , i think it was the unix user that didint let DU to create the account .
 
Back
Top