From http://www.vmware.com/products/beta/vmware_server/releasenotes_vmserver2.html:
On Linux, if you run vmware-uninstall.pl when virtual machines are running, the uninstall will fail and it will not be possible to shut down the virtual machines.
Workaround:
If you installed using tar:
- Run /etc/init.d/vmware-mgmt restart to restart VMware services.
- If neither xinetd nor inetd is running, run /usr/sbin/vmware-authdlauncher to restart the authorization service.
- Log in to VI Web Access and shut down running virtual machines.
- Re-run vmware-uninstall.pl.
If you installed using rpm:
- Kill all vmnet-xxx and vmware-xxx processes.
- Remove VMware Server files using the following commands:
- rm -rf /etc/vmware
- rm -rf /usr/bin/vmware
- rm -f /lib/modules/`uname -r`/misc/vm*
- rmmod vmnet
- rmmod vmmon