AATP sensor not starting

Deleted
Not applicable

Hi everybody,

 

I had such case:

AATP sensor on a Hyper-V DC (all other DCs work properly) had problem with starting for >10 days, so I uninstalled AATP sensor and tried to re-install this sensor.

Now AATP sensor installation (after long wait ~5 minutes) fails with error 0x80070643 😞

 

parts from logs (for search engines to index :smile:😞

 

Microsoft.Tri.Sensor.Updater-Errors.log:

2020-12-08 21:23:38.8043 Error PerformanceCounterLib System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
at Hashtable System.Diagnostics.PerformanceCounterLib.GetStringTable(bool isHelp)
at Hashtable System.Diagnostics.PerformanceCounterLib.get_NameTable()
at Hashtable System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at CategorySample System.Diagnostics.PerformanceCounterLib.GetCategorySample(string category)
at CategorySample System.Diagnostics.PerformanceCounterLib.GetCategorySample(string machine, string category)
at string[] System.Diagnostics.PerformanceCounterCategory.GetCounterInstances(string categoryName, string machineName)
at new Microsoft.Tri.Infrastructure.MetricManager(IConfigurationManager configurationManager)
at object lambda_method(Closure, object[])
at object Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at void Microsoft.Tri.Infrastructure.ModuleManager.AddModules(Type[] moduleTypes)
at ModuleManager Microsoft.Tri.Sensor.Updater.SensorUpdaterService.CreateModuleManager()
at async Task Microsoft.Tri.Infrastructure.Service.OnStartAsync()
at void Microsoft.Tri.Infrastructure.TaskExtension.Await(Task task)
at void Microsoft.Tri.Infrastructure.Service.OnStart(string[] args)
2020-12-08 21:23:45.5321 Error PerformanceCounterLib System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
at Hashtable System.Diagnostics.PerformanceCounterLib.GetStringTable(bool isHelp)
at Hashtable System.Diagnostics.PerformanceCounterLib.get_NameTable()
at Hashtable System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at CategorySample System.Diagnostics.PerformanceCounterLib.GetCategorySample(string category)
at CategorySample System.Diagnostics.PerformanceCounterLib.GetCategorySample(string machine, string category)
at string[] System.Diagnostics.PerformanceCounterCategory.GetCounterInstances(string categoryName, string machineName)
at new Microsoft.Tri.Infrastructure.MetricManager(IConfigurationManager configurationManager)
at object lambda_method(Closure, object[])
at object Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at void Microsoft.Tri.Infrastructure.ModuleManager.AddModules(Type[] moduleTypes)
at ModuleManager Microsoft.Tri.Sensor.Updater.SensorUpdaterService.CreateModuleManager()
at async Task Microsoft.Tri.Infrastructure.Service.OnStartAsync()
at void Microsoft.Tri.Infrastructure.TaskExtension.Await(Task task)
at void Microsoft.Tri.Infrastructure.Service.OnStart(string[] args)

 

From Microsoft.Tri.Sensor.Deployment.Deployer_xxxxxxxxxxxx.log :

2020-12-08 21:23:37.1168 Debug CopyServiceLogsOnRevertAction Apply started [suppressFailure=False]
2020-12-08 21:23:37.1168 Debug CopyServiceLogsOnRevertAction Apply finished
2020-12-08 21:23:37.1168 Debug StartServiceAction Apply started [suppressFailure=False]
2020-12-08 21:24:37.4544 Error ServiceControllerExtension ChangeServiceStatus failed to change service status [name=AATPSensorUpdater status=Running Exception=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Tri.Infrastructure.ServiceControllerExtension.ChangeServiceStatus(String name, ServiceControllerStatus status, TimeSpan timeout, Nullable`1 awaitedStatus)]
2020-12-08 21:25:38.5356 Error ServiceControllerExtension ChangeServiceStatus failed to change service status [name=AATPSensorUpdater status=Running Exception=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Tri.Infrastructure.ServiceControllerExtension.ChangeServiceStatus(String name, ServiceControllerStatus status, TimeSpan timeout, Nullable`1 awaitedStatus)]
2020-12-08 21:26:39.6481 Error ServiceControllerExtension ChangeServiceStatus failed to change service status [name=AATPSensorUpdater status=Running Exception=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Tri.Infrastructure.ServiceControllerExtension.ChangeServiceStatus(String name, ServiceControllerStatus status, TimeSpan timeout, Nullable`1 awaitedStatus)]
2020-12-08 21:27:40.6816 Error ServiceControllerExtension ChangeServiceStatus failed to change service status [name=AATPSensorUpdater status=Running Exception=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Tri.Infrastructure.ServiceControllerExtension.ChangeServiceStatus(String name, ServiceControllerStatus status, TimeSpan timeout, Nullable`1 awaitedStatus)]
2020-12-08 21:28:42.0287 Error ServiceControllerExtension ChangeServiceStatus failed to change service status [name=AATPSensorUpdater status=Running Exception=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Tri.Infrastructure.ServiceControllerExtension.ChangeServiceStatus(String name, ServiceControllerStatus status, TimeSpan timeout, Nullable`1 awaitedStatus)]
2020-12-08 21:28:42.0287 Debug InstallActionGroup Revert started
2020-12-08 21:28:42.0287 Warn InstallActionGroup Revert reverting [rollbackAction=CopyServiceLogsOnRevertAction index=0 count=9]
2020-12-08 21:28:42.0287 Debug CopyServiceLogsOnRevertAction Revert started
2020-12-08 21:28:42.0287 Debug CopyServiceLogsOnRevertAction Revert finished

 

Eli Ofek gave me a hint that Network Interface performance counters have problems and probably a rebuild is needed.

 

I rebuilt the counters according to https://docs.microsoft.com/en-us/troubleshoot/windows-server/performance/manually-rebuild-performanc... and the problem was solved :lol:

 

Thx, Eli!

0 Replies