Como corrigir “Não é possível iniciar serviços” no VMware Player 4.0.3. no Ubuntu 12.04 32 Bit

10

Acabei de atualizar para o Ubuntu 12.04 e instalei o último VMware (4.0.3). Quando ele inicia, mostra "Antes de executar o VMware, vários módulos devem ser compilados e carregados no kernel em execução".

Após a compilação, mostra "Não foi possível iniciar os serviços. Consulte o arquivo de log /tmp/vmware-root/modconfig-17200.log para obter detalhes". O log é:

2012-05-07T12:43:24.786-03:00| vthread-3| I120: Log for VMware Workstation pid=17200 version=8.0.3 build=build-703057 option=Release
2012-05-07T12:43:24.786-03:00| vthread-3| I120: The process is 32-bit.
2012-05-07T12:43:24.786-03:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2012-05-07T12:43:24.786-03:00| vthread-3| I120: Host is Linux 3.2.0-24-generic-pae Ubuntu 12.04 LTS
2012-05-07T12:43:24.785-03:00| vthread-3| I120: Msg_Reset:
2012-05-07T12:43:24.785-03:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2012-05-07T12:43:24.785-03:00| vthread-3| I120: ----------------------------------------
2012-05-07T12:43:24.785-03:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2012-05-07T12:43:24.786-03:00| vthread-3| I120: Msg_Reset:
2012-05-07T12:43:24.786-03:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2012-05-07T12:43:24.786-03:00| vthread-3| I120: ----------------------------------------
2012-05-07T12:43:24.786-03:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2012-05-07T12:43:24.786-03:00| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-17200.log
2012-05-07T12:43:24.901-03:00| vthread-3| I120: modconf query interface initialized
2012-05-07T12:43:24.922-03:00| vthread-3| I120: modconf library initialized
2012-05-07T12:43:24.948-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:24.954-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.962-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.988-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:24.988-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:24.990-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.997-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.024-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.043-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.046-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.049-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.052-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.056-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.070-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.072-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.075-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.077-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.079-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.083-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.090-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.111-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.128-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.130-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.133-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.135-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.138-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.142-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.150-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.175-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.207-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.211-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.213-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.216-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.218-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.449-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.450-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.452-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.462-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.491-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.491-03:00| vthread-3| I120: Building module vmmon.
2012-05-07T12:43:25.491-03:00| vthread-3| I120: Extracting the sources of the vmmon module.
2012-05-07T12:43:25.501-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:29.241-03:00| vthread-3| I120: Installing module vmmon from /tmp/vmware-root/modules/vmmon.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:29.242-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vmmon.ko
2012-05-07T12:43:30.300-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:30.300-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:30.302-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:30.309-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:30.333-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:30.333-03:00| vthread-3| I120: Building module vmnet.
2012-05-07T12:43:30.333-03:00| vthread-3| I120: Extracting the sources of the vmnet module.
2012-05-07T12:43:30.340-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:32.352-03:00| vthread-3| I120: Failed to compile module vmnet!
2012-05-07T12:43:32.357-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:32.357-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:32.359-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:32.367-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:32.393-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:32.393-03:00| vthread-3| I120: Building module vmblock.
2012-05-07T12:43:32.393-03:00| vthread-3| I120: Extracting the sources of the vmblock module.
2012-05-07T12:43:32.402-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmblock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:39.651-03:00| vthread-3| I120: Installing module vmblock from /tmp/vmware-root/modules/vmblock.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:39.651-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vmblock.ko
2012-05-07T12:43:40.798-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:40.798-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:40.801-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:40.821-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:40.847-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:40.848-03:00| vthread-3| I120: Building module vmci.
2012-05-07T12:43:40.848-03:00| vthread-3| I120: Extracting the sources of the vmci module.
2012-05-07T12:43:40.857-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:43.301-03:00| vthread-3| I120: Installing module vmci from /tmp/vmware-root/modules/vmci.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:43.301-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vmci.ko
2012-05-07T12:43:44.466-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:44.466-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:44.468-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:44.476-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:44.503-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:44.503-03:00| vthread-3| I120: Building module vmci.
2012-05-07T12:43:44.503-03:00| vthread-3| I120: Extracting the sources of the vmci module.
2012-05-07T12:43:44.514-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:45.089-03:00| vthread-3| I120: Building module vsock.
2012-05-07T12:43:45.089-03:00| vthread-3| I120: Extracting the sources of the vsock module.
2012-05-07T12:43:45.098-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vsock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:48.932-03:00| vthread-3| I120: Installing module vsock from /tmp/vmware-root/modules/vsock.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:48.933-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vsock.ko

Existe uma correção para isso?

Pergunta relacionada (para 64bits, não funcionou para mim - o script é executado com sucesso, mas nada muda): Como instalo o VMware Player?

    
por Tom Brito 07.05.2012 / 17:52

1 resposta

9

Faça o download deste patch

Edite o script para o 4.0.3

gedit patch-modules_3.2.0.sh

Na linha 8, altere o número da versão para a versão do VMware Player que você está usando.

de

plreqver=4.0.2

para

plreqver=4.0.3

ou

plreqver=[x.x.x]

Execute o script.

sudo ./patch-modules_3.2.0.sh
    
por Richard Ayotte 08.05.2012 / 15:30