VMware Horizon Community
smKKe
Contributor
Contributor

VMware View Connection Server not starting *sometimes* after reboot

I am running VMware View 4.6.  When rebooting the server, sometimes the VMware View Connection Server will not start.  The only error that I can see is "Wait for READY state FAILED for dependent 'wstunnel', error: Wait timeout."  The wstunnel is VMware View Security Gateway Component.  I added a screenshot of the service states (Automatic, Manual, Disabled).  I am running server 2003, thus I do not have a delayed start option...I can only set dependents of services.  Though if I reboot the server again...the services start fine.

Tags (3)
0 Kudos
5 Replies
gunnarb
Expert
Expert

Instead of delayed start you could just write a script to run as a task on startup.  I'd set it to wait 5 minutes then start the service.

Not an answer, but a work around.

Gunnar Berger http://www.gunnarberger.com http://www.endusercomputing.com
0 Kudos
smKKe
Contributor
Contributor

So something like this?...set the Connection server to manual.

rem Checking service state
NET START | FIND "wsbroker" > nul
IF errorlevel 1 GOTO :wsbroker_not_running

:wsbroker_not_running

Rem Pausing 5 minutes
c:\sleep.exe 300
NET START "wsbroker"

0 Kudos
gunnarb
Expert
Expert

Not sure if that actual script will do it, but logically that sounds good.

Gunnar Berger http://www.gunnarberger.com http://www.endusercomputing.com
0 Kudos
smKKe
Contributor
Contributor

Thanks.  Doing updates to the server now.  I will test it and post the results.

I would like to migrate to Server 2008 R2 in the near future.

0 Kudos
gunnarb
Expert
Expert

Good plan, especially since this is required for View 5.

Gunnar Berger http://www.gunnarberger.com http://www.endusercomputing.com
0 Kudos