I downloaed and compiled VDDK 6.5.2 sample code on CentOS 7.3.
The binary seemed working fine for local vmdk files. But failed to mount remote ESXi vmdk. The error message was "FUSE error 23: The VMware fuse daemon failed to start".
The following is the complete screen output. Could you please kindly point out what is the cause? Many thanks.
./vix-mntapi-sample -info -host ESXi-ip -user root -password XXXXXXX -thumb 'XX:XX:XX:...:XX' "[datastore2] testvm1/testvm1.vmdk" -initex /dev/null
Log: OBJLIB-LIB: Objlib initialized.
Log: DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory.
Log: [msg.dictionary.load.openFailed] Cannot open file "/etc/vmware/config": No such file or directory.
Log: PREF Optional preferences file not found at /etc/vmware/config. Using default values.
Log: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
Log: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
Log: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
Log: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
Log: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
Log: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
Log: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
Log: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
Log: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
Log: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
Log: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
Log: PREF Optional preferences file not found at /root/.vmware/preferences. Using default values.
Log: UTIL: Change file descriptor limit from soft 1024,hard 4096 to soft 4096,hard 4096.
Calling VixMntapi_OpenDisks...
Log: --- Mounting Virtual Disk: [datastore2] testvm1/testvm1.vmdk ---
Log: Current user owns '[datastore2] testvm1/testvm1.vmdk'. Allowing mount.
Log: Disk flat file mounted under /var/run/vmware/fuse/12491201408026085434
Log: Fuse crashed before init.
Warning: VixMntapi_OpenDisks: Failed to mount disk '[datastore2] testvm1/testvm1.vmdk': Error 24019 (The VMware fuse daemon failed to start) (FUSE error 23: The VMware fuse daemon failed to start)
Error: [vixDiskLibSample.cpp:2520] 5dd3 The VMware fuse daemon failed to start
Log: OBJLIB-LIB: ObjLib cleanup done.