The miniserv.conf file is not properly cleaned up after virtual server is deleted

Webmin was down on one of our servers and attempt to restart it from CLI gave:

service webmin restart
Stopping Webmin server in /usr/libexec/webmin
/etc/webmin/stop: line 4: kill: (22801) - No such process
Starting Webmin server in /usr/libexec/webmin
Failed to open SSL key /home/somesite/ssl.key at /usr/libexec/webmin/ line 4434.

which was a surprise to see, because the website had been deleted quite some time ago. Anyway, I had to open the /etc/webmin/miniserv.conf file and delete the following lines:,*,*

and then only Webmin came up.

Fixed (pending)


Fixed (pending)

I had a look at the code, and I found a situation in which this could happen - I'll fix it in the next Virtualmin release.