Comment corriger «Impossible de démarrer les services» dans VMware Player 4.0.3. sur Ubuntu 12.04 32 bits

10

Je viens de mettre à jour vers Ubuntu 12.04 et j'ai installé le dernier VMware (4.0.3). Lorsqu'il démarre, il affiche "Avant de pouvoir exécuter VMware, plusieurs modules doivent être compilés et chargés dans le noyau en cours d'exécution".

Après la compilation, il affiche "Impossible de démarrer les services. Voir le fichier journal /tmp/vmware-root/modconfig-17200.log pour plus de détails". Le journal est:

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

Y a-t-il une solution à cela?

Question connexe (pour 64 bits, n'a pas fonctionné pour moi - le script s'exécute avec succès, mais rien ne change): Comment installer VMware Player?

Tom Brito
la source
Avoir le même problème le 12.04, 11.10 fonctionne parfaitement avec VMWare Player. J'adorerais voir une résolution à ce sujet car je n'ai jamais pu en trouver. +1
SQLSavant

Réponses:

9

Téléchargez ce patch

Modifiez le script pour 4.0.3

gedit patch-modules_3.2.0.sh

À la ligne 8, remplacez le numéro de version par la version de VMware Player que vous utilisez.

de

plreqver=4.0.2

à

plreqver=4.0.3

ou

plreqver=[x.x.x]

Exécutez le script.

sudo ./patch-modules_3.2.0.sh
Richard Ayotte
la source
J'ai fait mais j'ai eu l'erreur suivante patch-modules_3.2.0.sh: 27: [: player4.0.3: opérateur inattendu patch-modules_3.2.0.sh: 28: [: player4.0.3: opérateur inattendu Désolé, ce script est uniquement pour VMWare WorkStation 8.0.2 ou VMWare Player 4.0.2. Sortie
Ceci est la réponse à la question connexe liée. Le script s'exécute, mais rien ne change.
Tom Brito
@TomBrito y a-t-il des erreurs lorsque vous exécutez le patch-modules_3.2.0.shscript? Je l'ai fait sudo -et à partir du shell racine, j'ai couru ./patch-modules_3.2.0.sh. Légèrement différent de ma réponse mais peut-être important.
Richard Ayotte
@TomBrito Assurez-vous de NE PAS exécuter le script avec sh patch-modules_3.2.0.sh mais vous le faites avec sudo ./patch-modules_3.2.0.sh Utilisez également la commande vmware-installer -l pour vérifier quelle version de VMware Player vous avez installé et modifié plreqvar en conséquence dans patch-modules_3.2.0.sh (c'est-à-dire que vous pouvez avoir 4.0.2 ou 4.0.3)
3
En juillet 2012, la version la plus récente de VMplayer (4.0.4) requérait encore ce correctif pour moi sur le noyau 3.2. Ainsi, plreqver=4.0.3devrait être changé en plreqver=4.0.4.
shanet