WARN osal Could not enumerate processes (1) error=-1073738819 | JRockit R28.1.3

FAQ

While starting weblogic server JRockit R28.1.3 gives below error

ISSUE Description
***************************************************

starting weblogic with Java version:

WARN osal Could not enumerate processes (1) error=-1073738819

WARN osal Could not add counter (null)\ for query

WARN osal Failed to init virtual size counter.

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

Oracle JRockit(R) (build R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32, compiled mode)

Starting WLS with line:
WARN Use of -Djrockit.optfile is deprecated and discouraged.

WARN osal Could not enumerate processes (1) error=-1073738819

WARN osal Could not add counter (null)\ for query

WARN osal Failed to init virtual size counter.

Solution:

This is very likely due to your performance counters being corrupt. They will have to be rebuilt from system backup store. Start a command prompt as admin, then run:

C:\Windows\system32>lodctr /r

Some actions may still be disabled after this. The status can be checked with lodctr /q.

C:\Windows\system32>lodctr /q
Performance Counter ID Queries PERFLIB:
Base Index: 0x00000737 (1847)
Last Counter Text ID: 0x00001572 (5490)
Last Help Text ID: 0x00001573 (5491)

http://.NET CLR Data Performance Counters (Enabled)
DLL Name: netfxperf.dll
Open Procedure: OpenPerformanceData
Collect Procedure: CollectPerformanceData
Close Procedure: ClosePerformanceData
First Counter ID: 0x00001092 (4242)
Last Counter ID: 0x0000109E (4254)
First Help ID: 0x00001093 (4243)
Last Help ID: 0x0000109F (4255)

http://.NET CLR Networking Performance Counters (Enabled)
DLL Name: netfxperf.dll
Open Procedure: OpenPerformanceData
Collect Procedure: CollectPerformanceData
Close Procedure: ClosePerformanceData
First Counter ID: 0x00001086 (4230)
Last Counter ID: 0x00001090 (4240)
First Help ID: 0x00001087 (4231)
Last Help ID: 0x00001091 (4241)

http://.NET Data Provider for Oracle Performance Counters (Enabled)
DLL Name: netfxperf.dll
Open Procedure: OpenPerformanceData
Collect Procedure: CollectPerformanceData
Close Procedure: ClosePerformanceData
First Counter ID: 0x00001068 (4200)
Last Counter ID: 0x00001084 (4228)
First Help ID: 0x00001069 (4201)
Last Help ID: 0x00001085 (4229)
...

If it says (Disabled) next to a provider, the provider can be enabled with lodctr /e:<provider name> (where <provider name> is the string between the brackets at the beginning of the entry).

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

2 Responses

  1. Mounia says:

    Hey ­čÖé
    I’ve tried your solution but then I get the message :
    “unable to rebuild performence counter sitting from system backup store, error code 5”
    I really need help :/

    • TechPaste.Com says:

      Start the cmd prompt as administrator and run the same commands to rebuild and check.

      “start as administrator”

Leave a Reply