Error messages are logged when you try to collect performance counters for Exchange (307613)
The information in this article applies to:
- Microsoft Exchange Server 2003 Enterprise Edition
- Microsoft Exchange Server 2003 Standard Edition
- Microsoft Exchange 2000 Server
- Microsoft Exchange Server 5.5
- Microsoft Exchange Server 5.0
- Microsoft Exchange Server 4.0
- Microsoft Windows Small Business Server 2003, Premium Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
This article was previously published under Q307613 This article is a consolidation of the following previously available articles: 307613 SYMPTOMS When you try to collect System Monitor data from a Microsoft
Exchange Server-based server, you may receive an error message or a series of error
messages that are similar to the following error messages in the Exchange Server event
log: Event Type: Error
Event Source: MSExchangeIS
Event Category: Performance
Event ID: 8001
Description:
Unable to read the index for the first counter of the Performance Registry key.
Event Type: Error
Event Source: Perflib
Event Category: None
Event ID: 1008
Description:
The Open Procedure for service "MSExchangeIS" in DLL "E:\EXCHSRVR\bin\mdbperf.dll" failed. Performance data for this service will not be available. Status code returned is DWORD 0.
Event Type: Error Event Source:
Perflib Event Category: None Event ID: 1008 Description:
The Open Procedure for service "MSExchangeDSAccess" in DLL "C:\Program
Files\Exchsrvr\bin\dscperf.dll" failed. Performance data for this service will
not be available. Status code returned is data DWORD 0. You may notice that some performance counters for Exchange Server are missing. For example, you notice that the MSExchangeIS and MSExchangeIS Public counters are missing. You see only the MSExchangeIS Mailbox counter. CAUSE This behavior can occur when one of the following conditions is true: - The dynamic link library (DLL) file information for the Microsoft Exchange Performance Monitor counters has become either lost or corrupted in the Microsoft Windows registry.
- The .dll files, the .ini files, and the .h files for the performance counters are not the same version or are not correctly updated on the problematic server after you apply an Exchange Server service pack.
RESOLUTIONYou can restore the Exchange Performance Monitor counters by using one or the other of the following methods: - Reinstall the Exchange Server software, and then reapply any service packs
Note Use only the Reinstall option. This option will replace the missing files. A fresh install will overwrite all files. - Use the Lodctr.exe and Unlodctr.exe Windows utilities
The Microsoft Exchange Server Setup program uses these two utilities to add and to remove Performance Monitor objects and counters. These utilities are included with Windows NT, Windows 2000, and Windows Server 2003. These utilities can be run on a command prompt to restore the Performance Monitor objects and counters if the objects and counters become unavailable in the list of objects in Performance Monitor.
Note Lodctr.exe adds objects and counters.
Unlodctr.exe removes objects and counters.
How to use the Lodctr.exe and Unlodctr.exe utilities to restore the Performance Monitor
counters in WindowsNote Each Performance Monitor counter is
represented by a configuration file that is located in the Exchange Bin
directory. - Use the following syntax to unload a performance driver,
where driver is the name of the performance object
driver that is located in Performance Monitor:
Unlodctr.exe
driver
For example,
to unload MSExchangeIS counter, type unlodctr.exe MSExchangeIS - Make sure that the .dll files, the .ini files, and the .h files for the performance counters are the same version. Additionally, make sure that the file version, size and date are correct.
For example, the following four files are necessary for Performance Monitor to correctly display MSExchangeIS counters in Exchange Server 2003:- Mdbperf.dll
- Mdbperfx.dll
- Mdbperf.ini
- Perfnm.h
All four files must come from the same installation of Exchange Server. If the files do not come from the same installation, copy these files from the Exchange Server 2003 service pack CD to the server's \Exchsrvr\Bin directory.
Notes Because .h files have no version tabs, the setup process depends on file dates to determine whether a file on the hard disk should be overwritten. Make sure to copy the symbol file together with the .dll file and the .ini file. This symbol file has an .h extension.
To verify which symbol file is linked with the .dll file and the .ini file, edit the .ini file, view the [info] section, and then look for the Symbolfile= parameter.
You can also verify the version the of the .h file that you are using by opening the Perfnm.h file in Notepad. For example, in Exchange Server 2003, the various versions display the following statements:- Original release version
THIS FILE IS AUTOMATICALLY GENERATED FROM F:\TITANIUM\store\lang\usa\mdbperf.perf
- SP1 version
THIS FILE IS AUTOMATICALLY GENERATED FROM F:\TISP1\store\lang\usa\mdbperf.perf
- SP2 version
THIS FILE IS AUTOMATICALLY GENERATED FROM F:\TISP2\store\lang\usa\mdbperf.perf
- Use the
following syntax to reload the object and counter information, where
Initialization file name is the name of the .ini file that corresponds to the object and counter information:
Lodctr.exe
Initialization file name
For example,
to load the MSExchangeIS counter, type lodctr.exe c:\program
files\exchsrvr\bin\Mdbperf.ini
If
this command does not work from the default directory at the command line,
you may have to run the lodctr command directly from the Bin directory. To do this, follow these steps:
- Click Start, click
Run, type
cmd in the Open box, and then click OK.
- At the command prompt, type cd \program
files\exchsrvr\bin, and then press ENTER.
- At the c:\program files\exchsrvr\bin>
prompt, type lodctr.exe Mdbperf.ini, and then press
ENTER.
Note Performance Monitor must be restarted after you use either of these utilities. On Windows NT 4.0, the computer must be restarted after you use the lodctr command.
REFERENCES
For more information about the Performance Monitor counters in the release of Exchange Server 5.5, click the following article numbers to view the articles in the Microsoft Knowledge Base:
182502
Changes made to Performance Monitor in Exchange 5.5
192742 Performance Monitor counters unavailable after applying 5.5 S192742
Modification Type: | Major | Last Reviewed: | 8/8/2006 |
---|
Keywords: | kberrmsg kbprb KB307613 |
---|
|