Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dec 6, 2022 7:07:09 AM
Feb 1, 2019 8:47:27 AM
Qlik Sense Repository service will log performance counters, and set them up on startup. Unfortunately sometimes the base counters are corrupt so the start can't proceed.
The error in the logs:
fatal exception during startup Cannot load Counter Name data because an invalid index '' was read from the registry. at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)?? ? at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)?? [...] at System.Threading.ThreadHelper.ThreadStart() 3facc7ff-8275-4847-b3b7-338d32c4d1c5 its the repo checking the counter which doesn't exist
Qlik Sense April 2019 will log information including instructions to resolve the issue. See the related Release Notes for ID QLIK-92800:
"Failed to initialize usage of Windows Performance Counters. Make sure that performance counters are enabled or try rebuilding them with "lodctr /R"
A workaround is provided in repairing the Windows Performance Counters:
Pitfalls:
If you get as a return:
Error: Unable to rebuild performance counter setting from system backup store, error code is 5
then your prompt was not elevated. Elevate the command prompt with administrator permissions.
Ensure that the counters are not disabled in the registry
The counters may be disabled via registry settings. Please check the following registry locations to ensure that the counters have not been disabled.
HKLM\System\CurrentControlSet\Services\%servicename%\Performance
%servicename% represents any service with a performance counter. For example: PerfDisk, PerfOS, etc.
There may be registry keys for "DisablePerformanceCounters" in any of these locations. As per the following TechNet article, this value should be set to 0. If the value is anything other than 0 the counter may be disabled.
Disable Performance Counters
http://technet.microsoft.com/en-us/library/cc784382.aspx
ref. https://support.microsoft.com/en-us/help/2554336/how-to-manually-rebuild-performance-counters-for-wi...
Once done, return to Option 1