What is left behind after deleting a Virtual Server

I just deleted a Virtual Server and I search the disk for files relates to it.

I found a reference here: /etc/webmin/virtual-server/names/mydomain.tld.lock

other references here: /var/webmin/diffs /var/webmin/output

  • What are these files?
  • Why are these still in file system?
  • Is it safe to delete them?
  • What else to do for checking if a virtual server is cleaned up completely?

Thank you

Status: 
Active

Comments

The output/diffs directories in /var/webmin just contain historical data. Removing a domain doesn't delete all references from log files and such.

The file "/etc/webmin/virtual-server/names/mydomain.tld.lock" is a lock file.

Having that won't harm anything, though in general lock files should only be there while some operation is occurring. If a lock file remains there afterwards, it may be a sign that something went wrong at some point.

You may want to try restarting Webmin, just to make sure it's not holding the lock file open.

If that doesn't delete it, you can certainly manually delete that lock file.

FYI, it seems like a Virtualmin bug that the .lock file is left around after deletion ... I'll fix that.

Thank you. I restarted a couple of time webmin service and the file is still there. I can delete it manually, but please check the whole delete process of a virtual server for a complete cleanup.