Hi,
I cannot execute any VIX API vmrun command once the Virtual Machine is powered on.
I can list all virtual machines, and power the machines on, but once the machine is powered on, every vmrun command fails with the error "There was an error in communication"
The VIX API is installed on a different computer of the Vmware Server (Host) .
Both firewalls are turned off.
Does anybody know what can be the problem?
Thanks.
Getting the same error here, in one machine my code runs okay, with the other one, getting a "There was an error in communication" error. VIX_E_HOST_TCP_SOCKET_ERROR 14010
Here's some logs:
vmware-vmplayer-900.log
2013-10-24T15:22:52.308-04:00| vmplayer| I120: Log for VMware Player pid=900 version=5.0.2 build=build-1031769 option=Release
2013-10-24T15:22:52.308-04:00| vmplayer| I120: The process is 32-bit.
2013-10-24T15:22:52.308-04:00| vmplayer| I120: Host codepage=windows-1252 encoding=windows-1252
2013-10-24T15:22:52.308-04:00| vmplayer| I120: Host is Windows 7 Enterprise, 64-bit Service Pack 1 (Build 7601)
2013-10-24T15:22:52.292-04:00| vmplayer| I120: VTHREAD initialize main thread 2 "vmplayer" host id 2696
2013-10-24T15:22:52.293-04:00| vmplayer| I120: Msg_Reset:
2013-10-24T15:22:52.293-04:00| vmplayer| I120: [msg.dictionary.load.openFailed] Cannot open file "C:\Users\jbisson\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.
2013-10-24T15:22:52.293-04:00| vmplayer| I120: ----------------------------------------
2013-10-24T15:22:52.293-04:00| vmplayer| I120: PREF Optional preferences file not found at C:\Users\jbisson\AppData\Roaming\VMware\config.ini. Using default values.
2013-10-24T15:22:52.293-04:00| vmplayer| I120: FILE: FileLockDynaLink: Further process validation tools are: available
2013-10-24T15:22:52.294-04:00| vmplayer| I120: POLL Using the WSAPoll API Implementation for PollDefault
2013-10-24T15:22:52.295-04:00| vthread-3| I120: VTHREAD start thread 3 "vthread-3" host id 4236
2013-10-24T15:22:52.295-04:00| vmplayer| I120: LOCALE windows-1252 -> NULL User=409 System=409
2013-10-24T15:22:52.308-04:00| vmplayer| I120: Hostinfo_OpenProcessBits: OpenProcess access bits are 1000.
2013-10-24T15:22:52.308-04:00| vmplayer| I120: VMware Player: VMware virtual machine player
2013-10-24T15:22:52.308-04:00| vmplayer| I120: Command line: "C:\Program Files (x86)\VMware\VMware Player\vmplayer.exe" "C:/somePath/vmSimulator.vmx"
2013-10-24T15:22:52.308-04:00| vmplayer| I120: Token elevation type = Limited: The process has a linked token. This is an admin account and UAC is turned on.
2013-10-24T15:22:52.309-04:00| vmplayer| I120: Could not open registry path: Software\Thinprint, ret = 2
2013-10-24T15:22:52.309-04:00| vmplayer| I120: OBJLIB-LIB : Objlib initialized.
2013-10-24T15:22:52.333-04:00| vmplayer| I120: Debug VMX "C:\Program Files (x86)\VMware\VMware Player\vmware-vmx-debug.exe" not found. Using standard VMX "C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe"
2013-10-24T15:22:52.333-04:00| vmplayer| I120: Stats VMX "C:\Program Files (x86)\VMware\VMware Player\vmware-vmx-stats.exe" not found. Using standard VMX "C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe"
2013-10-24T15:22:52.333-04:00| vmplayer| I120: vmxFilePath="C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe"
2013-10-24T15:22:52.333-04:00| vmplayer| I120: vmxFilePathDebug="C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe"
2013-10-24T15:22:52.333-04:00| vmplayer| I120: vmxFilePathStats="C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe"
2013-10-24T15:22:52.346-04:00| vmplayer| I120: HostDeviceInfo: Failed to enumerate host parallel ports via the registry. Could not open device map parallel port registry key.
2013-10-24T15:22:52.346-04:00| vmplayer| I120: HostDeviceInfoGetDiskInfo: CreateFile \\.\PhysicalDrive0 failed: Access is denied
2013-10-24T15:22:52.359-04:00| vmplayer| I120: Host OS: 'Windows 7 Enterprise, 64-bit 6.1.7601, Service Pack 1', product type '1', suite mask '0x0100'.
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Foundry Init: setting up global state (1 poll threads, 0 worker threads).
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: vixLogLevel = 0
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: vixApiTraceLevel = 0
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: vixDebugPanicOnVixAssert = 0
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: vixLogRefcountOnFinalRelease = 0
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: asyncOpWarningThreshold = 1000000
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: enableSyncOpSelection = FALSE
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: enableExternalThreadInterface = TRUE
2013-10-24T15:22:52.430-04:00| vmplayer| I120: Vix_InitializeGlobalState: enableVigor = FALSE
2013-10-24T15:22:52.430-04:00| vmplayer| I120: LOCALE windows-1252 -> NULL User=409 System=409
2013-10-24T15:22:52.430-04:00| vmplayer| I120: VixHost_ConnectEx: version -1, hostType 3, hostName (null), hostPort 0, options 8707
2013-10-24T15:22:52.441-04:00| vmplayer| I120: REM-USB: Protocol version min:15 current:16. hostId:cb e2 23 33 83 54 38 b5-ad a5 77 7f 8a 6d 53 56
2013-10-24T15:22:52.442-04:00| vmplayer| I120: REM-USB: Initializing 'Generic' backend
2013-10-24T15:22:52.442-04:00| vmplayer| I120: USBGW: Write arbitrator op:15 len:4
2013-10-24T15:22:52.442-04:00| vmplayer| I120: USBGW: Write arbitrator op:0 len:4
2013-10-24T15:22:52.442-04:00| vmplayer| I120: USBGW: Write arbitrator op:13 len:13
2013-10-24T15:22:52.442-04:00| vmplayer| I120: REM-USB: Initializing 'Virtual CCID' backend
2013-10-24T15:22:52.474-04:00| vmplayer| I120: USB-CCID: Could not establish context: SCARD_E_NO_SERVICE(0x8010001d).
2013-10-24T15:22:52.501-04:00| vmplayer| I120: USB-CCID: Could not establish context: SCARD_E_NO_SERVICE(0x8010001d).
2013-10-24T15:22:52.501-04:00| vmplayer| I120: HOSTINFO 40997240134 @ 3255390Hz -> 0 @ 1000000000Hz
2013-10-24T15:22:52.501-04:00| vmplayer| I120: HOSTINFO ((x * 2576836569) >> 23) + -12593649340315
2013-10-24T15:22:52.501-04:00| usbCCIDEnumCards| I120: VTHREAD start thread 4 "usbCCIDEnumCards" host id 1688
2013-10-24T15:22:52.501-04:00| usbCCIDEnumCards| I120: USB-CCID: Card enum thread created.
2013-10-24T15:22:52.531-04:00| vmplayer| I120: CDS: Initializing a CDS updater client 1.0 for product player-windows, version 5.0.2 (workspace C:\Users\jbisson\AppData\Local\VMware\vmware-custData-0384)
2013-10-24T15:22:52.531-04:00| vmplayer| I120: LOCALE windows-1252 -> NULL User=409 System=409
2013-10-24T15:22:52.538-04:00| usbCCIDEnumCards| I120: USB-CCID: Could not establish context: SCARD_E_NO_SERVICE(0x8010001d).
2013-10-24T15:22:52.543-04:00| vmplayer| I120: PlayerFrame::UpdateActivePlayer: mActive=1
2013-10-24T15:22:52.598-04:00| vmplayer| I120: CDS: Initializing a CDS updater client 1.0 for product player-windows, version 5.0.2.1031769 (workspace C:\Users\jbisson\AppData\Local\VMware\vmware-download-0384)
2013-10-24T15:22:52.599-04:00| vmplayer| I120: LOCALE windows-1252 -> NULL User=409 System=409
2013-10-24T15:22:52.599-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion
2013-10-24T15:22:52.599-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion-antivirus-windows
2013-10-24T15:22:52.599-04:00| vmplayer| I120: CDS error: No install keys defined for fusion-mas
2013-10-24T15:22:52.600-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion-mas
2013-10-24T15:22:52.600-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion-ovftool
2013-10-24T15:22:52.600-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product player-linux
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {A53A11EA-0095-493F-86FA-A15E8A86A405} is unknown in the MSI database.
2013-10-24T15:22:52.600-04:00| vmplayer| W110: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: Install database empty! Overriding install state of player-windows
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {313C6E9F-180C-46C3-8CB1-A2AFB34DF643} is unknown in the MSI database.
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {003BFBBD-6C67-419E-A24D-0DCAFC3A5249} is unknown in the MSI database.
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {D102611A-6466-4101-A51D-51069303AC65} is unknown in the MSI database.
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {197597A7-AD33-4898-9D8E-73066818B464} is unknown in the MSI database.
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {AB1C87CB-1807-4CF0-B4C2-CEE14C18CDB4} is unknown in the MSI database.
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {AE0F62A7-A1A2-407F-9F4C-48939BD9AD8D} is unknown in the MSI database.
2013-10-24T15:22:52.600-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {FFD9383C-01D5-4897-A954-43AF599AED30} is unknown in the MSI database.
2013-10-24T15:22:52.601-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product ws-linux
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {A3FF5CB2-FB35-4658-8751-9EDE1D65B3AA} is unknown in the MSI database.
2013-10-24T15:22:52.601-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion
2013-10-24T15:22:52.601-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion-antivirus-windows
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS error: No install keys defined for fusion-mas
2013-10-24T15:22:52.601-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion-mas
2013-10-24T15:22:52.601-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product fusion-ovftool
2013-10-24T15:22:52.601-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product player-linux
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {A53A11EA-0095-493F-86FA-A15E8A86A405} is unknown in the MSI database.
2013-10-24T15:22:52.601-04:00| vmplayer| W110: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: Install database empty! Overriding install state of player-windows
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {313C6E9F-180C-46C3-8CB1-A2AFB34DF643} is unknown in the MSI database.
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {003BFBBD-6C67-419E-A24D-0DCAFC3A5249} is unknown in the MSI database.
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {D102611A-6466-4101-A51D-51069303AC65} is unknown in the MSI database.
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {197597A7-AD33-4898-9D8E-73066818B464} is unknown in the MSI database.
2013-10-24T15:22:52.601-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {AB1C87CB-1807-4CF0-B4C2-CEE14C18CDB4} is unknown in the MSI database.
2013-10-24T15:22:52.602-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {AE0F62A7-A1A2-407F-9F4C-48939BD9AD8D} is unknown in the MSI database.
2013-10-24T15:22:52.602-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {FFD9383C-01D5-4897-A954-43AF599AED30} is unknown in the MSI database.
2013-10-24T15:22:52.602-04:00| vmplayer| I120: cui::ComponentMgrCDS::RefreshComponentListWithDefaults: CDS_UNKNOWN_PRODUCT_ERROR for product ws-linux
2013-10-24T15:22:52.602-04:00| vmplayer| I120: CDS: CdsUtil_QueryMsiByProductCode: {A3FF5CB2-FB35-4658-8751-9EDE1D65B3AA} is unknown in the MSI database.
2013-10-24T15:22:52.602-04:00| vmplayer| I120: CDS: Fetching repository index from https://softwareupdate.vmware.com/cds/index.xml
2013-10-24T15:23:03.885-04:00| vmplayer| I120: CDS error: Couldn't determine proxy for URL https://softwareupdate.vmware.com/cds/index.xml (12180)
2013-10-24T15:23:03.885-04:00| vmplayer| I120: CDS warning: Could not use PAC file or automatic proxy detection.
2013-10-24T15:23:03.885-04:00| vmplayer| I120: CDS warning: Could not automatically detect a proxy for https://softwareupdate.vmware.com/cds/index.xml. Assuming none.
2013-10-24T15:23:03.888-04:00| vmplayer| I120: VMMgr::OpenVM (cfgPath=C:\somePath\vmSimulator.vmx)
2013-10-24T15:23:03.889-04:00| vmplayer| I120: USBGW: Write arbitrator op:8 len:8
2013-10-24T15:23:03.923-04:00| vthread-5| I120: VTHREAD initialize thread 5 "vthread-5" host id 2128
2013-10-24T15:23:03.930-04:00| vthread-6| I120: VTHREAD initialize thread 6 "vthread-6" host id 4400
2013-10-24T15:23:03.933-04:00| vthread-6| I120: FILE: FileLockScanDirectory discarding M27176.lck from C:\somePath\vmSimulator.vmx.lck': invalid executionID.
2013-10-24T15:23:03.934-04:00| vthread-6| I120: C:\somePath\vmSimulator.vmx: Reloading config state.
2013-10-24T15:23:03.949-04:00| vthread-6| I120: VMHS: Transitioned vmx/execState/val to poweredOff
2013-10-24T15:23:03.970-04:00| vthread-7| I120: CnxAuthdConnect: Returning false because CnxAuthdConnectPipe failed
2013-10-24T15:23:03.970-04:00| vthread-7| I120: VTHREAD initialize thread 7 "vthread-7" host id 4460
2013-10-24T15:23:03.970-04:00| vthread-7| I120: CnxConnectAuthd: Returning false because CnxAuthdConnect failed
2013-10-24T15:23:03.970-04:00| vthread-7| I120: Cnx_Connect: Returning false because CnxConnectAuthd failed
2013-10-24T15:23:03.970-04:00| vthread-7| I120: Cnx_Connect: Error message: Failed to read vmware-authd port number: Cannot connect to VMX: C:\somePath\vmSimulator.vmx
2013-10-24T15:23:03.970-04:00| vthread-7| I120:
2013-10-24T15:23:03.970-04:00| vthread-7| I120: Vix: [4460 foundryVMPowerOps.c:5982]: Error VIX_E_HOST_TCP_SOCKET_ERROR in FoundryVMOpenSocketToVMXThroughAuthd(): unable to contact authd: 'Failed to read vmware-authd port number: Cannot connect to VMX: C:\somePath\vmSimulator.vmx
2013-10-24T15:23:03.970-04:00| vthread-7| I120+ '
2013-10-24T15:26:12.475-04:00| vmplayer| I120: PlayerFrame::UpdateActivePlayer: mActive=0
in vmware-vix-1596.log (didn't print all the stack)
2013-10-24T15:22:52.237-04:00| vthread-5| I120:
2013-10-24T15:22:52.237-04:00| vthread-5| I120: Vix: [3440 foundryVMPowerOps.c:5982]: Error VIX_E_HOST_TCP_SOCKET_ERROR in FoundryVMOpenSocketToVMXThroughAuthd(): unable to contact authd: 'Failed to read vmware-authd port number: Cannot connect to VMX: C:/somePath/vmSimulator.vmx
2013-10-24T15:22:52.237-04:00| vthread-5| I120+ '
2013-10-24T15:22:52.237-04:00| vix| I120: Vix: [4304 foundryHandleProperties.c:3362]: Error VIX_E_NOT_FOUND in Vix_GetPropertiesImpl(): Unable to get bool property 107.
2013-10-24T15:22:52.250-04:00| vthread-5| I120: CnxAuthdConnect: Returning false because CnxAuthdConnectPipe failed
2013-10-24T15:22:52.250-04:00| vthread-5| I120: CnxConnectAuthd: Returning false because CnxAuthdConnect failed
2013-10-24T15:22:52.250-04:00| vthread-5| I120: Cnx_Connect: Returning false because CnxConnectAuthd failed
2013-10-24T15:22:52.250-04:00| vthread-5| I120: Cnx_Connect: Error message: Failed to read vmware-authd port number: Cannot connect to VMX: C:/somePath/vmSimulator.vmx
2013-10-24T15:22:52.250-04:00| vthread-5| I120:
2013-10-24T15:22:52.250-04:00| vthread-5| I120: Vix: [4116 foundryVMPowerOps.c:5982]: Error VIX_E_HOST_TCP_SOCKET_ERROR in FoundryVMOpenSocketToVMXThroughAuthd(): unable to contact authd: 'Failed to read vmware-authd port number: Cannot connect to VMX: C:/somePath/vmSimulator.vmx
2013-10-24T15:22:52.250-04:00| vthread-5| I120+ '
2013-10-24T15:22:52.761-04:00| vthread-5| I120: CnxAuthdConnect: Returning false because CnxAuthdConnectPipe failed
2013-10-24T15:22:52.761-04:00| vthread-5| I120: CnxConnectAuthd: Returning false because CnxAuthdConnect failed
2013-10-24T15:22:52.761-04:00| vthread-5| I120: Cnx_Connect: Returning false because CnxConnectAuthd failed
2013-10-24T15:22:52.761-04:00| vthread-5| I120: Cnx_Connect: Error message: Failed to read vmware-authd port number: Cannot connect to VMX: C:/somePath/vmSimulator.vmx
2013-10-24T15:22:52.761-04:00| vthread-5| I120:
2013-10-24T15:22:52.761-04:00| vthread-5| I120: Vix: [4116 foundryVMPowerOps.c:5982]: Error VIX_E_HOST_TCP_SOCKET_ERROR in FoundryVMOpenSocketToVMXThroughAuthd(): unable to contact authd: 'Failed to read vmware-authd port number: Cannot connect to VMX: C:/somePath/vmSimulator.vmx
2013-10-24T15:22:52.761-04:00| vthread-5| I120+ '
2013-10-24T15:22:53.272-04:00| vthread-5| I120: CnxAuthdConnect: Returning false because CnxAuthdConnectPipe failed
2013-10-24T15:22:53.272-04:00| vthread-5| I120: CnxConnectAuthd: Returning false because CnxAuthdConnect failed
2013-10-24T15:22:53.272-04:00| vthread-5| I120: Cnx_Connect: Returning false because CnxConnectAuthd failed
2013-10-24T15:22:53.272-04:00| vthread-5| I120: Cnx_Connect: Error message: Failed to read vmware-authd port number: Cannot connect to VMX: C:/somePath/vmSimulator.vmx
2013-10-24T15:22:53.272-04:00| vthread-5| I120:
BTW, I was using vix 1.12 and vmware player 5.0 on a windows 7 x64 machine.
I was able to resolved it by upgrading to vmware vix 1.13 and vmware player 6.0.