UniInt End User


Changed Counters (Interface Upgrades)



Download 1.93 Mb.
Page32/79
Date29.09.2022
Size1.93 Mb.
#59623
1   ...   28   29   30   31   32   33   34   35   ...   79
UniInt Interface User Manual
PI BASemAPI

Changed Counters (Interface Upgrades)


UniInt checks whether performance counters are installed for the interface every time that the interface starts as a service. If performance counters are not installed, then performance counters will be installed. If performance counters are already installed, then the total number of counters for the interface is checked. If the total number of counters has changed, then the interface counters are uninstalled and re-installed. Therefore, if the developer adds a performance counter in a new interface version, the new counter will automatically be installed the next time that the interface is run as a service.
However, if in a new interface version individual counters have been changed but the total number of counters is the same, the new counters will not automatically be updated the next time that the interface is run as a service. In order to load the new counters, the currently installed counters must be uninstalled by removing the service with the –remove command-line parameter. Once the service has been re-installed and the service has been re-started, the new counters will be installed.

Troubleshooting Performance Counter Problems


Error -30300, Unable to install performance counters for service test
This problem usually occurs when performance counters have been installed incorrectly by some application. The biggest offender is Network Associates VirusScan Windows version 4.03a and lower. If this version of VirusScan is installed, performance counters are most likely screwed up on your system. This can be verified by going to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Windows\CurrentVersion\Perflib
and checking the value of LastCounter. If LastCounter is not and even number, then performance counters are screwed up. One can work around this problem as follows:

        1. Uninstall counters for the interface by removing the service.

        2. Increment LastCounter and LastHelp under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Windows\CurrentVersion\Perflib by 1.

        3. Re-installing the interface as a Windows service.

        4. Starting the interface as a service.

However, the above workaround may not be a permanent fix. If VirusScan is subsequently removed, counters will be screwed up again, and the workaround will need to be applied again. The only permanent way of fixing the counters is to re-install Windows and all software on your system.

Download 1.93 Mb.

Share with your friends:
1   ...   28   29   30   31   32   33   34   35   ...   79




The database is protected by copyright ©ininet.org 2024
send message

    Main page