You cannot add or remove Performance Monitor counters (830059)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Operations Manager 2005, when used with:
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Server

SYMPTOMS

On a computer that is running EMC Control Center from EMC Corporation, you may not be able to add or to remove Performance Monitor counters. This issue may also cause program setup operations to quit prematurely. For example, when you try to install Microsoft Exchange Server 5.5, you may receive the following sequence of error messages:
The command
lodctr dsactrs.ini

failed, returning an error code of <6>.
Processing file '..\SETUP\I386\server.ins', at or near line 153

An internal component has failed.

Microsoft Exchange Server Setup
ID no:c103798a
An internal component has failed.

Microsoft Exchange Server Setup
ID no:c103798a
Microsoft Exchange Server Setup was
Interrupted before your new software was fully
installed.
You can run Microsoft Exchange Server Setup in its
entirety at a later time to complete the installation.
Note This issue may also cause the following symptoms:
  • When you install Microsoft SQL Server, SQL Server setup may not successfully load SQL Server performance monitor counters.
  • When you install Microsoft Operations Manager (MOM) 2005, the MOM 2005 Agent may not install. When this occurs, you may receive the following error message:
    Error 25211.Failed to install performance counters.. Error Code: -2147024864 (The process cannot access the file because it is being used by another process.)
    .

CAUSE

This issue occurs when the EMC Master Agent, a component of EMC Control Center, locks the Perfc009.dat and the Perfh009.dat Performance Monitor files. This action prevents any other process from writing to these files.

RESOLUTION

To resolve this issue, you must prevent the EMC program from locking the Performance Monitor files before you install any new Performance Monitor counters or any programs that require access to the Performance Monitor files. To prevent EMC Control Center from locking these files, use one of the following methods:
  • Stop the EMC Master Agent. For additional information, see your EMC Control Center documentation.
  • Prevent the MnrAgent.exe program (a component of EMC Master Agent) from capturing Performance Monitor data. To do so, follow these steps:
    1. Open the c:\ECC\exec\ctg.ini file in Notepad.
    2. Change the "SleepInterval = 3600" entry to the following:

      SleepInterval = 0

    3. Save and close the file.
    4. Right-click ctg.ini, and then click Properties.
    5. Click to select the Read-only check box, and then click OK.
  • Stop the MnrAgent.exe process. To do so, follow these steps:
    1. Click Start, right-click My Computer, and then click Manage.
    2. Expand Services and Applications, and then click Services.
    3. Right-click EMC Client Service, and then click Stop.
    4. Click Start, click Run, type taskkill /F /IM mnragent.exe, and then click OK.
    Note If stopping the Mnragent.exe process does not resolve the issue, you may need to manually end the Mnragent.exe process. To manually end the Mnragent.exe process, follow these steps:
    1. Press CTRL+ALT+DEL to start the Windows Security dialog box.
    2. Click Task Manager.
    3. On the Processes tab, click Mnragent.exe, and then click End Process.
    4. Quit Windows Task Manager.

MORE INFORMATION

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MinorLast Reviewed:5/2/2005
Keywords:kberrmsg kbwinservperf kbMgmtServices kbnofix kbinfo KB830059 kbAudITPRO