Unable to restart Apache after deleting a virtual server

SYSTEM INFORMATION
OS type and version Debian 10
Virtualmin version 7.1-1

I deleted some virtual servers, and now Apache won’t restart because it’s still looking for the deleted virtual server configurations. How can I resolve this issue?"

I would check the apache config file for the “reg” configuration as it seem it still exists.
The apache error log should help as well. Debian is not a OS I have used so maybe someone can help more.

Were there errors when you deleted the virtual server? I assume you deleted in Virtualmin? It should have removed the VirtualHost file from /etc/apache2/sites-available and the link from /etc/apache2/sites-enabled.

To get Apache starting again, you can delete that VirtualHost by removing the file and link. There may be other stuff needing cleaned up, since obviously something went wrong somewhere during deletion. Without errors from the deletion, it may be hard to say what happened when. You may be able to find clues in the miniserv.error log from the time when you deleted the domain.

After removing the VirtualHost file from /etc/apache2/sites-available and the link from /etc/apache2/sites-enabled, it worked! Thanks, Joe, for your help.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.