I have added the libraries to get ovftool 4.1.0 to run on ESX 4.1 but I am not getting beyond the pending connection. My test script:
#!/bin/sh
sh ./ovftool --acceptAllEulas --noSSLVerify --X:logFile=debug.log --X:logLevel=trivia -dm=thin -ds=datastore1 -n="RW Pulse"\
--X:ConnectRetryCount=2 --net:Rigwatch /vmfs/volumes/datastore2/RW_Pulse/RW_VM_TEMPLATE_OEL6.6x64_patrserver300b1.ovf\
"vi://root:<#PW#>@192.168.1.11"
The tail of the trivia debug log:
2016-07-06T14:25:05.852Z verbose -[3FFF183DFD0] [Originator@6876 sub=Default] Http response body:
--> <?xml version="1.0" encoding="UTF-8" ?>
--> <!--
--> Copyright 2008-2009 VMware, Inc. All rights reserved.
--> -->
--> <namespaces version="1.0">
--> <namespace>
--> <name>urn:vim25</name>
--> <version>4.1</version>
--> <priorVersions>
--> <version>4.0</version>
--> <version>2.5u2</version>
--> <version>2.5</version>
--> </priorVersions>
--> </namespace>
--> <namespace>
--> <name>urn:vim2</name>
--> <version>2.0</version>
--> </namespace>
--> </namespaces>
-->
2016-07-06T14:25:05.853Z verbose -[3FFF183DFD0] [Originator@6876 sub=Default] [ViConnection] Using vim API version: 4.1
2016-07-06T14:25:05.854Z verbose -[3FFF1901940] [Originator@6876 sub=Default] Curl session torn down
2016-07-06T14:25:05.867Z trivia -[3FFF183DFD0] [Originator@6876 sub=vmomi.soapStub[0]] Sending soap request to [<cs p:0000000013f853e0, TCP:192.168.1.11:443>]: GetContent {}
2016-07-06T14:25:05.870Z trivia -[3FFF183DFD0] [Originator@6876 sub=HttpConnectionPool-000000] [IncConnectionCount] Number of connections to <cs p:0000000013f853e0, TCP:192.168.1.11:443> incremented to 1
2016-07-06T14:25:05.871Z trivia -[3FFF183DFD0] [Originator@6876 sub=HttpConnectionPool-000000] [PopPendingConnection] Found pending connection to <cs p:0000000013f853e0, TCP:192.168.1.11:443>
2016-07-06T14:25:05.876Z trivia -[3FFF183DFD0] [Originator@6876 sub=vmomi.soapStub[0]] Request started [N7Vmacore4Http13UserAgentImpl22AsyncSendRequestHelperE:0x13f856d0]
Any further debug suggestions?
Thanks in advance!
The output when run:
/vmfs/volumes/54b597e8-85e04708-cc11-001e674aa4c5/vmware-ovftool-4.1 # ./testovftool
Opening OVF source: /vmfs/volumes/datastore2/RW_Pulse/RW_VM_TEMPLATE_OEL6.6x64_patrserver300b1.ovf
The manifest validates
Segmentation fault