The functionality of this Fling has been integrated into Horizon View 6.1 and due to this, this Fling has been retired. This means that this Fling will not be updated in the future and comments will not be responded to. However, you can still download this Fling if you are using earlier versions of Horizon View.
May 10, 2016

Very very nice.
Thank you so much for this tool!

Mar 24, 2016

Very nice..

VM's stuck on deleting. With this tool i fixed it +1

Nov 04, 2015
Nov 05, 2015

Hi Reid,

Is the vCenter health ok in View Administrator?

Also, have you changed the list of supported client/server SSL cipher suites on the connection server?

Thanks

May 10, 2016

I have identical errors as Reid Torr. Does anyone have a list of ports that this tools needs and to which servers it needs to connect?

May 10, 2016

Hi Jeff,

This tool is designed to run on a connection server and doesn't have any additional port requirements above those required for the connection server itself.

Also please note that ViewDbChk is fully integrated with the latest View release.

Nov 08, 2015

All green in View Administrator, change nothing in SSL config on the connection servers

Ran with --verbose --debug

C:\Windows\system32>viewdbchk --scanMachines --verbose --debug
DEBUG - adamwrapper default page size is set to 10000
Added desktop pool: cn=imprivata,ou=server groups,dc=vdi,dc=vmware,dc=int
Added desktop pool: cn=testpes1,ou=server groups,dc=vdi,dc=vmware,dc=int
Desktop pool count: 2
Added machine: cn=fad32b7a-058f-49fa-a25f-6adc2d1af4c5,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=05af84cd-05d6-4912-b654-2169261d6358,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=c090ca33-6b6b-4514-a6a2-8359114a00a2,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=016bf061-b463-476d-8004-cb23dfa7d9c2,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=c3981a9d-dd5f-4234-9af0-a303339db30b,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=f1d1cb2c-03a7-48f0-94de-5a07bda78abc,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=245b0a03-16a7-4d9b-892c-b1bb49ced007,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=e456d0d9-5f72-440a-ab5d-6596ea966dd6,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=03e4c65b-873a-4a08-b906-e8448cd3db24,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=1518f2d8-22d5-4abc-b559-64ab2dce8239,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=c525d62d-44c0-4975-81dd-5ba41ffb80fc,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=0ffdb592-ae5e-47fa-9889-23202de2008c,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=69d77b20-c299-41b6-809d-3ae079b7fd83,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=0f40ca92-4a38-4c6f-8e47-ec9a8d534a76,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=57ae5a1f-ea21-48e9-b185-7f6de797936d,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=6ff3053b-d24b-4092-ac30-a02ee5be38a4,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=5e83e021-95a4-43f2-8899-2aebe2c255a8,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=f75e95ec-1406-4bb3-944a-8af06074e3de,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=942b0797-5dae-4849-8bf8-860f84ece302,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=a53496a4-81f2-4273-aa41-a58bf7243a8c,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=5e44d0b8-b1fd-49a9-96d1-16d7b42781e9,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=dbb41c38-4801-4106-86b3-8d912f8bda2a,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=b14323bb-acf5-4eff-ae92-ac46e44c3570,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=14245758-cce7-435c-bec5-c36e8a15a78e,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=ceff73fb-6b52-48c4-be86-b95586fbcf34,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=a41623d4-14ae-4dba-a40b-1af6b6a19a1d,ou=servers,dc=vdi,dc=vmware,dc=int
Added machine: cn=7b2b7ba7-5d42-478b-8469-084d561904a4,ou=servers,dc=vdi,dc=vmware,dc=int
Machine count: 27
Checking for machines with errors...
DEBUG - Created a new LdapContext in pool
Connecting to vCenter "https://hzn-vcngcup001.qh.health.qld.gov.au:443/sdk". This may take some time...
DEBUG - Connecting instance cn=e829a797-cc2b-4ccd-b1f6-2ff94efe91bf,ou=virtualcenter,ou=properties,dc=vdi,dc=vmware,dc=int at URL https://hzn-vcngcup001.qh.health.qld.gov.au:443/sdk
DEBUG - Created new CertMatchingTrustManager com.vmware.vdi.ssl.CertMatchingTrustManager@c27d572 with ThumbprintManager com.vmware.vdi.desktopcontroller.LdapThumbprintManager@53dc5341
DEBUG - Creating new HardenedSSLSocketFactory, caller=com.vmware.vdi.ssl.HardenedSSLSocketFactory.(HardenedSSLSocketFactory.java:66)
DEBUG - SSL provider: SunJSSE version 1.7
DEBUG - SSL protocol: TLSv1.1
DEBUG - SSL secure protocols (2): [TLSv1.1, TLSv1]
DEBUG - SSL cipher suites (5): [TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_RC4_128_SHA]
DEBUG - invalid certificate (as expected) for hzn-vcngcup001.qh.health.qld.gov.au:443 InvalidCertificateException[reasons:notTrusted;cantCheckRevoked; subject:'C=US, CN=hzn-vcngcup001.qh.health.qld.go
v.au' message:'ValidateCertificateChain Result: FAIL, EndEntityReasons: cantCheckRevoked, ChainReasons: partialChain, noTrust']
ERROR - Problem connecting to VirtualCenter at https://hzn-vcngcup001.qh.health.qld.gov.au:443/sdk (java.net.SocketException: Software caused connection abort: socket write error)
DEBUG - Unusual VC connection problem
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketException: Software caused connection abort: socket write error
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:377)
at sun.security.ssl.OutputRecord.write(OutputRecord.java:363)
at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:837)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:808)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:679)
at sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:999)
at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1161)
at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1073)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:341)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at com.vmware.vdi.vcsupport.ssl.AxisSecureSocketFactory.create(AxisSecureSocketFactory.java:95)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.vmware.vim25.InternalVimBindingStub.retrieveServiceContent(InternalVimBindingStub.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.vmware.vdi.vcsupport25.VimPortProxy$InternalVimPortTypeInvocationHandler.invoke(VimPortProxy.java:101)
at com.sun.proxy.$Proxy0.retrieveServiceContent(Unknown Source)
at com.vmware.vdi.vcsupport25.ServiceConnection25.init(ServiceConnection25.java:467)
at com.vmware.vdi.vcsupport25.ServiceConnection25.<init>(ServiceConnection25.java:322)
at com.vmware.vdi.vcsupport25.ServiceConnection25.createInstanceOrFail(ServiceConnection25.java:285)
at com.vmware.vdi.viewdbchk.desktop.MiniVCDriver.getServiceConnection(MiniVCDriver.java:144)
at com.vmware.vdi.viewdbchk.desktop.MiniVCDriver.getManagedObjects(MiniVCDriver.java:264)
at com.vmware.vdi.viewdbchk.desktop.MiniVCDriver.getAllVmMoids(MiniVCDriver.java:283)
at com.vmware.vdi.viewdbchk.command.PoolHelper.getErrorMachines(PoolHelper.java:337)
at com.vmware.vdi.viewdbchk.command.ScanMachines.execute(ScanMachines.java:80)
at com.vmware.vdi.viewdbchk.command.ViewDbCmd.execute(ViewDbCmd.java:409)
at com.vmware.vdi.viewdbchk.ViewDbChk.go(ViewDbChk.java:129)
at com.vmware.vdi.viewdbchk.ViewDbChk.main(ViewDbChk.java:62)

{http://xml.apache.org/axis/}hostname:hzn-congcup001

java.net.SocketException: Software caused connection abort: socket write error
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.vmware.vim25.InternalVimBindingStub.retrieveServiceContent(InternalVimBindingStub.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.vmware.vdi.vcsupport25.VimPortProxy$InternalVimPortTypeInvocationHandler.invoke(VimPortProxy.java:101)
at com.sun.proxy.$Proxy0.retrieveServiceContent(Unknown Source)
at com.vmware.vdi.vcsupport25.ServiceConnection25.init(ServiceConnection25.java:467)
at com.vmware.vdi.vcsupport25.ServiceConnection25.(ServiceConnection25.java:322)
at com.vmware.vdi.vcsupport25.ServiceConnection25.createInstanceOrFail(ServiceConnection25.java:285)
at com.vmware.vdi.viewdbchk.desktop.MiniVCDriver.getServiceConnection(MiniVCDriver.java:144)
at com.vmware.vdi.viewdbchk.desktop.MiniVCDriver.getManagedObjects(MiniVCDriver.java:264)
at com.vmware.vdi.viewdbchk.desktop.MiniVCDriver.getAllVmMoids(MiniVCDriver.java:283)
at com.vmware.vdi.viewdbchk.command.PoolHelper.getErrorMachines(PoolHelper.java:337)
at com.vmware.vdi.viewdbchk.command.ScanMachines.execute(ScanMachines.java:80)
at com.vmware.vdi.viewdbchk.command.ViewDbCmd.execute(ViewDbCmd.java:409)
at com.vmware.vdi.viewdbchk.ViewDbChk.go(ViewDbChk.java:129)
at com.vmware.vdi.viewdbchk.ViewDbChk.main(ViewDbChk.java:62)
Caused by: java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:377)
at sun.security.ssl.OutputRecord.write(OutputRecord.java:363)
at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:837)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:808)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:679)
at sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:999)
at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1161)
at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1073)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:341)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at com.vmware.vdi.vcsupport.ssl.AxisSecureSocketFactory.create(AxisSecureSocketFactory.java:95)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
... 27 more
** ERROR: EXCEPTION: Unable to establish a connection with vCenter: "https://hzn-vcngcup001.qh.health.qld.gov.au:443/sdk". Unable to establish a connection with vCenter: "https://hzn-vcngcup001.qh.
health.qld.gov.au:443/sdk". **

C:\Windows\System32>

Oct 05, 2016

It's been a year later, but on the off chance someone still reads these. what was the cause of your Error, and what was the fix, I'm getting the same error currently.

Nov 03, 2016

I am having this specific issue also. Did anyone find a solution?

Dec 01, 2016

Did you run CMD as admin?

Aug 10, 2015

Got the same error from the fling on View 6.1.1, but it works fine with the integrated ViewDBcheck