How can I remove a partially setup domain from Virtualmin?

I am setting up a new domain in VM and the VM web service stopped in the middle (doing all of this through CM, but I don't think that matters).

Do you have any documentation on how I can remove this partially created domain? VM doesn't display it but when I try to recreate it I get the message Failed to create virtual server : A unix user named landcrafting.com already exists - try selecting a different administration username

Thanks! -- Craig

Status: 
Closed (fixed)

Comments

You would need to edit the /etc/passwd , /etc/shadow and /etc/group files and delete the lines for landcrafting.

There are no entries for the domain landcrafting.com (or any variation of that domain name) in any of those 3 files.

Are you using LDAP to store users and groups? If so, the user and group will need to be removed from your LDAP database.

No, I am not using LDAP...

Can you post the output from the command :

grep landcrafting /etc/passwd /etc/shadow /etc/group

Sorry - I was on the wrong damn server... deleted the entry from all 3 files.

Now have errors stating (paraphrasing here): already in DNS, already in apache

I'm guessing I need to delete those manually?

Got it - thanks!

Deleted entry in httpd.conf file
Deleted dns entry from bind

Was able to setup the domains.

-- Craig

Yeah, unfortunately, if Virtualmin doesn't complete the setup process for a Virtual Server, it won't know how to remove what did get setup... to fix that, it would need to be manually removed, which it looks like you recently completed.

I'm glad you got that all fixed up!

If you have any other questions, feel free to let us know.

Automatically closed -- issue fixed for 2 weeks with no activity.