echo $SHELL # Should show /bin/bash If root uses a different shell (e.g., /bin/sh ), change it:
setenforce 0 # Temporarily disable SELinux If conversion succeeds, you can create a custom SELinux policy or run the converter in permissive mode.
Introduction VMware vCenter Converter Standalone is a powerful tool for converting physical machines (P2V) and third-party virtual machines to VMware virtual appliances. However, IT administrators frequently encounter a frustrating roadblock when attempting to convert a live Linux source machine: "Unable to query the live Linux source machine."
ssh -v root@<linux_source_ip> If you are prompted for a password or receive Permission denied , correct authentication first.
systemctl stop apparmor systemctl disable apparmor # only for testing The Converter expects /bin/bash to exist and be the default shell for root.
While PermitRootLogin yes is required for Converter, consider using key-based authentication and restricting the source IP address in /etc/hosts.allow or via firewall rules for security. Step 4: Temporarily Disable SELinux/AppArmor SELinux (enforcing mode) frequently blocks the Converter’s helper agent. To test:
echo $SHELL # Should show /bin/bash If root uses a different shell (e.g., /bin/sh ), change it:
setenforce 0 # Temporarily disable SELinux If conversion succeeds, you can create a custom SELinux policy or run the converter in permissive mode. echo $SHELL # Should show /bin/bash If root
Introduction VMware vCenter Converter Standalone is a powerful tool for converting physical machines (P2V) and third-party virtual machines to VMware virtual appliances. However, IT administrators frequently encounter a frustrating roadblock when attempting to convert a live Linux source machine: "Unable to query the live Linux source machine." systemctl stop apparmor systemctl disable apparmor # only
ssh -v root@<linux_source_ip> If you are prompted for a password or receive Permission denied , correct authentication first. To test:
systemctl stop apparmor systemctl disable apparmor # only for testing The Converter expects /bin/bash to exist and be the default shell for root.
While PermitRootLogin yes is required for Converter, consider using key-based authentication and restricting the source IP address in /etc/hosts.allow or via firewall rules for security. Step 4: Temporarily Disable SELinux/AppArmor SELinux (enforcing mode) frequently blocks the Converter’s helper agent. To test: