In CentOS6.x, when a vmware workstation VM is started, the following error occurs: cocould not open/dev/vmmon, centos6.xvmmon.
An error is reported during initial installation, but the interface can be opened and can be properly installed. However, an error is reported after the installation.
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory
Ignore, because the installation interface can be opened, continue to install until the installation is complete, configure a virtual machine, and then start, decisively report an error,
Cocould not open/dev/vmmon
What should I do? Baidu did not find a correct and available solution. All the so-called solutions were ineffective and helpless)
Sure enough, I found an article in The vmware forum to solve this problem. The original address is: https://communities.vmware.com/message/2442783.
I will describe it again here, because it may be due to environmental factors, I am not very familiar with the operations of high people, haha, it doesn't matter, don't care about the details, just solve the problem, Next let's talk about the operation
1. First, according to the instructions of the superior: cd/tmp2. This is different from the superior. The superior uses the tar-xzvf command. What I say is not a gzip file and does not decompress it, so I used the following method to tar xvf/usr/lib/vmware/modules/source/vmmon.tar 3. Follow the footsteps of senior people to go straight to the end of cd vmmon-only/
Make
Cp vmmon. ko/lib/modules/2.6.32-504. el6.x86 _ 64/misc/vmmon. ko
Modprobe vmmon
4. Start the virtual machine. I should solve it. At least I did. Haha