Submitted by isdahlc on Wed, 01/16/2013 - 17:54 Pro Licensee
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
Submitted by JamieCameron on Wed, 01/16/2013 - 23:44 Comment #1
You would need to edit the
/etc/passwd
,/etc/shadow
and/etc/group
files and delete the lines for landcrafting.Submitted by isdahlc on Thu, 01/17/2013 - 00:02 Pro Licensee Comment #2
There are no entries for the domain landcrafting.com (or any variation of that domain name) in any of those 3 files.
Submitted by JamieCameron on Thu, 01/17/2013 - 00:06 Comment #3
Are you using LDAP to store users and groups? If so, the user and group will need to be removed from your LDAP database.
Submitted by isdahlc on Thu, 01/17/2013 - 00:13 Pro Licensee Comment #4
No, I am not using LDAP...
Submitted by JamieCameron on Thu, 01/17/2013 - 01:43 Comment #5
Can you post the output from the command :
grep landcrafting /etc/passwd /etc/shadow /etc/group
Submitted by isdahlc on Thu, 01/17/2013 - 02:02 Pro Licensee Comment #6
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?
Submitted by isdahlc on Thu, 01/17/2013 - 02:08 Pro Licensee Comment #7
Got it - thanks!
Deleted entry in httpd.conf file
Deleted dns entry from bind
Was able to setup the domains.
-- Craig
Submitted by andreychek on Thu, 01/17/2013 - 08:19 Comment #8
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.
Submitted by Issues on Thu, 01/31/2013 - 08:46 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.