Problem deleting virtual servers

Hi,

I deleted some virtual servers but the operation is very slow at some steps and I get this error message for Deleting virtual website .. :

Apache website failed! : Failed to lock file /etc/apache2/apache2.conf after 5 minutes at ../web-lib-funcs.pl line 1360.

The server seems to be deleted though, but I deleted servers before and I don't recall having had this message.

Status: 
Closed (fixed)

Comments

This can happen if the file /etc/apache2/apache2.conf.lock exists. Check what PID is in that file, and what process has that PID. Then either kill the process, or delete the .lock file.

Thank you. That solved another issue I had : i was not able to install any script from Virtualmin. In fact there was a process in apache2.conf.lock and also in avaliabe_host/xxx.conf.lock (xx being the server where I wanted to install the script). Killing the process and deleting these files restored the system and the script get installed again.

Automatically closed -- issue fixed for 2 weeks with no activity.