TMG is taking long time to start (over 16 minutes) on Windows 2008 R2
- The following service is taking more than 16 minutes to start and may have stopped responding: Microsoft Forefront TMG Control
– The following service is taking more than 16 minutes to start and may have stopped responding: SQL Server Reporting Services (ISARS)
– The Microsoft Forefront TMG Control service terminated with service-specific error The wait operation timed out..
– The SQL Server Reporting Services (ISARS) service hung on starting.
– The Microsoft Forefront TMG Firewall service depends on the Microsoft Forefront TMG Control service which failed to start
– The Microsoft Forefront TMG Managed Control service depends on the Microsoft Forefront TMG Control service which failed to start
– The Microsoft Forefront TMG Job Scheduler service depends on the Microsoft Forefront TMG Control service which failed to start
Server dependencies
Then I checked the service startup dependencies comparing the working servers against the nonworking servers; I found out that the servers where the 16 minutes delay happens the dependencies where not setup properly.
Changed the startup dependencies according to the succesfull servers (default+http+keyiso) with the following command:
sc config isactrl depend= RasMan/SSTPSVC/FwEng/ISASTG/bfe/mpssvc/HTTP/KeyIso
Rebooted the server and Problem solved!
Cause:
The issue is that while the Control service is starting (has not reported the started state back to SCM), its actions might require to start additional service(s).
This causes a Service Control Manager deadlock due to which services cannot start right on time. This causes the “slow boot” behavior.
Therefore, we added the dependencies, so that the required services are started before the control service. This way we avoid the above problem.
source: http://www.toolzz.com
