Vmware-tools not booting all services - fix

  • After install vmware-tools on my OMV 1.5 (<- missing the 1.5 label when posting in this forum...) virtual machine I rebooted and saw something not right.

    Code
    Wed Dec 10 19:58:17 2014:    VM communication interface:^[[71G done
    Wed Dec 10 19:58:17 2014:    VM communication interface socket family:^[[71G done
    Wed Dec 10 19:58:17 2014: /etc/init.d/vmware-tools: 1153: [: =: unexpected operator
    Wed Dec 10 19:58:17 2014:    Guest operating system daemon:^[[71G done


    After some research I found that the init.d script of vmware-tools had a typo. Take a look at line 1153:

    Code
    if [ $vmdb_answer_OPEN_VM_COMPAT = 'yes' ] ; then


    This is not correct. The line should read:

    Code
    if [ "$vmdb_answer_OPEN_VM_COMPAT" = 'yes' ] ; then


    Did you see the double qoutes?


    After this fix and a reboot of the ser(vice)(ver), the boot log is fine:

    Code
    Wed Dec 10 20:09:21 2014: Starting VMware Tools services in the virtual machine:
    Wed Dec 10 20:09:21 2014:    Switching to guest configuration:^[[71G done
    Wed Dec 10 20:09:22 2014:    VM communication interface:^[[71G done
    Wed Dec 10 20:09:22 2014:    VM communication interface socket family:^[[71G done
    Wed Dec 10 20:09:22 2014:    Guest operating system daemon:^[[71G done

    OMV 1.5 (Kralizec) VM on ESXi | HP Microserver | Snapraid

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!