wbm-virtual-server install failure and hang

I went to update the virtualmin components on my test server. It installed the webmin security updates but when it went to install the wbm-virtual-server it generated the following installation error.

Subsequently any attept to access virtualmin simply hang with the browser saying "connected" and "loading" but nothing happens. I have reloaded the page as well as restarted webmin via /etc/init.d/webmin restart, but all to no avail.

How can I get this resolved?

      ============================== Entering rpm code ===============================
      Running rpm_check_debug
      Running Transaction Test
      Finished Transaction Test
      Transaction Test Succeeded
      Running Transaction
        Updating       : wbm-virtual-server                                       1/2
      Error: Webmin server did not write new PID file
      Error
      -----
      Webmin server did not write new PID file
      -----
 
        Cleanup        : wbm-virtual-server                                       2/2 
      =============================== Leaving rpm code ===============================
 
      Updated:
        wbm-virtual-server.noarch 2:3.75-1                                            
 
      Complete!
 
      .. install complete.
 
 
No packages were installed. Check the messages above for the cause of the error.
Status: 
Closed (fixed)

Comments

Looks like Webmin's miniserv.pl process has hung.

To fix this, SSH in as root and run the following commands :

ps axuwwww | grep miniserv | grep webmin | grep -v grep | awk '{ print $2 }' | xargs kill -9
/etc/webmin/start

That got it started again. Thanks. However, it says that all VM packages are up to date. But it's clear the last update of webmin-virtual-server failed.

What command do I use to force it to reinstall?

Actually, it looks like the install really did work fine - just one final restart step failed. So you don't need to force a re-install.

Thanks Jamie, appreciate the quick and accurate responses as usual.