1. 程式人生 > >Solution After install kernel 2.6.32-504 Could not open /dev/vmmon

Solution After install kernel 2.6.32-504 Could not open /dev/vmmon

After update kernel for 2.6.32-504.12.2,my Centos can't start vm.  “Could not open /dev/vmmon: No such file or directory.”

Solution:

cd /usr/lib/vmware/modules/source/ 

tar xvf vmmon.tar
cd vmmon-only/
make

cp -f vmmon.ko /lib/modules/2.6.32-504.12.2.el6.i686/misc/

service vmware restart
Stopping VMware services:
   VMware Authentication Daemon                            [  OK  ]
   VM communication interface socket family                [  OK  ]
   Virtual machine communication interface                 [  OK  ]
   Virtual machine monitor                                 [  OK  ]
   Blocking file system                                    [  OK  ]
Starting VMware services:
   Virtual machine monitor                                 [  OK  ]
   Virtual machine communication interface                 [  OK  ]
   VM communication interface socket family                [  OK  ]
   Blocking file system                                    [  OK  ]
   Virtual ethernet                                        [  OK  ]
   VMware Authentication Daemon                            [  OK  ]
   Shared Memory Available                                 [  OK  ]

it work