Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

Converter fails with ./vmware-sysinfo-lin64: not found

$
0
0

OS:

Ubuntu 8.04.4 LTS \n \l

Version:

Linux server.domain.com 2.6.18-164.11.1.el5xen #1 SMP Wed Jan 20 08:06:04 EST 2010 x86_64 GNU/Linux

 

This is an old Xen 64-bit host.

 

On advice on this forum I copied 'vmware-sysinfo-lin64.tar.gz' to the target machine and tried running this manually. I get the same:

 

root@server:/tmp/vmware# ls
libgcc_s.so.1    libparted-1.8.so.8  libuuid.so.1  libz.so.1             vmware-sysinfo-lin64.sh
liblog4cpp.so.4  libstdc++.so.6      libxml2.so.2  vmware-sysinfo-lin64  vmware-sysinfo.log.config
root@server:/tmp/vmware# sh vmware-sysinfo-lin64.sh
vmware-sysinfo-lin64.sh: 21: ./vmware-sysinfo-lin64: not found
root@server:/tmp/vmware# cat vmware-sysinfo-lin64.sh
#!/bin/sh
#
# Wrapper for the real binary. Ensure that the binary will find all
# the shared libraries it needs. If a shared library is not available from any
# of the standard system-wide locations, we provide it from the build
# directory. --hpreg
#
# Use readlink only when necessary: some boxes don't have it, some boxes have
# one that does not support the -f option. --hpreg
if [ -h "$0" ]; then
   this="`readlink -f "$0"`"
else
   this="$0"
fi
libdir="`dirname "$this"`"
binary="`basename "$this" .sh`"
abslibdir="`cd \"$libdir\" 2>/dev/null && pwd || echo \"$libdir\"`"
LD_LIBRARY_PATH="$abslibdir" "$libdir"/$binary "$@"    <- It fails on this line
I get different results when I connect to the public IP versus when I connect to the private IP.
When I connect to private IP I get:
could not determine if the source system was 32 or 64 bit; return code: 1; result: FATAL ERROR: Server unexpectedly closed network connection
Here is the complete log for when connecting to public IP, below it is the complete log for private IP.

2012-02-21T11:01:09.711+02:00 [02840 info 'Default'] Impersonating user eugene.vandermerwe in session 52c9e19f-db87-2394-5c67-20b223925a15

2012-02-21T11:02:19.995+02:00 [02108 error 'HttpConnectionPool'] [ConnectComplete] Connect error No connection could be made because the target machine actively refused it.

2012-02-21T11:02:19.995+02:00 [00936 info 'vmomi.soapStub[0]'] Resetting stub adapter for server TCP:196.x.x.x:9089 : Closed

2012-02-21T11:02:55.449+02:00 [02584 info 'Default'] Could not find the session object cache, will create a new one

2012-02-21T11:02:55.449+02:00 [02584 info 'Default'] Obtaining query results for host 196.x.x.x

2012-02-21T11:02:56.119+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint <emptyThumbprint> root@196.x.x.x uname -m" received error code (249) with result: ce:39:83:50:8e:86:51:57:8f:10:44:b7:9d:46:53:d9

-->

2012-02-21T11:02:56.119+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] ssh connection to host 196.x.x.x failed because the host thumbprint was different: client: <emptyThumbprint>, host: ce:39:83:50:8e:86:51:57:8f:10:44:b7:9d:46:53:d9

2012-02-21T11:02:56.119+02:00 [02584 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] ssh connection to host 196.x.x.x failed because the host thumbprint was different: client: <emptyThumbprint>, host: ce:39:83:50:8e:86:51:57:8f:10:44:b7:9d:46:53:d9

2012-02-21T11:02:56.119+02:00 [02584 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds

2012-02-21T11:02:56.173+02:00 [02584 info 'Default'] Obtaining query results for host 196.x.x.x

2012-02-21T11:02:59.917+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint ce:39:83:50:8e:86:51:57:8f:10:44:b7:9d:46:53:d9 root@196.x.x.x cd /tmp/.vmware-sysinfo-rewcjegznpcmclwh/; ./vmware-sysinfo-lin64.sh" received error code (127) with result: ./vmware-sysinfo-lin64.sh: 21: ./vmware-sysinfo-lin64: not found

-->

2012-02-21T11:02:59.917+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] received an error code (127) from the ssh client that will be handled later

2012-02-21T11:02:59.917+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 127; result: ./vmware-sysinfo-lin64.sh: 21: ./vmware-sysinfo-lin64: not found

-->

