Help to install vSphere CLI on Linux 64-bit

Hello!

I try to get the vSphere CLI working on my Fedora 13 64-bit box and I'm running into a problem when I try to execute commands after installation.  I downloaded the 64-bit for the vSphere CLI 4.0 U2, unpacked tar.gz and run the installation script which filled perfectly.  It installs all the right binary files under/usr/bin.  (Although when installing it asks me to replace a bunch of files in/usr/lib64/perl5/and I just accept the defaults)

When I try to execute a command, such as vicfg-vswitch, I get the following error.

usr: symbol lookup error: /usr/lib64/perl5/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Tstack_sp_ptr

Essentially, I can't even use the vCLI.

Nobody knows what the error means or have a good guide on installing the vCLI for Linux?  VMware documentation don't give me information on how to handle these errors.

Take a look at this thread for your answer - VI Perl Toolkit and Fedora 9. Failure

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at: http://www.virtuallyghetto.com/

Twitter: @lamw

repository scripts vGhetto

Introduction to the vMA (tips/tricks)

Getting started with vSphere SDK for Perl

VMware Code Central - Scripts/code samples for developers and administrators

VMware developer community

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • What are the steps in vSphere CLI?

    I downloaded and installed vSphere CLI but I get the following error

    'Connect' is not recognized as internal or external, command an executable program or batch file.

    The main difference between the vSphere CLI and PowerCLI is that vSphere CLI is Perl based and PowerCLI is based on PowerShell. Both are great tools and can be used for the automation of your vSphere environment. Which tool is best for you depends on your experience with Perl or PowerShell.

    You can also combine these two tools I described in my blog How to run scripts perl CLI of PowerCLI VMware vSphere.

  • Problems installing vSphere SDK

    Hello, I have a really hard time getting the SDK VMSphere to work under Windows and I have no installation using the supplied VMware-VIPERL - 4.0.0 - 161974.exe error from the VMWARE page, but when I try to run any script I have a popup that refers to an XML. Messages error DLL-file and returns as below:

    BEGIN failed--compilation abandoned to C:/Program Files/VMware/VMware vSphere CLI.

    Perl/site/lib/XML/LibXML.pm line 116.

    Looks like it missing something and I tried this on multiple Windows computers and I also had a go at installing source code on page 18 (http://www.vmware.com/support/developer/viperltoolkit/viperl40/doc/vsperl_40_install.pdf), for starters, I can't locate Perl modules required for of ActivePerl Perl Package Manager and also I found mentioned vSphere SDK package source Perl to the download page , but only on the integrated Setup.

    Clearly I am doing something wrong here, but I don't know which is quite frustrating, so any help is appreciated!

    It seems that your version of LibXML is not synchronized with your Perl installation.

    Have you installed other perl distributions?  Did you install all other LibXML modules?  Sounds like its not picking up LibXML module that you want to use.

    I would uninstall all perl installations.  Make sure that C:\Perl is thus removed.  And then redo the installation as I wrote it upward.

    In my installation (on Windows Server 2003), I use ActivePerl v5.10.0 and XML-LibXML 1.66 (from PPM).

    Also, is this 64 bit?  And it's x 86 I guess?

  • Linux 32-bit. Abobe plug-in already installed. Always get looks like to your using an older version of Firefox. All talk of 64, I'm Linux 32. Need 2 plug-ins?

    For a long time keep saying looks like to your using an older version of Firefox. Several times I tried to install Adobe Flash plug-in, both with Firefox and the Adobe site. I'm on Linux 32-bit, 64 no, details, that I find are for 64 bit.
    https://support.Mozilla.org/en-us/questions/759565
    I think that the problem might be here, but I do not see the solution for 32 bit. Looks like only maybe 2 plug-ins? Anyway I need help.
    It is a problem with all the extra steps with the question you can imagine. I tried from scratch with Firefox, not working, more like 52 card pick up... if you know this game.
    I want a solution if you have a. Thank you.

    I had the problem solved. Thank you for your help. I had to get help from an engineer, I know. It's fast enough, but it looked like he deleted the old and installed the new and it seemed that perhaps the launch could have the issue? Not exactly, it's almost as if the launch was set for the old version... but don't want to send someone on the cause of the bad way, I don't know, but he later installed to firefox 38.1 or another... the 29. SOLVED. Thank you for taking the time to help. It was frustrating problem.

  • How to install via terminal on Linux, a previously archived version of Firefox?

    I'm looking to automate the installation of a specific version of Firefox under Linux, this is necessary because newer versions of Firefox have caused some compatibility issues with some software on my environment. It is necessary that this task be automated, as I have a suite of software automatically installed for testing purposes in a software system.

    What is a way in which I can use apt - get to install an archived version of Firefox so that I can maintain compatibility with existing software?

    You can download an older version of Firefox here https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/

    "To run (from this page).
    Open a Terminal and go to your home directory: cd ~.
    Extract the contents of the downloaded file: tar xjf firefox-*.tar.bz2
    Close Firefox if it is open.
    "To start Firefox, run the firefox script in the folder of firefox: ~/firefox/firefox.

    You would get probably more help on a forum based on Linux than here.

  • How to activate my windows after installing windows 7 on linux

    I used to have 10 updated since windows windows 7, and after a while, I spent my hard drive and installed linux mint. Now, I have installed windows 7 on linux but now my windows product key won t work. All solutions?

    Have you tried to restart by phone?

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • Cannot install the machine virtual linux 2 TB in size in esxi 5.5

    Cannot install the machine virtual linux 2 TB in size in esxi 5.5

    VM will be restarting inbetween fixing and explains the operating system not found.

    Please help me on this

    Thank you

    Anand

    What Linux distro are you trying to install?

  • vSphere 5.5 Linux Appliance LDAP

    Hello

    I have a question about VCLA (vSphere 5.5 Linux Appliance) and LDAP.

    We need to connect our vCenter Linux Appliance in our LDAP server.

    : Q1 I need a SSO or can I configure vCenter to use LDAP without an SSO?

    Q2: If I need a SSO is the delivered device one?

    Q3: If so. Document of the witch describe? I can't find a suitable doc

    Thank you very much!

    Q1: Is the point where the standards body will be installed or enabled for the VCSA?

    This is where you set up if you plan to use the on-board SSO or an external SSO. If you select incorporated, simply provide the password for authentication ONE Admin account [email protected]. Once registered, the first part of the SSO is made. Then, you must sign to vSphere Client Web https://VCSAIP:9443 using the [email protected] and configure the Sources of identity (this is the configuration of how SSO will connect to your LDAP server). A lot of articles out there, here is a Howto : AD authentication in vCenter SSO 5.5 | Virten.NET

    Q2: If Yes? Why do I need a--> 'account with the right to register with the SSO Server vCenter '.

    This is necessary only if you have an existing instance of SSO and want to use it for your vCenter server.

  • Cannot install vSphere 5.5 on 2012 R2 DataCenter Server

    Hello

    I have difficuly installing vSphere 5.5 on a 2012 R2 Datacenter Server server components.

    If I use the simple installation method, it installs the SSO components very well, then it fails to install the Web Client vSphere and ask you to install sepearately.

    When you try to do the following error occurs

    "File not found...". Z:\\vSphere-WebClient\VMware-WebClient.exe ".

    vSphere1.jpg


    If I try to copy the VMware - WebClient.exe from the DVD file system the following error occurs.

    vSphere2.jpg

    I have disabled UAC in the registry, I install ADLS and there is no difference, this allowed me to install the vCenter Inventory Service & vCenter Server.

    The VCDB runs on a Server R2 with SQL 2012 2012.

    I hope someone can help.

    Thank you

    Scott

    André,

    Thank you for asking this, I downloaded another copy of the ISO standard, and it is now running.

    See you soon

    Scott

  • vSphere cli - script lack power

    Hello world

    I'm new to vsphere cli and need help to obtain power information that we need. I am trying to generate report by cluster vmware tools and I need additional information of the virtual machines namely, contact, created by and created the fields exported to my csv. Here is where I am at this time. I have the annotation of wrenching, however I do not know the commands script/right pull-out contact/createdby and created on the fields of a VM. I hope someone can help. Thank you.

    Notice-EEG - ViewType virtualmachine - SearchRoot (get-cluster 'test') user.user-filter @{'Summary.Guest.ToolsVersionStatus ' =' guestToolsNeedUpgrade'} | Select Name,@{N='tools worm '; E={$_. Config.Tools.ToolsVersion}},@{N='Tools State; E={$_. Summary.Guest.ToolsVersionStatus}},@{N='Guest ' OS. E={$_. Config.GuestFullName}},@{N='VM. Notes; E={$_. Summary.Config.Annotation}} | Export-Csv - NoTypeInformation - UseCulture-path C:\test\test1.csv

    Give it a try like this

    Get-View -ViewType virtualmachine -SearchRoot (get-cluster '1Mike').id -Filter @{'Summary.Guest.ToolsVersionStatus'='guestToolsNeedUpgrade'} |Select Name,@{N='tools ver';E={$_.Config.Tools.ToolsVersion}},  @{N='Tools Status';E={$_.Summary.Guest.ToolsVersionStatus}},  @{N='Guest OS';E={$_.Config.GuestFullName}},  @{N='VM Notes';E={$_.Summary.Config.Annotation}},  @{N="Contact";E={    $key = $_.AvailableField | where {$_.Name -eq "Contact"} | Select -ExpandProperty Key    $_.CustomValue | where {$_.Key -eq $key} | Select -ExpandProperty Value}} |Export-Csv -NoTypeInformation -UseCulture -Path C:\test\test1.csv
    
  • Using the hard drive on HP Proliant after installing VSPhere ESXi 5

    I recently installed VSphere ESXi 5 on a HP Proliant server. I've migrated several virtual machines successfully on, with access via client vsphere. I'm trying to find out whether the server is in Raid 5. I called HP and they said that the only way to know is to insert the smart startup disk. I inserted, but I don't know how to access the disk. I know this is probably very simple, but I'm lost. Thanks for your help.

    It depends on if you a raid controller enough disks and supported your server to take a RAID5 configuration.

    Download the HP smart start ISO, ILO mount or burn a CD to boot off the coast so that you can launch the utility of configuration of matrices (ACU). It's really something that should have been done before the ESXi installation.

    See the example below;

    http://www.tricksguide.com/configure-RAID-array-ACU-HP-array-configuration-utility-ProLiant-server.html

    See you soon,.

    Jon

  • Where to download vSphere CLI remote for ESXi5

    http://downloads.VMware.com/d/info/datacenter_cloud_infrastructure/vmware_vsphere/5_0#drivers_tools

    Can someone tell me where to download vSphere CLI remote? I don't see this download site.

    Hello

    Check if this help http://www.vmware.com/support/developer/vcli/

    http://www.VMware.com/download/download.do?downloadGroup=VCLI50

    Good luck

    Please, do not forget the points of call of the "useful" or "correct" answers

    Mauro Bonder - moderator

  • Installing vmware tools in linux mint in vmware fusion 3 11?

    I would like to install Linux Mint as a guest in my Vmware Fusion 3, but my problem is to know how to install VMWare Tools for Linux Mint. I hope that there is a simple explanation how to do it.

    Thanks in advance

    I hope that there is a simple explanation how to do it.

    Simple is a relative term.

    Take a look at: VMware Fusion (menu bar) > help > Search > type vmware tools, then select display all help topics and then select: installation or upgrading VMware Tools in a Machine virtual Linux

  • vSphere CLI - perl.exe - Unable to locate component

    Hello

    I installed the vSphere 4.1 CLI on Windows Server 2003 SP2 (x 32) and when I try to connect using the vicfg - nas.pl it gives error below. W2K3 x 32-bit is supported according to the vSphere CLI document. I don't know where he's going wrong then.


    Perl.exe - Unable to locate component

    This application has failed to start because libxml2.dll is not found. Reinstalling the application may fix this problem.


    Any suggetions would be appreciated.

    Thank you

    Installation of Perl is not in the Path environment variable. To the Path environment variable, add the following location:

    I think that the installation of Perl is not in the Path environment variable.

    C:\Program VMware VI CLI\Perl\bin remote

    -Right click on my computer
    -Select properties in the context menu
    -Select advanced system settings
    -Click the Environment Variables button
    -Select the path in the System Variables and click on change
    -Add the following line «;» "C:\Program VMware VI remote CLI\Perl\bin" to the Path variable

    Restart the command prompt for the path access is taken into account

  • How to find if a scsi disk can be used as a ROW or only use not vsphere CLI.

    Hi, I want to know if the SCSI disk can be used as RDM and a remote computer running vSphere CLI.

    I tried to use 'vicfg-scsidevs - l', but it doesn't have the required information list

    ===============================================

    Here is sample out put

    MPX.vmhba0:C0:T1:l0

    Device type: disk

    Size: MB 69459

    Full name: disk space from VMware (mpx.vmhba0:C0:T1:L0)

    Plugin: NMP

    Device console: /vmfs/devices/disks/mpx.vmhba0:C0:T1:L0

    Devfs Path: /vmfs/devices/disks/mpx.vmhba0:C0:T1:L0

    Seller: VMware model: Block device Revis: 1.0

    SCSI level: 2 is nickname: status:

    : RDM Capable is removable:

    Other names:

    VML.0000000000766d686261303a313a30

    empty fields "Is Capable RDM" here.

    =======================================================

    When I executed the command 'esxcfg-scsidevs - l' on an ESX Server, he gave me the necessary info.

    MPX.vmhba0:C0:t0:l0

    Device type: Direct access

    Size: 138919 MB

    Full name: disk space from VMware (mpx.vmhba0:C0:T0:L0)

    Plugin: NMP

    The console device: / dev/cciss/c0d0

    Devfs Path: /vmfs/devices/disks/mpx.vmhba0:C0:T0:L0

    Seller: VMware model: Block device Revis: 1.0

    : SCSI 2 is Pseudo: false status: on

    : RDM Capable false is removable: false

    Is Local: true

    Other names:

    VML.0000000000766d686261303a303a30

    So is it possible for vSphere CLI through which we can tell if the SCSI disk device can be used as ROW or NOT?

    and what parameter defined as capable of RDM?

    Thank you

    Chandra Sekhar P.

    Hi Chandra,

    In order to get the SCSI LUNS that can serve as RDM, you must use the QueryConfigTarget method. This method is defined on EnvironmentBrowser. You need to recover some EnvironmentBrowser object ComputeResource the HostSystem where the virtual machine is created. The configTarget.ScsiDisk returned after the method call contains the logic unit number information that is capable of RDM.

    I hope this helps!

    Neha

Maybe you are looking for