Wondering how to fix VMware error “Failed to build vmmon”? We can help you.
Installation for Workstation for Linux on Fedora fails on building the VMMON and VMNET modules. And we will be able to see this error from the logs.
Here at Bobcares, we often handle requests from our customers to fix similar VMware errors as a part of our Server Management Services. Today we will see how our support engineers fix this for our customers.
How to fix VMware error “Failed to build vmmon”
Before going into the steps for fixing this error we will see what causes this error.
A typical error may look like the one given below:
Linux for Workstation requires additional packages and steps in order to complete installation. The following steps have been tested on Fedora 28 and Fedora 29 but otherwise would be generally applicable to other Linux distributions. Please adjust for your specific version.
Steps to fix VMware error “Failed to build vmmon”
To successfully install the product we can use the following steps:
1. If we have made an attempt to install Workstation earlier, we must uninstall it first using the following commands in the product documentation:
vmware-installer -u vmware-workstation
2. After that we can install the elfutils-libelf-devel package via terminal. On Fedora, this is can be done with the following command or similar:
sudo dnf install elfutils-libelf-devel
3. The VMMON and VMNET kernel modules are built on the first launch of Workstation. Before launching a workstation, we must ensure that the Linux distribution’s kernel development and header packages are installed. On Fedora or similar We can do this with the following command:
sudo yum install kernel-headers-`uname -r` kernel-devel-`uname -r`
4. After that, we can proceed with the installation of Workstation for Linux.
Note: Workstation will attempt to auto-detect the path to the kernel development and header packages at the end of the product installation. If we successfully installed the packages and they are not found we must check our distros documentation for the location of these files.
[Need assistance? We can help you]
In short, we saw how our Support Techs fix VMware error “Failed to build vmmon” for our customers.