VMWare vCenter Converter Standalone – key can’t be retrieved. (return code 2) [SOLVED]

When trying to convert a running Linux machine with the stand alone converter I came across this error:


FAILED: A general system error occurred:
Network error. Host 10.0.0.1 key can't be retrieved. (return code 2)

I checked around the internet and came across this post.

The guy worked out that he had a bunch of stuff in his hosts.allow and hosts.deny and added the other correct subnets and it worked.

I checked my files and there was nothing in them. So I added the following to hosts.allow:


sudo echo "ALL:ALL" >> /etc/hosts.allow
service network restart

Restarted the network for good measure and I’ve now got it working, so far.

Update: As noted by ArKam in the comments below. This could also happen when the hosts FQDN can’t be resolved. The best idea is to clone the host using the IP address instead of a host name. Thanks for the tip!

Share :

Related Posts

Join me as I unveil my ultimate developer workspace for 2024. Discover how I've transformed a basic setup into a cosy, productivity-boosting environment from tech to ergonomics.

I have been struggling for a couple of days working with Google Cloud Scheduler and Cloud functions for a project I’m working on. I’ve been working with functions for a while now. It’s a good idea to secure all your functions so that only other cloud services can access them. This can be done using […]