An error occurred while running the VM in Ubuntux86_64.

Source: Internet
Author: User
It's hard to install vmwareworkstation in my newly installed Ubuntu7.10x86 _ 64, but the following error is prompted when importing the previous VM to boot: Unabletochangevirtualmachinepowerstate: Failedtoconnecttopeerprocess. at first glance, it seems that a CPU problem is prompted. Restart the bios to enable vt, or the same problem. I checked a lot of information online,

It's hard to install vmware workstation in my newly installed Ubuntu 7.10 x86_64, but the following error is prompted when importing a previous VM to boot:
Unable to change virtual machine power state: Failed to connect to peer process.
At first glance, it seems that a CPU problem is prompted. Restart the bios to enable vt, or the same problem. I checked a lot of information online. In fact, the x86_64 version downloaded by Vmware is not completely a 64-bit program, and a 32-bit database is required to start the VM properly.

Therefore, in a pure 64-bit Linux, the following error occurs when the virtual machine is started after installation:

Unable to change virtual machine power state: Failed to connect to peer process.

The reason is that the system cannot run vmware-vmx because it lacks a 32-bit database.

Of course, it would be too troublesome to re-compile the 32-bit library for this purpose. We can use the ready-made debian software package. The software packages that need to be downloaded include:

Ia32-libs (IA32 base database)
Ia32-libs-gtk (GTK Library)
Libc6-i386 (Glibc Library)
Lib32zl (Zlib library)
Lib32gcc_s Library)

Because I use a pure 64-bit BLFS without any package manager, after downloading the Debian package, I need to manually decompress the files in it. This can be done using the ar and tar commands.

# Mkdir ia32
# Cd ia32
# Ar p ../ia32-libs_2.1_amd64.deb data.tar.gz | tar zxf-
# Ar p ../ia32-libs-gtk_2.0_amd64.deb data.tar.gz | tar zxf-
# Ar p ../libc6-i386_2.6.1-5_amd64.deb data.tar.gz | tar zxf-
# Ar p ../lib32z1_1.2.3.3.dfsg-6_amd64.deb data.tar.gz | tar zxf-
# Ap p ../lib32gcc1_4.1.1-21_amd64.deb data.tar.gz | tar zxf-

After decompression, the following directory is generated in the current directory:
Emul etc lib lib32 usr

Copy them to the/directory.

# Cp-Arn */

Add the following path to/etc/ld. so. conf.
/Emul/ia32-Linux/lib
/Emul/ia32-Linux/usr/lib

And run ldconfig to update the library Cache

OK. Now, the IA32-related libraries required for running vmware are ready and there is no problem with starting the virtual machine.


[Note]: If you have installed vmware-any-update-XXX, the following error may occur:

Version mismatch with vmmon module: expecting 137.0, got 138.0.

The solution is to reinstall vmware. Do not install vmware-any-update. It is for a 32-bit environment.

The procedure is simple: first run the vmware-uninstall.pl uninstall, and then reinstall it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.