Cách sửa lỗi Không thể khởi động dịch vụ của Wap trong VMware Player 4.0.3. trên Ubuntu 12.04 32 bit


10

Tôi vừa cập nhật lên Ubuntu 12.04 và cài đặt VMware (4.0.3) mới nhất. Khi nó khởi động, nó hiển thị "Trước khi bạn có thể chạy VMware, một số mô-đun phải được biên dịch và tải vào kernel đang chạy".

Sau khi biên dịch, nó hiển thị "Không thể khởi động dịch vụ. Xem tệp nhật ký /tmp/vmware-root/modconfig-17200.log để biết chi tiết". Nhật ký là:

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

có cách sửa nào cho nó không?

Câu hỏi liên quan (đối với 64 bit, không hoạt động với tôi - tập lệnh chạy thành công, nhưng không có gì thay đổi): Làm cách nào để tôi cài đặt VMware Player?


Có cùng một vấn đề vào ngày 12.04, 11.10 hoạt động hoàn hảo với VMWare Player. Rất thích nhìn thấy một giải pháp về điều này vì tôi không bao giờ có thể tìm thấy một. +1
SQLSavant

Câu trả lời:


9

Tải về bản vá này

Chỉnh sửa tập lệnh cho 4.0.3

gedit patch-modules_3.2.0.sh

Trên dòng 8, thay đổi số phiên bản thành phiên bản VMware Player mà bạn đang sử dụng.

từ

plreqver=4.0.2

đến

plreqver=4.0.3

hoặc là

plreqver=[x.x.x]

Chạy kịch bản.

sudo ./patch-modules_3.2.0.sh

Tôi đã làm nhưng tôi đã nhận được bản vá lỗi sau đây-modules_3.2.0.sh: 27: [: player4.0.3: bản vá toán tử không mong muốn cho VMWare WorkStation 8.0.2 hoặc VMWare Player 4.0.2. Thoát

Đây là câu trả lời cho câu hỏi liên quan. Kịch bản chạy, nhưng không có gì thay đổi.
Tom Brito

@TomBrito có lỗi gì khi bạn chạy patch-modules_3.2.0.shtập lệnh không? Tôi thực sự đã làm sudo -và từ vỏ gốc chạy ./patch-modules_3.2.0.sh. Hơi khác so với câu trả lời của tôi nhưng có lẽ quan trọng.
Richard Ayotte

@TomBrito Hãy chắc chắn rằng bạn KHÔNG chạy tập lệnh với sh patch-modules_3.2.0.sh nhưng bạn làm điều đó với sudo ./patch-modules_3.2.0.sh Ngoài ra, hãy sử dụng lệnh vmware-Installer -l để kiểm tra phiên bản VMware Player nào bạn đã cài đặt và thay đổi plreqvar tương ứng trong patch-modules_3.2.0.sh (tức là bạn có thể có 4.0.2 hoặc 4.0.3)

3
Kể từ tháng 7 năm 2012, phiên bản VMplayer (4.0.4) gần đây nhất vẫn yêu cầu bản vá này cho tôi trên kernel 3.2. Vì vậy, plreqver=4.0.3nên được thay đổi thành plreqver=4.0.4.
shanet
Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.