vSphere

 View Only
  • 1.  VMCI - abuntu - Failed to init VMCI library

    Posted Oct 07, 2008 02:08 PM

    I've successfully compiled the sample datagramApp.c, but when I start it with "/dg -d /dev/vmci -s", I recieve the following error:

    Failed opening /dev/vmci with error 19

    Failed to init VMCI library.

    When compiling I used the following command:

    gcc datagramApp.c -o dg -L/<path>/vmware-tools-distrib/lib/vmware-vmci/lib/vmci -I/<path>/vmware-tools-distrib-lib/include/vmci 'pkg-config --cflags --libs vmci'

    thanks



  • 2.  RE: VMCI - abuntu - Failed to init VMCI library

    Posted Dec 25, 2008 05:42 AM

    I met the same question in Fedora8 ,but finally it is my own fault: I forgot to enable VMCI in the .vmx file.

    I truely have done this according to the README when setup the first vm,but after I delete the vm and built up another one , I forget the .vmx file entirely !

    Maybe this imformation can not resolve your problem, but I depend on it.

    By the way, the kernel in fedora8 is 2.6.23.1-42