locked
Lightweight Gateway stuck in startup loop RRS feed

  • Question

  • Hi,

    I have installed the Lightweight Gateway on a 2008R2 server, but the Gateway service seem to have some problems starting, and the service is stuck in a startup loop (e.g., attempting to start the service, startup fails, atteming to start the service again).

    The following can be seen in the Microsoft.Tri.Gateway.log file:

    2017-04-24 08:33:31.6833 2424 9   1418b39a-5db6-4798-82ed-af246e3f1e56 Debug [GatewayPerformanceCounterManager] Starting
    2017-04-24 08:33:35.2245 2424 5   00000000-0000-0000-0000-000000000000 Error [IDataCollectorSet] System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)
       at PlaLibrary.IDataCollectorSet.start(Boolean Synchronous)
       at Microsoft.Tri.Infrastructure.Utils.DataCollectorSet.Start(String name)
       at Microsoft.Tri.Infrastructure.Framework.PerformanceCounterManager.<OnStartAsync>d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Tri.Infrastructure.Framework.Module.<StartAsync>d__19.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Tri.Infrastructure.Framework.ModuleManager.<OnStartAsync>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Tri.Infrastructure.Framework.Module.<StartAsync>d__19.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Tri.Infrastructure.Framework.Service.<OnStartAsync>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Tri.Infrastructure.Framework.Service.OnStart(String[] args)
    2017-04-24 08:33:40.9809 4864 5   00000000-0000-0000-0000-000000000000 Debug [GatewayService] Starting
    2017-04-24 08:33:41.0277 4864 5   00000000-0000-0000-0000-000000000000 Debug [GatewayModuleManager] Uninitialized


    The Microsoft.Tri.Gateway-Erros.log file is filling up with the "System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)" message. 

    Any help is much appreciated! :-)

    Best regards,

    Monday, April 24, 2017 8:43 AM

Answers

  • After some troubleshooting, and some assistance from the ATA team, I found that the "Performance Logs & Alerts" service is required for the ATA Gateway service. On the DC in question, this service was disabled, which was root cause for the issue I was experiencing. 

    Best regards,

    Monday, April 24, 2017 12:55 PM