Quantcast
Channel: VMware Communities : All Content - VMware vCenter Converter SDK
Viewing all articles
Browse latest Browse all 706

"could not determine if the source system was 32 or 64 bit;"

$
0
0

While trying to convert a CentOS Linux machine, I'm getting this error while querying the source spec.

[Converter Agent SysInfoQuery] could not determine if the source system was 32 or 64 bit; return code 1; result: Unable to open connection. Host doesn't exist.

 

It crashes here:

 

computerInfo = _converterServer._converterService.ConverterQuery(_converterServer._converterServerContent.queryManager,_liveSourceSpec);

 

Where the _liveSourceSpec is being built using the following. All parameters are correct and I have checked connectivity using SSH.

 

BuildLiveSourceLocation(String sourceName, String sourceUsername, String sourcePassword,String osType,String sslThumbprint)   
{

       ConverterComputerSpecLiveComputerLocation liveSourceLocation = newConverterComputerSpecLiveComputerLocation();

                liveSourceLocation.hostname = sourceName;

                liveSourceLocation.username = sourceUsername;
liveSourceLocation.osType = osType;

liveSourceLocation.verifyPeer =
true;

liveSourceLocation.verifyPeerSpecified = true;
liveSourceLocation.sslThumbprint = sslThumbprint;

       if (osType.ToLower().Equals("linuxos"))       
{

      liveSourceLocation.port = 22;

           liveSourceLocation.portSpecified = true;       
}

return liveSourceLocation;

   
}


Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>