VMware {code} Community
ccaraivan
Contributor
Contributor

Vmware-vix 64 bit installation problem on Debian Lenny

Hello,

I'm trying to install vmware-vix on Debian Lenny, without X. I logged in as root, then launched the installer:

./VMware-VIX-1.10.1-266898.x86_64.bundle --console

Unfortunately it does this:

________________________________________________________________________________________

The product is ready to be installed. Press Enter to begin

installation or Ctrl-C to cancel.

Rolling back VMware Installer 1.1

Removing files...

Uninstalling VMware Installer 1.1

Deconfiguring...

________________________________________________________________________________________

Then I only get /etc/vmware-installer, /usr/lib/vmware-installer, /var/log/vmware-installer,but no Vix. The log says:

________________________________________________________________________________________

Using UI type console

Opening database file /etc/vmware-installer/database

Installation failed, rolling back installation.

Top level exception handler

Traceback (most recent call last):

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/transaction.py", line 348, in RunThreadedTransaction

txn.Run()

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/transaction.py", line 67, in Run

self.get()()

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/common.py", line 197, in Show

un.Execute(txn.temp, onProgress)

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/install.py", line 187, in Execute

self._removeFiles(db.database.components.GetInstalledFiles(self.component.uid), onProgress)

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/install.py", line 161, in _removeFiles

onProgress()+

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/common.py", line 217, in _onProgress

txn.ui.SetProgress(fraction)

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/ui/console.py", line 240, in SetProgress

self.EnableCursor(False) # Disable blinking cursor

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/ui/console.py", line 280, in EnableCursor

sys.stdout.write(CURSOR_INVISIBLE)

TypeError: argument 1 must be string or read-only character buffer, not None

Rollback failed

Traceback (most recent call last):

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/transaction.py", line 401, in RunThreadedTransaction

txn.Run()

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/transaction.py", line 67, in Run

self.get()()

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/common.py", line 117, in Show

wrap(u.PostUninstall, txn.opts, onProgress)

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/util/__init__.py", line 26, in wrap

func(*args, **kwargs)

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/install.py", line 174, in PostUninstall

self._removeFiles(db.database.components.GetFiles(self.component.uid), onProgress)

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/install.py", line 161, in _removeFiles

onProgress()

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/core/common.py", line 217, in _onProgress

txn.ui.SetProgress(fraction)

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/ui/console.py", line 240, in SetProgress

self.EnableCursor(False) # Disable blinking cursor

File "/tmp/vmis.eMKdWh/install/vmware-installer/vmis/ui/console.py", line 280, in EnableCursor

sys.stdout.write(CURSOR_INVISIBLE)

TypeError: argument 1 must be string or read-only character buffer, not None

________________________________________________________________________________________

Did anyone from VMWare test the vmware-vix installer without X? Did anyone manage to install vmware-vix on a system without X?

The bundle is ok, I checked the MD5. I extracted the contents and it has the vmware-vix and vmware-installer folders, but it only installs vmware-installer Smiley Sad

When launching vmrun from the extracted bundle, I get this error:

________________________________________________________________________________________

Error: Cannot find support libraries; Vix appears to have not been installed

________________________________________________________________________________________

I tried symlinking the libvix.so in /usr/lib, adding the lib/ and lib/VSphere-4.1/64bit/ foldes to LD_LIBRARY_PATH, but still nothing. What does the installer do to make vmrun work? I looked through the Python files, but it's not very clear Smiley Sad

0 Kudos
2 Replies
admin
Immortal
Immortal

One thing you can try is to set the TERM environment variable to 'dumb' so that the installer won't try to use the Curses library, your version of which might be the issue.

TERM=dumb sh ./VMware-VIX-1.10.1-266898.x86_64.bundle --console

Also, it would be very helpful if you could post a copy of the /var/log/vmware-installer log file from when this fails (that is, before you try with TERM set). That will help us figure out exactly what is going wrong, so we can try to fix the installer in the future.

0 Kudos
fnielsen
Contributor
Contributor

Thanks to this very old post, was able to install the 64-bit ovftool on an Ubuntu 15.04 server - I'd been trying for well over a year to get multiple versions of ovftool to install on multiple versions of Ubuntu server with no success, but this worked:

TERM=dumb /bin/sh ./VMware-ovftool-4.2.0-4586971-lin.x86_64.bundle

Here is my complete vmware-installer.log from before when this failed, in the event it helps someone fix the installer:

[2016-12-16 22:38:17,494]

[2016-12-16 22:38:17,494]

[2016-12-16 22:38:17,494] Installer running.

[2016-12-16 22:38:17,494] Command Line Arguments:

[2016-12-16 22:38:17,494] ['/tmp/vmis.765bU9/install/vmware-installer/vmware-installer.py', '--set-setting', 'vmware-installer', 'libconf', '/tmp/vmis.765bU9/install/vmware-installer/lib/libconf', '--install-component', '/tmp/vmis.765bU9/install/vmware-installer', '--install-bundle', '/home/fnielsen/VMware-ovftool-4.2.0-4586971-lin.x86_64.bundle', '', '--eulas-agree']

[2016-12-16 22:38:17,721] /tmp/vmis.765bU9/install/vmware-installer/python/pygtk/gtk/__init__.py:69: GtkWarning: could not open display

  warnings.warn(str(e), _gtk.Warning)

[2016-12-16 22:38:17,721] Unable to initialize gtk: could not open display

[2016-12-16 22:38:17,738] Using UI type console

[2016-12-16 22:38:17,744] Opening database file /etc/vmware-installer/database

[2016-12-16 22:38:17,948] Could not locate installer App Control.

[2016-12-16 22:38:18,043] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/versions.py already exists, overwriting.

[2016-12-16 22:38:18,050] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/initscript.py already exists, overwriting.

[2016-12-16 22:38:18,056] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/vmware-ovftool.py already exists, overwriting.

[2016-12-16 22:38:18,062] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/__init__.py already exists, overwriting.

[2016-12-16 22:38:18,067] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/update.py already exists, overwriting.

[2016-12-16 22:38:18,073] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/systemType.py already exists, overwriting.

[2016-12-16 22:38:20,701] [vmware-installer 2.1.0] Installation failed, rolling back installation.

[2016-12-16 22:38:20,711] Top level exception handler

Traceback (most recent call last):

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/transaction.py", line 430, in RunThreadedTransaction

    txn.Run()

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/transaction.py", line 78, in Run

    self.get()()

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/common.py", line 197, in Show

    un.Execute(txn.temp, onProgress)

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/install.py", line 187, in Execute

    self._removeFiles(db.database.components.GetInstalledFiles(self.component.uid), onProgress)

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/install.py", line 161, in _removeFiles

    onProgress()

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/common.py", line 217, in _onProgress

    txn.ui.SetProgress(fraction)

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/ui/console.py", line 453, in SetProgress

    self.EnableCursor(False)    # Disable blinking cursor

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/ui/console.py", line 493, in EnableCursor

    sys.stdout.write(CURSOR_INVISIBLE)

TypeError: argument 1 must be string or read-only character buffer, not None

[2016-12-16 22:38:20,722] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/versions.py already exists, overwriting.

[2016-12-16 22:38:20,842] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/initscript.py already exists, overwriting.

[2016-12-16 22:38:20,850] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/vmware-ovftool.py already exists, overwriting.

[2016-12-16 22:38:20,857] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/__init__.py already exists, overwriting.

[2016-12-16 22:38:20,863] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/update.py already exists, overwriting.

[2016-12-16 22:38:20,870] destination /tmp/tmpQ_4R7Q/.installer/4.2.0/include/systemType.py already exists, overwriting.

[2016-12-16 22:38:20,888] Rollback failed

Traceback (most recent call last):

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/transaction.py", line 485, in RunThreadedTransaction

    txn.Run()

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/transaction.py", line 78, in Run

    self.get()()

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/common.py", line 117, in Show

    wrap(u.PostUninstall, txn.opts['ignoreErrors'], onProgress)

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/util/__init__.py", line 26, in wrap

    func(*args, **kwargs)

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/install.py", line 174, in PostUninstall

    self._removeFiles(db.database.components.GetFiles(self.component.uid), onProgress)

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/install.py", line 161, in _removeFiles

    onProgress()

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/core/common.py", line 217, in _onProgress

    txn.ui.SetProgress(fraction)

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/ui/console.py", line 453, in SetProgress

    self.EnableCursor(False)    # Disable blinking cursor

  File "/tmp/vmis.765bU9/install/vmware-installer/vmis/ui/console.py", line 493, in EnableCursor

    sys.stdout.write(CURSOR_INVISIBLE)

TypeError: argument 1 must be string or read-only character buffer, not None

0 Kudos