attempted resinstall broke Virtualmin

I went for a reinstall contrary to the documentation which I had not read. "List virtual servers" command gives ".. your system is not ready for use by Virtualmin." Attempting to add localhost to DNS makes server hang, requiring reboot.

How can I repair this problem, and keep Virtualmin? Alternatively, can I remove Virtualmin without removing accounts and Webmin?