- Remove From My Forums
-
Question
-
Every so often I get Event Log Errors Perflib 1008, PerfNet 2004
This is a New Sharepoint 2013 Server with July 2014 CU on Windows Server 2012R2 .
I’v reregisterd the DLLs, done a few registry tweaks, though not having any luck.
Any other Suggestions?
Thanks,
Log Name: Application Source: Microsoft-Windows-Perflib Date: 9/5/2014 9:42:32 AM Event ID: 1008 Task Category: None Level: Error Keywords: Classic User: N/A Computer: Description: The Open Procedure for service "FIMSynchronizationService" in DLL "C:Program FilesMicrosoft Office Servers15.0Synchronization ServiceBinmmsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2014-09-05T16:42:32.000000000Z" /> <EventRecordID>109378</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer></Computer> <Security /> </System> <UserData> <EventXML xmlns="Perflib"> <param1>FIMSynchronizationService</param1> <param2>C:Program FilesMicrosoft Office Servers15.0Synchronization ServiceBinmmsperf.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>0200000000000000</binaryData> </EventXML> </UserData> </Event>
Log Name: Application Source: Microsoft-Windows-PerfNet Date: 9/5/2014 9:42:32 AM Event ID: 2004 Task Category: None Level: Error Keywords: Classic User: N/A Computer: Description: Unable to open the Server service performance object. The first four bytes (DWORD) of the Data section contains the status code. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-PerfNet" Guid="{CAB2B8A5-49B9-4EEC-B1B0-FAC21DA05A3B}" EventSourceName="PerfNet" /> <EventID Qualifiers="49152">2004</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2014-09-05T16:42:32.000000000Z" /> <EventRecordID>109379</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer></Computer> <Security /> </System> <EventData> <Binary>220000C0</Binary> </EventData> </Event>
Hello all,
I have a problem I can not cope with.
VM with WS2012 + SQL 2014 + SharePoint 2013
3 messages received:
1.The Open Procedure for service «WmiApRpl» in DLL «C:Windowssystem32wbemwmiaprpl.dll» failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section
contains the error code.
XLM :
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-07-18T08:01:07.000000000Z" /> <EventRecordID>120805</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>M3MINGLE.tm.local</Computer> <Security /> </System> - <UserData> - <EventXML xmlns="Perflib"> <param1>WmiApRpl</param1> <param2>C:Windowssystem32wbemwmiaprpl.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>2A01000000000000</binaryData> </EventXML> </UserData> </Event>
2. The Open Procedure for service «BITS» in DLL «C:WindowsSystem32bitsperf.dll» failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
XML :
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-07-18T12:53:51.000000000Z" /> <EventRecordID>120807</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>M3MINGLE.tm.local</Computer> <Security /> </System> - <UserData> - <EventXML xmlns="Perflib"> <param1>BITS</param1> <param2>C:WindowsSystem32bitsperf.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>0200000000000000</binaryData> </EventXML> </UserData> </Event>
3. The Open Procedure for service «.NETFramework» in DLL «C:Windowssystem32mscoree.dll» failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-07-18T13:58:53.000000000Z" /> <EventRecordID>120808</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>M3MINGLE.tm.local</Computer> <Security /> </System> - <UserData> - <EventXML xmlns="Perflib"> <param1>.NETFramework</param1> <param2>C:Windowssystem32mscoree.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>0200000000000000</binaryData> </EventXML> </UserData> </Event>
The above errors get several times a day.
I tried all the possibilities.
- lodctr:<ini file> —
For 3 files made - https://technet.microsoft.com/en-us/library/cc774913(v=ws.10).aspx
(Performance Monitor works properly, typeperf –qx command completed successfully) -
Run >lodctr /r -
Run >lodctr /q -
Run > lodctr /r -
Lodctr.exe /R -
C:WindowsSystem32wbemwinmgmt.exe /RESYNCPERF -
C:WindowsSysWOW64wbemwinmgmt.exe /RESYNCPERF
Any ideas ?
-
Edited by
Wednesday, July 19, 2017 8:23 AM
Hello all,
I have a problem I can not cope with.
VM with WS2012 + SQL 2014 + SharePoint 2013
3 messages received:
1.The Open Procedure for service «WmiApRpl» in DLL «C:Windowssystem32wbemwmiaprpl.dll» failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section
contains the error code.
XLM :
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-07-18T08:01:07.000000000Z" /> <EventRecordID>120805</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>M3MINGLE.tm.local</Computer> <Security /> </System> - <UserData> - <EventXML xmlns="Perflib"> <param1>WmiApRpl</param1> <param2>C:Windowssystem32wbemwmiaprpl.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>2A01000000000000</binaryData> </EventXML> </UserData> </Event>
2. The Open Procedure for service «BITS» in DLL «C:WindowsSystem32bitsperf.dll» failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
XML :
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-07-18T12:53:51.000000000Z" /> <EventRecordID>120807</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>M3MINGLE.tm.local</Computer> <Security /> </System> - <UserData> - <EventXML xmlns="Perflib"> <param1>BITS</param1> <param2>C:WindowsSystem32bitsperf.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>0200000000000000</binaryData> </EventXML> </UserData> </Event>
3. The Open Procedure for service «.NETFramework» in DLL «C:Windowssystem32mscoree.dll» failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-07-18T13:58:53.000000000Z" /> <EventRecordID>120808</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>M3MINGLE.tm.local</Computer> <Security /> </System> - <UserData> - <EventXML xmlns="Perflib"> <param1>.NETFramework</param1> <param2>C:Windowssystem32mscoree.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>0200000000000000</binaryData> </EventXML> </UserData> </Event>
The above errors get several times a day.
I tried all the possibilities.
- lodctr:<ini file> —
For 3 files made - https://technet.microsoft.com/en-us/library/cc774913(v=ws.10).aspx
(Performance Monitor works properly, typeperf –qx command completed successfully) -
Run >lodctr /r -
Run >lodctr /q -
Run > lodctr /r -
Lodctr.exe /R -
C:WindowsSystem32wbemwinmgmt.exe /RESYNCPERF -
C:WindowsSysWOW64wbemwinmgmt.exe /RESYNCPERF
Any ideas ?
-
Edited by
Wednesday, July 19, 2017 8:23 AM
I started seeing the following error in my Windows Server 2012 event application logs somewhat recently, possibly after installing some Windows updates.
Log Name: Application
Source: Microsoft-Windows-Perflib
Date: 2018/11/11 14:02:21
Event ID: 1008
Task Category: None
Level: Error
Keyword: Classic
Explanation:
The Open Procedure for service Remote Access in DLL "C:WindowsSystem32rasctrs.dll" failed.
Performance data for this service will not be available.
The first four bytes (DWORD) of the Data section contains the error code
Event XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" />
<EventID Qualifiers="49152">1008</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-11-11T05:02:21.000000000Z" />
<EventRecordID>35760</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>COMP1.TEST.LOCAL</Computer>
<Security />
</System>
<UserData>
<EventXML xmlns="Perflib">
<param1>RemoteAccess</param1>
<param2>C:WindowsSystem32rasctrs.dll</param2>
<binaryDataSize>8</binaryDataSize>
<binaryData>0200000000000000</binaryData>
</EventXML>
</UserData>
</Event>
There is also a similar error for the BITS (bitsperf.dll) service.
I want to get rid of this error and have tried the entering the following commands (which are commonly mentioned in other forums and websites). However, they do not seem to have any effect.
C:Windowssystem32lodctr.exe /R
C:WindowsSysWOW64lodctr.exe /R
C:WindowsSystem32wbemwinmgmt.exe /RESYNCPERF
C:WindowsSysWOW64wbemwinmgmt.exe /RESYNCPERF
lodctr /T:TermService
In the registry I’ve also checked the read permissions in HKLMSYSTEMCurrentControlSetServices but they are the same as the other services.
I’ve also seen recommendations that people disable the performance counters for the above services. But to me this feels like it isn’t really solving the error insofar as it is hiding it?
I should also mention that the server is in a closed environment (no internet access).
Is there anything else I can do to get rid of this error?
Иногда пользователи начинают видеть ошибку события 1020 & 1008 Microsoft-Windows-Perflib ошибка в Windows 10 без видимой причины. Что еще более важно, они понятия не имеют, что ремонтировать его. Сообщение об ошибке выглядит примерно так —
1]Событие: 1008
Не удалось выполнить процедуру открытия службы «.NETFramework» в DLL «C: WINDOWS system32 mscoree.dll» с кодом ошибки. Система не может найти указанный файл. Данные о производительности для этой службы будут недоступны.
2]Событие: 1020
Требуемый размер буфера превышает размер буфера, переданный в функцию Collect библиотеки DLL расширяемого счетчика C: Windows System32 perfts.dll для службы LSM. Заданный размер буфера составлял 34184, а требуемый размер — 43160.
Решение этой проблемы требует некоторой работы. Следуйте инструкциям, приведенным ниже, чтобы исправить это — после создания точки восстановления системы.
Сообщается о событиях ошибки 1020 и 1008, потому что список счетчиков поврежден и необходимая библиотека DLL отключена. Если счетчику производительности не удается выгрузить строки для указанной службы, реестр может быть поврежден и отобразить ошибку 1020. Чтобы устранить эту проблему, заново создайте список счетчиков производительности.
- Щелкните «Пуск».
- Введите CMD в строку поиска.
- Щелкните правой кнопкой мыши командную строку.
- Выберите Запуск от имени администратора.
- Введите следующую команду и нажмите клавишу Enter–
CD %SYSTEMROOT%System32
- В командной строке введите
lodctr /r
. - Нажмите Ввод.
- Аналогично для ошибки 1008 введите
lodctr /e:<DLL name
>, а затем нажмите ENTER.
Обратите внимание, что для выполнения этой процедуры требуется членство в локальной группе администраторов. Чтобы восстановить список счетчиков в реестре, выполните следующие действия.
Нажмите кнопку «Пуск» в Windows 10.
В появившемся поле поиска введите CMD или Командная строка.
Когда параметр отображается, щелкните его правой кнопкой мыши и выберите Запустить от имени администратора вариант.
Теперь в окне командной строки, которое появляется на вашем экране, введите следующую команду и нажмите клавишу Enter — cd %SYSTEMROOT%System32
.
Снова введите следующую команду и нажмите клавишу Enter — lodctr /r
.
Точно так же ошибка 1008 Microsoft-Windows-Perflib возникает, когда необходимая DLL отключена. Чтобы решить проблему, введите lodctr /e:</<DLL name
> и нажмите ENTER (замените на имя файла библиотеки).
Надеюсь, это помогло.
Abstract:You get the error message “The Open Procedure for service XXX in DLL “C:WindowsSystem32XXX.dll” failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code” and wish to solve that.
The full error messages you got are:
Log Name: Application Source: Microsoft-Windows-Perflib Date: 09.03.2017 09:12:09 Event ID: 1008 Task Category: None Level: Error Keywords: Classic User: N/A Computer: server01.int.contoso.com Description: The Open Procedure for service "BITS" in DLL "C:WindowsSystem32bitsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-03-09T08:12:09.000000000" /> <EventRecordID>10416</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>server01.int.contoso.com</Computer> <Security /> </System> <UserData> <EventXML xmlns="Perflib"> <param1>BITS</param1> <param2>C:WindowsSystem32bitsperf.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>0200000000000000</binaryData> </EventXML> </UserData> </Event>
or
Log Name: Application Source: Microsoft-Windows-Perflib Date: 09.03.2017 09:12:09 Event ID: 1008 Task Category: None Level: Error Keywords: Classic User: N/A Computer: server01.int.contoso.com Description: The Open Procedure for service "WmiApRpl" in DLL "C:Windowssystem32wbemwmiaprpl.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Perflib" Guid="{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}" EventSourceName="Perflib" /> <EventID Qualifiers="49152">1008</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-03-09T08:12:09.000000000Z" /> <EventRecordID>261692</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>server01.int.contoso.com</Computer> <Security /> </System> <UserData> <EventXML xmlns="Perflib"> <param1>WmiApRpl</param1> <param2>C:Windowssystem32wbemwmiaprpl.dll</param2> <binaryDataSize>8</binaryDataSize> <binaryData>1500000000000000</binaryData> </EventXML> </UserData> </Event>
To solve that different solutions might apply here:
Solution 01:
1.) Open a CMD via run as admin
2.) enter
C:Windowssystem32lodctr.exe /R
and then
C:WindowsSysWOW64lodctr.exe /R
If you get the error “Error: Unable to rebuild performance counter setting from system backup store, error code is 2” repeat step 2.
3.) Now re-registers the computer´s performance libraries with the following (for more infos see):
C:WindowsSystem32wbemwinmgmt.exe /RESYNCPERF
C:WindowsSysWOW64wbemwinmgmt.exe /RESYNCPERF
Solution 02:
On some websites it is requested to use the PerfStringBackup.ini located in %systemroot%system32. However this file do not include all performance counters. The reason here is that the PerfStringBackup.ini is created before an application added new performance counters. That means the file is never aktuell and therefore using this might cause issues with the performance counters!
So please be carefull if you use:
%windir%system32lodctr /r: perfstringbackup.ini
Solution 03 (SharePoint only):
The issue occurs when the Local Service Account has insufficient registry permissions. To solve that add the local service account to the applicable registry keys and sub keys for the Service as noted in the description of the particular event.
Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. We cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.
So for the error messages seen above this means give read access for the COMPUTERNAMEWSS_WPG group to the following keys:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesBITSPerformance
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWmiApRplPerformance
Cross information:
- Event ID 1003 — Performance Library Availability
- How to troubleshoot WinMgmt-based performance counter errors