PATROL Agent service fails to start with error "Error: 1067: the process terminated unexpectedly" and error "Failed to get performance counters. Exiting.." in the agent log file.Patrol Agent won't start Error: 1067: the process terminated unexpectedly

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    PATROL Agent/KM for Windows NT


    APPLIES TO:

    This is applicable on all version of PATROL Agent



    PROBLEM:

    PATROL Agent service fails to start with error "Error: 1067: the process terminated unexpectedly" and error "Failed to get performance counters. Exiting.." in the agent log file.

    When the agent is started in debug mode using the command prompt, the below error is seen:

    Error 4018: Cannot reach the performance database counter names, reason
    The system cannot find the file specified.

     


    SOLUTION:

    The performance counters work fine and show the data as well. Even reloading the counters does not help.

    Check the perfmon registry called perflib under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib and confirm its corresponding DLL files is present in System32 folder. Also check the registry 009 under Perflib and verify it has the keys "Counter" and "Help". Counter key should have names of all performance counters.

    If the Counter key is not present or does not have any values, copy this key/value from a similar server.

    If the above steps still doesn't resolve the error rebuild the counters, to do it please follow these steps:

    Open a 'cmd' prompt with Administrator permissions and run these commands:

    cd c:\windows\system32
    lodctr /R
    cd c:\windows\sysWOW64
    lodctr /R

    With this the error should be resolved.


    Article Number:

    000112097


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles