Hello
I'm trying to install vSphere Command-Line Interface "vmware-vsphere-cli-distrib" on Ubuntu Server 12.04 LTS but I'm getting the folowing error when I execute "sudo ./vmware-install.pl":
Is there something that I'm missing?
Thanks
Hello coeio
Hope doing great
Please find below stesp to perform the task
sudo aptitude install build-essential linux-headers-$(uname -r)
sudo aptitude update
sudo aptitude install build-essential linux-headers-$(uname -r)
cp -a /media/cdrom/VMwareTools* /tmp/
cd /tmp/
tar -vxzf VMwareTools*.gz
cd vmware-tools-distrib/
sudo ./vmware-install.pl
Thread moved to the CLI Community
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello coeio
Hope doing great
Please find below stesp to perform the task
sudo aptitude install build-essential linux-headers-$(uname -r)
sudo aptitude update
sudo aptitude install build-essential linux-headers-$(uname -r)
cp -a /media/cdrom/VMwareTools* /tmp/
cd /tmp/
tar -vxzf VMwareTools*.gz
cd vmware-tools-distrib/
sudo ./vmware-install.pl
Thank for your response.
After re-installing VMwaretools and installing the Linux headers like you told I'm still getting the error:
I'm using the VMware Tools 8.4.0 that is included with VMware ESXi 5.0.0, 469512.
My vm:
Linux UbuntuServerTeste 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 athlon i386 GNU/Linux
Thanks
UPDATE:
I have installed it on Ubuntu 12.04 LTS DESKTOP with very little problems, but when I try on Ubuntu 12.04 Server gives the error above.
I'm trying to monitor some ESXi servers using cacti templates that uses CLI...
Thanks
UPDATE 2:
OK, I was installing the wrong version (64bit instead 32bit), now its OK.
The only problem is this error:
if ( !( $ftpproxy && $httpproxy)) {# uninstall_file($gInstallerMainDB);# exit 1;}
Thanks
My machine:
Linux S1013 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 19:02:34 UTC 2013 i686 i686 i686 GNU/Linux
Trying to install:
VMware-vSphere-Perl-SDK-5.1.0-780721.i386.gz
sudo ./vmware-install.pl fails with:
./vmware-install.pl: 1: ./vmware-install.pl: bin/vmware-uninstall-vSphere-CLI.pl: Permission denied
doing sudo chmod 777 ./bin/vmware-uninstall-vSphere-CLI.pl followed by sudo ./vmware-install.pl results in:
Uninstalling the tar installation of vSphere CLI.
I have reinstalled vmware tools which were delivered with 5.1.0, but no effect.
Something I missed to do?
Can you try removing the dir /etc/vmware-vcli/ and try again?
I have no such folder
Might there be something wrong in the script? If I don't have the folder, why it depends on deleting it?