delete domain error

#virtualmin delete-domain --domain example.com
Deleting virtual server example.com
Deleting mail aliases …
… done

Disabling log file rotation ..
.. done

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


Deleting home directory ..
.. done

Deleting administration user ..
.. done

Deleting administration group ..
.. done

Deleting server details for example.com ..
.. done

… deleted

#apache2ctl configtest
Warning: DocumentRoot [/home/example.com/httpdocs] does not exist
Syntax error on line 18 of /etc/apache2/sites-enabled/example.com.conf:
can’t get fastcgi file info: /home/example.com/fcgi-bin/php5.fcgi(/home/example.com/fcgi-bin/php5.fcgi), errno: 2

#cat /etc/debian_version
5.0.8

#vmstat 1
procs -----------memory---------- —swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 32968 3718360 32148 255332 0 0 120 0 509 837 0 1 97 2
0 0 32968 3718012 32176 255624 0 0 104 92 623 1054 0 0 98 2
0 0 32968 3717616 32184 255920 0 0 112 164 701 1111 0 0 97 3

free

         total       used       free     shared    buffers     cached

Mem: 4148692 437592 3711100 0 32416 261016
-/+ buffers/cache: 144160 4004532
Swap: 3911816 32968 3878848

quota service disabled

What is a suggestion for a solution?

Make sure there isn’t a “/etc/apache2/apache2.conf.lock” file. If there is – stop Webmin, delete the lock file, then restart Webmin. After that, re-try removing that Virtual Server.

-Eric