VMware Unable to start service on linux



A common problem when installing vmware on ubuntu is compiling the kernel modules. Normally after installing vmware workstation on linux, at the first time we run vmware it popped up a message saying that several modules must be compiled and loaded into running kernel.

when compiling this modules it gives an error message saying that unable to start services.

This problem can be successfully solved using following steps.

1. log in as root
    sudo -i

2. Enter your root password

3. install the DKMS(Dynamic kernel module support) package.
    sudo apt-get install dkms

4. install the "curl" command line tool for file transferring (many ways to do this without curl. normally i used curl)
   sudo apt-get install curl

5. get the patch from Internet using curl.(you should have working internet connection)
   curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch

6. run following commands one by one to run the patch.
    cd /usr/lib/vmware/modules/source
    tar -xf vmnet.tar
    patch -p0 -i /tmp/vmnet-3.19.patch
    mv vmnet.tar vmnet.tar.SAVED
    tar -cf vmnet.tar vmnet-only
    rm -r vmnet-only
    vmware-modconfig --console --install-all

Now close the terminal and run the VMware. it will properly compile the kernel modules and loaded into the running kernel.

Hope you will solved the problem. in my case i installed VMware workstaion 11.0.0 with ubuntu 15.04. 

Comments

Popular posts from this blog

Installing and Configuring ndpi-netfilter for traffic controlling on ubuntu

installing and configuring ndpi-netfilter for traffic controlling on RedHat/CentOS 7

Configuring Check Point SSL Network Extender on Ubuntu 14.04/10