Submitted by michal@trustica.cz on Thu, 10/11/2012 - 04:53
Hello,
vm1:~# virtualmin list-domains|grep loremipsum loremipsum.com loremipsum some-customer
vm1:~# virtualmin delete-domain --domain loremipsum.com Virtual server loremipsum.com does not exist
Could you please help? Backup fails and sends failure emails :(
Status:
Closed (fixed)
Comments
Submitted by andreychek on Thu, 10/11/2012 - 09:45 Comment #1
Hrm, that's an unusual issue.
Do you see that domain listed in the Virtualmin GUI as well?
If so, does it work to delete it from within the GUI?
Submitted by JamieCameron on Thu, 10/11/2012 - 11:13 Comment #2
This could happen if the index files Virtualmin uses to map domain names to IDs got out of date somehow.
To force them to be re-generated, try running :
rm /etc/webmin/virtual-server/map.*
Submitted by michal@trustica.cz on Fri, 10/12/2012 - 02:42 Comment #3
1) i could not see the domain in the web interface.
2) i did the rm ...map* and delete then worked.
FYI:
vm1:~# virtualmin delete-domain --domain loremipsum.com Deleting virtual server loremipsum.com .. Deleting mail aliases .. .. done
.. deleted
Submitted by JamieCameron on Fri, 10/12/2012 - 11:54 Comment #4
Cool, sounds like that fixed it.
Submitted by Issues on Fri, 10/26/2012 - 12:08 Comment #5
Automatically closed -- issue fixed for 2 weeks with no activity.