Submitted by jfquestiaux on Thu, 05/19/2011 - 12:26
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
Submitted by JamieCameron on Thu, 05/19/2011 - 13:06 Comment #1
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.Submitted by jfquestiaux on Thu, 05/19/2011 - 15:52 Comment #2
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.
Submitted by JamieCameron on Thu, 05/19/2011 - 15:54 Comment #3
Ok, great!
Submitted by Issues on Thu, 06/02/2011 - 17:22 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.