VMware-toolbox-cmd: command Missing

I have 5.8 CentOS x86_64 installed as a guest in VMware Workstation 8.0.2. I nto each of the pre-existing configurations selected during installation I wanted a minimal installation. After installing I start and run yum update to update the packages of the existing system. One of these updates is to the core that brings him up to 2.6.18 - 308.1.1.el5. Because the kernel is updated, I think that it is better to restart the guest operating system. After restarting, I try to install vmware tools. Before I do this I install the following packages via yum as dependencies for the vmware-tools.

kernel-headers-$(uname-r) kernel-devel-$(uname-r) gcc44 gcc44-make c ++

Now that I've done, I chose VM-> install VMware Tools in my computer. I clicked the button help in the pop-up message at the bottom of the screen of the comments, and I followed these instructions include, East, mountign tools such as a virtual CD-ROM, unzip them to your hard drive (I unzip them to tmp /) and cd in vmware-tools-distrib and run. / vmware - install.pl. I just choose the default for questions. He then asks:

Before you run VMware Tools for the first time, you must configure it by
calling the following command: "/ usr/bin/vmware-config-tools.pl". Do you want
This program to invoke the command for you now? [Yes]

Again, I choose the value by default, and as a follow-up to choose the default options for the rest of the questions cofnig. Then when it's done it says:

You can now run VMware Tools under "/ usr/bin/vmware-toolbox-cmd" of the
or by invoking command line ' / usr/bin/vmware-toolbox "command line
during a session to Server X.

Then I tried/usr/bin/vmware-toolbox-cmd and got an error (see excerpt below). I try to reboot, and rerun/usr/bin/vmware-toolbox-cmd. Still it gives me this error:

/ usr/bin/VMware-Toolbox-cmd: command missing
Try "/ usr/bin/vmware-toolbox-cmd help ' for more information.

Can someone tell me why vmware tools do not work?

> Try/usr/bin/vmware-toolbox-cmd and I got an error (see excerpt below).

This isn't an error - it tells you just that you must add a command.
Have you tried the parameter help as shows it the message?

Tags: VMware