2012-02-21T11:02:59.917+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] Query(): Caught exception, cleaning up before bailing out ([Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 127; result: ./vmware-sysinfo-lin64.sh: 21: ./vmware-sysinfo-lin64: not found

--> )

2012-02-21T11:03:00.588+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint ce:39:83:50:8e:86:51:57:8f:10:44:b7:9d:46:53:d9 root@196.x.x.x cat /tmp/.vmware-sysinfo-rewcjegznpcmclwh/vmware-sysinfo.log" received error code (1) with result: cat: /tmp/.vmware-sysinfo-rewcjegznpcmclwh/vmware-sysinfo.log: No such file or directory

-->

2012-02-21T11:03:00.588+02:00 [02584 error 'Default'] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later

2012-02-21T11:03:00.588+02:00 [02584 error 'Default'] Converter Agent SysinfoQuery failed to grab log file; return code: 1; result: cat: /tmp/.vmware-sysinfo-rewcjegznpcmclwh/vmware-sysinfo.log: No such file or directory

-->

2012-02-21T11:03:01.165+02:00 [02584 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 127; result: ./vmware-sysinfo-lin64.sh: 21: ./vmware-sysinfo-lin64: not found

-->

2012-02-21T11:03:01.165+02:00 [02584 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds

2012-02-21T11:03:40.453+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.

 

Here is the log for interesting different error when I connect to private IP:

 

2012-02-21T11:03:40.453+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.

2012-02-21T11:03:40.516+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Created log bundle "source-hhmxannr.zip" with size "29933" and CRC "-582922959"

2012-02-21T11:03:40.531+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Creating agent connection for log retrieval.

2012-02-21T11:03:40.531+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Generating Agent diagnostic bundle for source = (converter.ComputerSpec) {

-->    dynamicType = <unset>,

-->    location = (converter.ComputerSpec.LiveComputerLocation) {

-->       dynamicType = <unset>,

-->       hostname = "196.x.x.x",

-->       port = <unset>,

-->       username = "root",

-->       password = (not shown),

-->       osType = "linuxOs",

-->       verifyPeer = true,

-->       sslThumbprint = "ce:39:83:50:8e:86:51:57:8f:10:44:b7:9d:46:53:d9",

-->    },

--> }

2012-02-21T11:03:40.531+02:00 [02108 info 'Default'] [Converter.Agent.DiagnosticManagerImpl] Generating LogBundle.

2012-02-21T11:03:40.578+02:00 [02108 info 'Default'] [Converter.Agent.DiagnosticManagerImpl] Created log bundle "source-jgvzgnzi.zip" with size "2148" and CRC "345209976"

2012-02-21T11:03:40.578+02:00 [02108 info 'Default'] [Converter.Agent.DiagnosticManagerImpl] Adjusted log bundle "source-jgvzgnzi.zip" with size "2148" and CRC "345209976"

2012-02-21T11:03:40.578+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Retrieving agent task log bundle to "C:\Windows\TEMP\vmware-temp\vmware-SYSTEM\agent-source-diagnostics-xigkyqav.zip".

2012-02-21T11:03:40.578+02:00 [02108 info 'Default'] [Converter.Agent.DiagnosticManagerImpl] Retrieving log bundle with key "source-jgvzgnzi.zip" at offset = "0" and max size = "2148".

2012-02-21T11:03:40.594+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Bundle successfully retrieved to "C:\Windows\TEMP\vmware-temp\vmware-SYSTEM\agent-source-diagnostics-xigkyqav.zip".

2012-02-21T11:03:40.609+02:00 [02840 warning 'Default'] [Converter.Worker.DiagnosticManagerImpl] Unable to remove temporary bundle directory "C:\Windows\TEMP\vmware-temp\vmware-SYSTEM".

2012-02-21T11:03:40.609+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Adjusted log bundle "source-hhmxannr.zip" with size "32156" and CRC "749092046"

2012-02-21T11:03:40.625+02:00 [02108 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Retrieving log bundle with key "source-hhmxannr.zip" at offset = "0" and max size = "32156".

2012-02-21T11:03:40.656+02:00 [02840 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Deleting log bundle with key "source-hhmxannr.zip"

2012-02-21T11:05:11.766+02:00 [00936 info 'Default'] Obtaining query results for host 192.168.20.61

2012-02-21T11:05:16.909+02:00 [00936 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint ce:39:83:50:8e:86:51:57:8f:10:44:b7:9d:46:53:d9 root@192.168.20.61 uname -m" received error code (1) with result: FATAL ERROR: Server unexpectedly closed network connection

-->

2012-02-21T11:05:16.909+02:00 [00936 error 'Default'] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later

2012-02-21T11:05:16.909+02:00 [00936 error 'Default'] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: FATAL ERROR: Server unexpectedly closed network connection

-->

2012-02-21T11:05:16.909+02:00 [00936 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: FATAL ERROR: Server unexpectedly closed network connection

-->

2012-02-21T11:05:16.909+02:00 [00936 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds

2012-02-21T11:05:21.198+02:00 [00936 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.


Viewing all articles
Browse latest Browse all 207710

Trending Articles



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