Getting Data In

splunk-perfmon.exe won't start

rsantoso_splunk
Splunk Employee
Splunk Employee

The splunk-perfmon.exe process exits soon after start with no error being logged wither in the splunkd.log or in the windows event log.

There is error message in the event viewer:
Perflib 1008 error
(perfmon doesn’t open)

Tags (1)
0 Karma
1 Solution

rsantoso_splunk
Splunk Employee
Splunk Employee

1) Open a CMD via run as admin

2) Rebuild performance counters, run commands:

C:\Windows\system32\lodctr.exe /R
C:\Windows\SysWOW64\lodctr.exe /R

3) Now re-register the computer´s performance libraries with the following:

C:\Windows\System32\wbem\winmgmt.exe /RESYNCPERF
C:\Windows\SysWOW64\wbem\winmgmt.exe /RESYNCPERF

After perform this, the repair the perfmon metrics are now coming in.

Reference:
https://www.admin-enclave.com/en/articles/windows/306-resolved-the-open-procedure-for-service-bits-i...

View solution in original post

0 Karma

rsantoso_splunk
Splunk Employee
Splunk Employee

1) Open a CMD via run as admin

2) Rebuild performance counters, run commands:

C:\Windows\system32\lodctr.exe /R
C:\Windows\SysWOW64\lodctr.exe /R

3) Now re-register the computer´s performance libraries with the following:

C:\Windows\System32\wbem\winmgmt.exe /RESYNCPERF
C:\Windows\SysWOW64\wbem\winmgmt.exe /RESYNCPERF

After perform this, the repair the perfmon metrics are now coming in.

Reference:
https://www.admin-enclave.com/en/articles/windows/306-resolved-the-open-procedure-for-service-bits-i...

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...