Similar Questions

  • Cannot run command ' vmware-toolbox & ' anymore - Linux VMs

    ------------------------------
    VMware Workstation 9
    The host of WIN 7 x 64
    X 64 Linux Debian 6 comments (testing and Stable) + SLES, SLED 10 and 11 x 64
    ------------------------------

    all my VMs (debian, suse) linux cannot run # vmware - toolbox &
    It gives me
    # No such file or directory
    Please see attachment toolbox.png

    My intention is (as in previous versions) to see the vmware_toolbox to launch the GUI menu icon, where is possible to synchronize and other options etc.

    Please, someone knows what may cause this, or is this a bug?
    If so, is there a workaround for this problem?
    Thanks in advance!

    I read in other threads that VMware has deleted the VMware Tools GUI in VMware Workstation 9 and that command no longer exists so that Tools-vmware-cmd box .

  • Update boot entry automatic using vmware-vim-cmd (or vmware-vimsh)

    Hello

    Is there an example of how update the automatic start-up using vmware-vim-cmd input.

    The problem that I am running is

    1. when I type

    VMware-vim-cmd hostsvc/autostartmanager/update_autostartentry 16 powerOn-1 1-1 systemDefault systemDefault

    When 16 is one of my VMIds, I get the following

    Invalid option '1'

    Use: update_autostartentry VMId StartAction StartDelay StopAction StopDelay WaitForHeartbeat Strafpkt

    I can't understand what the invalid option '1'.

    Here's what I've done so now

    1. research in the communities for examples. There are a few messages, but none seem to provide real-world examples of work (beyond the use of message)

    2. I found this link http://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.host.AutoStartManager.AutoPowerInfo.html who talks about what type of entry it is pregnant. I tried double quoting and only citing the parameters of xsd: String, but that did not work either

    3. I tried the particular settings (including the xsd: int) doublequoting, which did not work either

    Anyone successful with this? If so could you please post a real example.

    Here's what I'm trying to accomplish

    1 activate Autostart - I did that using

    / usr/bin/VMware-vim-cmd hostsvc/autostartmanager/enableautostart true

    2. get all VMIds in the system

    I did it with the following command and awk script

    / * Awk script * /.

    BEGIN {}

    FS = ""

    NR 1 >

    }

    {

    If (NR == 1) {}

    #ignore header

    }

    else {}

    1. $1 has VMIds

    Print $1

    }

    }

    / * End awk script * /.

    Then run/bin/awk f /root/autostart.awk

    3. instead of printing on $1, I would like to add the virtual machines to the list using the following

    a. start-up delay = systemdefault

    start-up (b) action = poweron

    c. start order = 1, 2, 3, 4 (do not need help with AWK script), I can post once I have that.

    d. stopaction, stopdelay etc. - leave at the default system (or - 1 as the pubs suggested link)

    I'm sure that there are more effective and these ways to do this, I need to follow this approach for a specific reason.  I was wondering if someone can help me with the syntax correct for vmware-vim-cmd hostsvc/autostartmanager/enable_autostart please?

    Thanks for your help!

    -Vermorel

    It seems that the problem is with you using -1 as input for StartDelay and StopDelay,-1 is not a valid entry that I tested, and you must specify either systemDefault or a time interval.

    I created 4 VMS dummy on ESXi 4.0 host and did the following and it worked:

    Enable auto-start through vimsh (vim - cmd)

    ~ #  vim-cmd hostsvc/autostartmanager/enable_autostart 1
    Enabled AutoStart
    

    Adjustment of the 1st virtual machine:

    ~ # vim-cmd hostsvc/autostartmanager/update_autostartentry 1264 "PowerOn" "15" "1" "systemDefault" "systemDefault" "systemDefault"
    
    1Updated AutoStart order.
    

    Definition of the 2nd VM:

    ~ # vim-cmd hostsvc/autostartmanager/update_autostartentry 1232 "PowerOn" "15" "2" "systemDefault" "systemDefault" "systemDefault"
    
    2Updated AutoStart order.
    

    Definition of the 3rd VM:

    ~ # vim-cmd hostsvc/autostartmanager/update_autostartentry 1280 "PowerOn" "15" "3" "systemDefault" "systemDefault" "systemDefault"
    
    3Updated AutoStart order.
    

    Definition of the 4th VM:

    ~ # vim-cmd hostsvc/autostartmanager/update_autostartentry 1264 "PowerOn" "15" "4" "systemDefault" "systemDefault" "systemDefault"
    
    4Updated AutoStart order.
    

    You can manually set the automatic start/stop by using the vSphere Client and using the following command to retrieve the config:

    vim-cmd hostsvc/autostartmanager/get_autostartseq
    

    which can then be used as a basis to set the configuration.

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

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    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

    150 VMware developer

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

  • VMware-vim-cmd

    Hello

    Could you tell me what that the syntax of the vmCfgPath of the following command:

    VMware-vim-cmd rsrc/hostsvc/vm_config_get & lt; vmCfgPath & gt;.

    I tried /vmfs/volumes/xxx/xxx/xxx.vmx of vmware-cmd - l and /xxx/xxx/xxx.vmx but nothing works.

    Any ideas?

    Thank you

    Dominic

    As mentioned, you will need to provide the virtual machine VmId.

    Here is an example of a virtual machine, lifting say Quentin

    In ESX (i) 3.5 you'd:

    [root@himalaya ~]# vmware-vim-cmd vmsvc/getallvms | grep Quentin
    4288   Quentin                           [http://himalaya-local-SAS.Savvio|http://himalaya-local-SAS.Savvio] Quentin/Quentin.vmx                                                      winXPProGuest           vmx-04
    

    4288 would be the value you would use in the command:

    [root@himalaya ~]# vmware-vim-cmd hostsvc/rsrc/vm_config_get 4288
    (vim.ResourceConfigSpec) {
       dynamicType = ,
       entity = 'vim.VirtualMachine:4288',
       changeVersion = ,
       lastModified = ,
       cpuAllocation = (vim.ResourceAllocationInfo) {
          dynamicType = ,
          reservation = 0,
          expandableReservation = false,
          limit = -1,
          shares = (vim.SharesInfo) {
             dynamicType = ,
             shares = 1000,
             level = "normal",
          },
          overheadLimit = ,
       },
       memoryAllocation = (vim.ResourceAllocationInfo) {
          dynamicType = ,
          reservation = 0,
          expandableReservation = false,
          limit = 2048,
          shares = (vim.SharesInfo) {
             dynamicType = ,
             shares = 5120,
             level = "normal",
          },
          overheadLimit = ,
       },
    }
    

    On ESX 4.0, you also have the option to use vmware-cmd to extract value. You first need to get the path to your virtual machine, and then use the getidoption:

    [root@himalaya ~]# vmware-cmd /vmfs/volumes/4aa95d52-c297af51-90e2-003048d9586a/Quentin/Quentin.vmx getid
    getid() = 4288
    

    Either one will work, but do not forget the majority of entry to the vimsh when dealing with a machine virtual will be it's VmId.

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

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

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

    150 VMware developer

    Twitter: @lamw

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

  • VMware-vim-cmd: waiting for orders to be completed?

    Hi all, I adapt a backup script I made for VMware Server 1.x to VMware Server 2.x and I'm having trouble doing ordinary things like 'suspend' or "create a snapshot" "a VM from starting.

    There are several ways to do the same thing in a certain way does not require any authentication, others indeed require authentication, for example, to create a snapshot, you can:

    VMware-vim-cmd vmsvc/snapshot.create 'id of the virtual machine.

    or

    vmrun-h https://127.0.0.1:8333 / sdk u user-p password of snapshot "[datastore] /vm_path/vmx_name.vmx '

    The problem with vmware-vim-cmd approach is that it does not wait for the command to complete, and is not a welcome feature in a script.

    Instead, the vmrun command wait until the end, but to use it in a script, you must also include the identification of the user and password information in the script, and it is not welcome.

    So the question (as shown in the topic) is: is it possible to make orders of vim-vmware-cmd to wait until the end?

    If someone knows how to do that I would be very grateful

    Thank you for reading,

    10nico

    The vimsh and the vimsh wrapper vmware-vim-cmd is not officially supported by VMware, that being said, I agree that it should allow you to check the situation, etc. It can be a pro/con and depending on how the call command, the wrappers actually communicate to the VI API server, and if you look at the VI API there are all both blocking and non call.

    Vmware-vim-cmd, the command is executed and returns to the shell for most. You might be able to monitor the tasks that is created and ensure that it is completed, but I have not played too much with it.

    [root@himalaya scripts]# vmware-vim-cmd vimsvc
    Commands available under vimsvc/:
    auth/             login             task_cancel       task_list
    connect           logout            task_description
    license           property_dump     task_info
    

    Again, these are undocumented, unsupported and the behavior will vary =)

    I advise to use the VI API (Powershell or VI Perl Toolkit) to accomplish your tasks, and you can even take a look at some of the utilities that are available with the VI Perl Toolkit Utilities: http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html

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

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    http://Twitter.com/lamw

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

  • Rename a "Service Console" portgroup using vmware-vim-cmd

    Hey all

    Just going through the forums concerning the "vim-vmware-cmd" command and was wondering if there was a way we could rename the portgroup console Service. Have a script that I prepare and one of its stages is to rename its SC which I don't really know how to do it using 'vim-Vmware-cmd ".

    Any help would be great?

    Munster

    (PS - thanks in advance)

    As far as I know, there is no way to rename a portgroup. With vswif/esxcfg-vswitch or with vmware-vim-cmd. However the deletion and add it with the new name should do the trick for you.

    The option addvmportgroup in kickstart can be 0 or 1. He tells the configuration to add a GRPE on default ports for virtual machines, called "VM Network" on the first vSwitch or not. It has nothing to do with the designation of portgroup Console of service.

  • Is possible to change the type of node WINS with cmd command on a windows operating system that is not joined to the domain?

    Is possible to change the type of node WINS with cmd command on a windows operating system that is not joined to the domain?

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

     
     

    Hope this information is useful.

  • VMware-vim-cmd check vmwaretools available

    Hello!

    I want to make a script (with bash) to stop my VMs.

    with vmware-vim-cmd vmsvc/power.shutdown ID, I can stop my VM.

    But if vmware-Tools are noticed running I want to turn off the coast of the VM hard.

    How can I check if vmware-tools are available and how can disable VM without vmware-tools?

    THX.

    Hansi

    The vim - cmd, you can use the vmsvc/get.guest allows to check if the tools are running:

    # vim - cmd vmsvc/get.guest 28 | grep toolsRunningStatus
    toolsRunningStatus = "guestToolsRunning"
    # vim - cmd vmsvc/get.guest 18 | grep toolsRunningStatus
    toolsRunningStatus = "guestToolsNotRunning".

    You can also include a vim - cmd vmsvc/power.getstate in your script to see if the VM is actually powered-on, since the status of tools will be guestToolsNotRunning on a virtual computer off of course.

    Hard power off mV, use vmsvc/power.off.

  • Information on vmware-vim-cmd, please

    Hello

    Where can I find detailed information about VMWARE-VIM-CMD please?

    Thank you.

    I've not seen an "official" document of all the features of vmware.  In this case, I think that google is your friend.  A lot of people have documented pieces that they understood.

    http://www.vServer-online.de/blog/MRU/vimsh?lang=en#more-348 this link is good to help you get started.

  • MDM 2: SPLBATCH command missing

    Hi all

    I made several installation MDM 2 system but I can not find the splbatch.cmd* command in one of them.
    I tried to schedule D1-ACTVY* batch, using the web GUI Batch job submission, but running the submitbatch.exe* command (Windows), I get the following error on the D1 - ACTVY.110208_19.14.37.3380.THRD1. RUN.stderr* file:

    -----
    'SPLBATCH.cmd' is not recognized as an internal or external command
    operable program or batch file.
    -----

    Does anyone know how to get this batch file?

    Thank you

    What are the values you set in the options menu advanced for the Online/Inbuilt demon batch +%SPLEBASE%\bin\configureEnv.cmd - a +, especially for Batch active Server options and Batch Scheduler Daemon?

    From FW 4.0, SPLBATCH [.cmd | .sh] is replaced by submitjob [.cmd | .sh], you do not really have an interactive way of presentation of the lot.

    For more details, see Batch Server Administration Guide. submitjob [.cmd | .sh] is available in the templates folder.

  • Allow non-root Admin user run the vim - cmd commands

    Hi all

    I created a new user who belongs to the root group and appears in the roles of Admin when I run vim - cmd vimsvc/auth/role_permissions admin.

    However when I ssh to the server as the new user and trying to run vim - cmd, the following error is generated:

    The version check error: could not get the version vmkernel: operation not permitted (running as non-root?)

    Anyone knows how I can allow a user nonroot administrator run the commands in vim - cmd via ssh?

    TIA,


    Kind regards

    Vlad

    It is the nature of ESXi - kb.vmware.com/kb/2005299.  You can use managed to move to the root connection. 

    You can configure it with ESX sudo, but is not available with ESXi (at least not yet - http://communities.vmware.com/thread/344466).

  • Control CMD (command line interface) using Labview 2011.

    Hello

    I'm trying to control software that has an interface to command line using LabView 2011 but I have problems when reading the information.

    Is attached the VI I created so far, but it is not working properly.

    Problems so far:

    1 - if I use ReadLine(), it blocks showing no error and nothing else.

    2 - ReadToEnd () same problem as the previous line, the software hangs just at this stage.

    3 - if I compare the response of the "peek" in waiting for the - 1 indicating there is not more character, the hook of software as the previous steps.

    You have some clues as to what might be wrong or another way to 'control' the CMD to send messages, read and send messages, etc...

    Thank you very much for your help.

    I've done it before - I posted about this on the forum here: https://forums.ni.com/t5/LabVIEW/How-to-open-close-and-monitor-a-application-xyz-exe-using/m-p/32511...

    I did also wrap in a library at a given time and post it on the forums, but I couldn't find this particular post.

  • Shell CMD commands do not run

    well this very annoying or maybe I am stupid and do something wrong, but... every time I goto "Start" then "run", type "cmd" to open the window of cmd and then try to type of destinations it does not work... For clarity, the text of the cmd window will have brackets on the left side of the line

    For example... This is what it looks like when the window opens:

    [Microsoft Windows XP [Version 5.1.2600]
    [Copyright (C) 1985-2001 Microsoft Corp.
    [
    [C:\Documents and Settings\Matt >]

    then leaves said: I want to go to the root C: / drive so I type in "C:\". ', it will give me the following message is displayed.

    [« C:\ ' is not recognized as an internal or external, order
    [operable program or batch file.]

    It keeps giving me this message whenever I type in whatever the destination I want to goto or record or other thing

    Any suggestions?

    Use the cd command to change directories on the current disc.  By default, the change is relative to the current directory:

    CD...                          (one level up)
    CD 'my documents' (the subfolder named My Documents )

    Add the /d option to perform absolute change:

    CD /d c:\                    (at the root of drive C :)

    You can put another disk by typing just the drive letter:

    d: (change of drive d :))

    Boulder computer Maven
    Most Microsoft Valuable Professional

  • Models of Calibration WCS RF command missing

    In the version of WCs 6.0.181.0 the command of RF calibration models is missing in the drop-down list on the page cards. Is this one needed more than a basic license (it's there with the demo license)? I can't find anything in the documentation, saying: this is a feature under license.

    RF calibrations under monitor > cards > Pulldown will show when without a license and with more, but will not display with a single database.

  • Line break command missing in 2013 CVI

    I just changed to CVI 2012-2013.  I want to set up the command line cut (Ctrl-Y) in 2013, but as much as I know there is not cut command line available in the Options-> menu to change shortcut keys. Is avialable cut line in 2013?

    Tony G.

    I found the command of cutting line in the section "Miscallenaeous".  It works now.  Thank you!

    Tony G.

Maybe you are looking for