Unable to query the live linux source machine make sure

Vmware convertor. Не получается клонировать машину на Debian.

Есть Машинка на Debian — задача склонировать ее и запустить, как виртуальную на ESXi. Выключить ее и склонировать на холодную не вариант. Конвертором не получается это сделать выкидывает следующую ошибку — «unable to query the live linux source machine». https://kb.vmware.com/s/article/1009153 — все пункты отсюда выполнены, не дало никаких результатов. Читал так же, что это может быть из-за названий сетевых интерфейсов, но у меня с этим тоже вроде все в порядке.

—> [2018-04-15 12:49:34,953 INFO storage ]: Getting stats for swap device /dev/sda5

—> [2018-04-15 12:49:34,953 INFO storage ]: Swap device /dev/sda5 has block device number (major,minor): (8,5)

—> [2018-04-15 12:49:34,953 WARN storage.volume ]: Cannot use statvfs() for the swap volume with device path: /dev/sda5, so the volume size statistics will not be set.

—> [2018-04-15 12:49:34,953 WARN storage.volume ]: Creating volume with mountPoint: , device path: /dev/sda5, fsType: linux-swap, _blockSizeInBytes: 0, _capacityInBlocks: 0, _blocksFree: 0

—> 2018-04-15T12:49:35.945+04:00 error vmware-converter-worker[03344] [Originator@6876 sub=Default] Sysinfo Query failed with error [Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 139; result: ./vmware-sysinfo.sh: line 21: 20179 Ошибка сегментирования LD_LIBRARY_PATH=«$abslibdir» «$libdir»/$binary «$@»

—> 2018-04-15T12:49:35.967+04:00 info vmware-converter-worker[03344] [Originator@6876 sub=Default] Scheduled timer canceled, StopKeepAlive succeeds 2018-04-15T12:51:37.768+04:00 info vmware-converter-worker[03376] [Originator@6876 sub=Default] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.

Это — то на что ругается worker.

2018-04-15T12:49:28.906+04:00 error converter-gui[08168] [Originator@6876 sub=wizardController] Cannot query source HW info: converter.fault.SysinfoQueryBadThumbprintFault 2018-04-15T12:49:28.955+04:00 info converter-gui[05456] [Originator@6876 sub=SourceSelect] Failed reading SSL thumbprint for host 10.xxx.xxx.xxx from registry. 2018-04-15T12:49:32.615+04:00 info converter-gui[07908] [Originator@6876 sub=ThreadPool] Thread enlisted 2018-04-15T12:49:35.971+04:00 error converter-gui[08168] [Originator@6876 sub=wizardController] Cannot query source HW info: converter.fault.SysinfoQueryLinuxFault

То на что ругается GUI, SSL я пробовал отключать для конвертора, но результата это не дало. Буду рад любой помощи.

Источник

Linux P2V Migration Error: Make sure that you can run sudo without entering a password – Troubleshooting

VMware vCenter Converter Tool Error List Troubleshooting

If you are trying to migrate the Linux machine P2V and/or V2V using vCenter converter standalone tool but facing migration error: Unable to query the live Linux source machine. Make sure that you can run sudo without entering a password when logged in to the source machine over SSH as user. but did not get the solution yet.

Linux P2V Error

Linux P2V Error : Unable to query the live Linux source machine. Make sure that you can run sudo without entering a password when logged in to the source machine over SSH as user

I have the best solution If you are struggling / facing these following errors list in vCenter converter standalone tool.

Linux P2V / V2V Error 1 : Unable to query the live Linux source machine. Make sure that you can run sudo without entering a password when logged in to the source machine over SSH as user.

Читайте также:  Magic mouse windows bootcamp

Linux P2V / V2V Error 2 : use of a non-root user for hot cloning of a Linux source machine.

Linux P2V / V2V Error 3 : VMware vCenter Converter Standalone Client need root privileges on the source machine ?

Linux P2V / V2V Error 4 : If you are / want to Use non root user to migrate the linux machine P2V and/or V2V.

Linux P2V / V2V Error 5 : sudo: sorry, you must have a tty to run sudo

Best Solution – Must Work

I am going to tell the the Best Solution that works in most of the cases to resolve the error: Unable to query the live Linux source machine. Make sure that you can run sudo without entering a password when logged in to the source machine over SSH as user.

Follow the steps:

Step 1: Open the Target Linux Machine ( Need to be migrated ) console

  • sudo vi /etc/ssh/sshd_conf
  • Change the “PermitRootLogin” parameter to “Yes“.
  • Save the file through “:wq!”
  • sudo service sshd restart

Step 2: Make changes in Sudoers config File

  • Add the following entry to /etc/sudoers to replace username with the non-root user’s name:
  • sudo vi /etc/sudoers
  • Make sure the following entry should not present in the sudoers config file, Know more about Default requiretty

OR – You can just disable it on a per-user basis instead of globally disabling it. If the vendor tool has it’s own account that it’s using, disable requiretty for that one specific account and leave the global defaults in place.

Sudoer config File output will be like below:

Note: The sudoers configuration might vary by system. For Ubuntu operating systems further configuration is needed. Target the specific user you are using and assign it user id 0/group 0. Ensure that you also enable Allow root to ssh even though you are not using the root account.

Step 3: If you are using vCenter converter standalone tool – Windows based / Installed in Winodws OS than need to make few changes in xml files.

  • Go to Windows machine in which – vCentter converter standalone tool is installed and browse the path: %ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Converter Standalone\
  • If Converter Standalone is running on a Linux machine, go to path: /etc/vmware-converter/

VMware vCenter Converter Standalone path in Windows OS

VMware vCenter Converter Standalone path in Windows OS

True Flag to indicate whether to use each task’s Linux P2V source machine’s password as the root password for the helper VM. Normally during Linux P2V the helper VM is inaccessible to the user, but this option overrides that behaviour and allows the user to login to the console of the helper VM.

This could be useful to retrieve logs in case of a catastrophic failure of the Converter Helper Server on the helper VM. It could also be used to debug problems with the network of the helper VM.

Important to note: when enabling this option it is highly recommended to also disable powerOff Helper Vm, so that the helper VM does not disappear out from underneath of you when the task is finished

Читайте также:  Драйвера для earpods для windows 10

Step 4: Restart vCenter Converter Standalone tool Services

Go to Windows Services and restart following services

  • Restart : Mware Converter Standalone Worker service
  • Restart : VMware Converter Standalone Agent

Alternatively way : instead of restarting Converter Standalone agent, you can reboot the system to make the changes to converter-agent.xml take effect.

Conclusion

Hopefully, You might get the solution of Linux machine P2V / V2V migration error: Unable to query the live Linux source machine. Make sure that you can run sudo without entering a password when logged in to the source machine over SSH as user -issue solution here.

Thanks to to being with HyperHCI Tech Blog to stay tuned to get the latest techie updates.!

More Troubleshooting Useful Links

Источник

Unable to query the live linux source machine make sure

  • VMware Technology Network
  • :
  • Cloud & SDDC
  • :
  • ESXi
  • :
  • ESXi Discussions
  • :
  • converter P2V Linux Unable to query the live Linux.
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

I’m having difficulty performing a P2V on a CentOS 5.10 box to ESXi 4.1. The process fails with an error message of

Unable to query the live Linux source machine

After searching most of the day I’ve either addressed or were NA the following possible reasons

* no, there is not 32K folders in/tmp

* there are no echo statements in /root/,bashrc

* mesg y is rem’d out in /etc/bashrc

* /tmp is rwx/777 across the board

* fails with same error message on Converter 4.0.1

* fails with same error message on Converter 4.3

* fails with same error message on Converter 5.5.2

* I can SSH into the box, so password is/should be fine

* I do get a SSH thumbprint pop-up the first time I connect

* I connect to port 22 of the CentOS box

* there is no special kernel (i.e. Xen), kernel is 2.6.18.274.12.1.el5

* this CentOS box does contain cPanel, seems some of the other people with the same problem also have cPanel installed

* fails with same error if I run from AD admin account or local PC admin account

* converter is installed on a Windows 7 Pro x64 sp1

* the CentOS box is across town on a public IP address

* I have copied over vmware-sysinfo-lin64 and run it on the CentOS box, not sure what to do after that — does that prep it for the Converter?

* per above, I can pscp copy files from W7 to CentOS

Источник

Unable to query the live linux source machine make sure

  • VMware Technology Network
  • :
  • Cloud & SDDC
  • :
  • vCenter
  • :
  • Converter Standalone Discussions
  • :
  • Linux P2V issue: unable to query the live Linux so.
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

We’re trying to convert some servers in a remote datacentre; the owners have given us SSH access through the firewall and even supplied the root password (I can confirm this by actually SSH-ing into the boxes, so that’s definitely working). However, the actual conversion process is going nowhere near as smoothly. Every time we try, the conversion process refuses to start, telling us that it was «unable to query the live Linux source machine»

Читайте также:  What platform is linux

Converter version: 6.1.1 (as Administrator), running on a Windows 10 PC (I’ve tried converter 4.x and 5.x as well, though)

Source: Dell box running RHEL 5.11

Destination: vSphere 5.1 cluster (not that we actually get that far)

I’ve checked what seem to be the usual causes for this; /tmp is writable, there are no «echo» statements in anyone’s .bashrc, and root has a proper shell (/bin/bash), and still no joy. Can anyone suggest what we might have missed? I’ve attached the logs from the failed conversion as well.

Источник

Unable to query the live linux source machine make sure

  • VMware Technology Network
  • :
  • Global
  • :
  • Russian
  • :
  • Russian Discussions
  • :
  • Convertor выдает данную ошибку — unable to query t.
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Есть Машинка на Debian — задача склонировать ее и запустить, как виртуальную на ESXi. Выключить ее и склонировать на холодную не вариант. Конвертором не получается это сделать выкидывает следующую ошибку — «unable to query the live linux source machine». https://kb.vmware.com/s/article/1009153 — все пункты отсюда выполнены, не дало никаких результатов. Читал так же, что это может быть из-за названий сетевых интерфейсов, но у меня с этим тоже вроде все в порядке.

—> [2018-04-15 12:49:34,953 INFO storage ]: Getting stats for swap device /dev/sda5 —> [2018-04-15 12:49:34,953 INFO storage ]: Swap device /dev/sda5 has block device number (major,minor): (8,5) —> [2018-04-15 12:49:34,953 WARN storage.volume ]: Cannot use statvfs() for the swap volume with device path: /dev/sda5, so the volume size statistics will not be set. —> [2018-04-15 12:49:34,953 WARN storage.volume ]: Creating volume with mountPoint: , device path: /dev/sda5, fsType: linux-swap, _blockSizeInBytes: 0, _capacityInBlocks: 0, _blocksFree: 0 —> 2018-04-15T12:49:35.945+04:00 error vmware-converter-worker[03344] [Originator@6876 sub=Default] Sysinfo Query failed with error [Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 139; result: ./vmware-sysinfo.sh: line 21: 20179 Ошибка сегментирования LD_LIBRARY_PATH=«$abslibdir» «$libdir»/$binary «$@» —> 2018-04-15T12:49:35.967+04:00 info vmware-converter-worker[03344] [Originator@6876 sub=Default] Scheduled timer canceled, StopKeepAlive succeeds 2018-04-15T12:51:37.768+04:00 info vmware-converter-worker[03376] [Originator@6876 sub=Default] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.

Это — то на что ругается worker.

2018-04-15T12:49:28.906+04:00 error converter-gui[08168] [Originator@6876 sub=wizardController] Cannot query source HW info: converter.fault.SysinfoQueryBadThumbprintFault 2018-04-15T12:49:28.955+04:00 info converter-gui[05456] [Originator@6876 sub=SourceSelect] Failed reading SSL thumbprint for host 10.xxx.xxx.xxx from registry. 2018-04-15T12:49:32.615+04:00 info converter-gui[07908] [Originator@6876 sub=ThreadPool] Thread enlisted 2018-04-15T12:49:35.971+04:00 error converter-gui[08168] [Originator@6876 sub=wizardController] Cannot query source HW info: converter.fault.SysinfoQueryLinuxFault

То на что ругается GUI, SSL я пробовал отключать для конвертора, но результата это не дало. Буду рад любой помощи.

Источник

Оцените статью