So beheben Sie "Dienste können nicht gestartet werden" in VMware Player 4.0.3. unter Ubuntu 12.04 32 Bit

10

Ich habe gerade auf Ubuntu 12.04 aktualisiert und die neueste VMware (4.0.3) installiert. Beim Start wird "Bevor Sie VMware ausführen können, müssen mehrere Module kompiliert und in den laufenden Kernel geladen werden" angezeigt.

Nach dem Kompilieren wird "Dienste können nicht gestartet werden. Weitere Informationen finden Sie in der Protokolldatei /tmp/vmware-root/modconfig-17200.log". Das Protokoll lautet:

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

Gibt es eine Lösung dafür?

Verwandte Frage (für 64 Bit hat bei mir nicht funktioniert - das Skript wird erfolgreich ausgeführt, aber es ändert sich nichts): Wie installiere ich VMware Player?

Tom Brito
quelle
Mit dem gleichen Problem am 12.04 funktioniert 11.10 einwandfrei mit VMWare Player. Würde gerne eine Lösung dazu sehen, da ich nie eine finden könnte. +1
SQLSavant

Antworten:

9

Laden Sie diesen Patch herunter

Bearbeiten Sie das Skript für 4.0.3

gedit patch-modules_3.2.0.sh

Ändern Sie in Zeile 8 die Versionsnummer in die von Ihnen verwendete Version von VMware Player.

von

plreqver=4.0.2

zu

plreqver=4.0.3

oder

plreqver=[x.x.x]

Führen Sie das Skript aus.

sudo ./patch-modules_3.2.0.sh
Richard Ayotte
quelle
Ich habe es getan, aber ich habe den folgenden Fehler bekommen patch-modules_3.2.0.sh: 27: [: player4.0.3: unerwarteter Operator patch-modules_3.2.0.sh: 28: [: player4.0.3: unerwarteter Operator Entschuldigung, dieses Skript ist nur für VMWare WorkStation 8.0.2 oder VMWare Player 4.0.2. Verlassen
Dies ist die Antwort auf die verknüpfte verwandte Frage. Das Skript wird ausgeführt, aber nichts ändert sich.
Tom Brito
@ TomBrito Gibt es Fehler beim Ausführen des patch-modules_3.2.0.shSkripts? Ich habe es tatsächlich getan sudo -und von der Root-Shell lief ./patch-modules_3.2.0.sh. Etwas anders als meine Antwort, aber vielleicht wichtig.
Richard Ayotte
@TomBrito Stellen Sie sicher, dass Sie das Skript NICHT mit sh patch-modules_3.2.0.sh ausführen, sondern mit sudo ./patch-modules_3.2.0.sh. Verwenden Sie auch den Befehl vmware-installer -l, um zu überprüfen, welche VMware Player-Version vorliegt Sie haben plreqvar in patch-modules_3.2.0.sh installiert und entsprechend geändert (dh Sie haben möglicherweise 4.0.2 oder 4.0.3)
3
Ab Juli 2012 hat die neueste Version von VMplayer (4.0.4) diesen Patch für mich auf Kernel 3.2 noch benötigt. Daher plreqver=4.0.3sollte auf geändert werden plreqver=4.0.4.
shanet