May 20, 2004 at 4:52 pm
I have a server running WIN2k / SQL 2K Enterprise Edition SP3a applied and the SQL Perf counters return only Zero's... I have unloaded and reloaded the sqlctr.ini and rebooted the system still the same results..and I also attempted a resync of the counters also...
Jim Babington
Jbabington
Jbabington@hotmail.com
May 24, 2004 at 8:00 am
This was removed by the editor as SPAM
May 24, 2004 at 8:24 am
I had a similar problem and didn't really ahve time to research it. And I had another option. I uninstalled, and reinstalled the server (detach, then attach dbs, script out logins).
Sorry
May 24, 2004 at 9:58 am
MSSQL Server 2000 Performance Counter issues
Draft
05-21-2004
Summary:
Noticed issues related to Performance counter displaying zeros on WIN 2000 Advanced Server MSSQL Server 2000 (SP3a MDAC 2.71.0940)When and If data for selected counters is consistently reported as zeroes the counters or the way you are using the performance tools, rather than just the absence of any nonzero data. Following are descriptions of the possible causes and solutions to problems that result in missing or zero counter values.
Example:
To view the issues open the Performance Monitor and select SQL Performance Counters All SQL related Performance Counters show a value = 0
Initial Solution:
The initial solution was to reload the SQL Performance Counters however this was not the core issue. After unloading and reloading the Counters with all applicable steps (Twice) I verified the system catalog MASTER.DBO.SYSPERFINFO Table and interestingly enough no data. Since the SYSPERFINFO table is referred as a secure system table running the sp_reconfigure with override (not actual syntax) you are not able to load the perf counters in this manner as these values are loaded through the NT Kernel and the SQLCTR80.DLL.
Common Cause:
It is common to lose the performance counters after a crash or server configuration issue. I have no instance that this has in fact occurred in this case of these servers. However the steps to reload the SQL Counters are in the Solution Section of this document.
Solution:
RELOADING SQL SERVER PERFORMANCE COUNTERS:
There are many reasons when the SQL Server counters will disappear, such as Permission, Server Crash, Registry Modification and Virus. To work around the symptom, please take the following actions.
Steps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER\Performance] If it exists, please delete it.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER\Performance] Make sure the following keys with the value DO EXIST. If not, please create a new one and add the value.
"Collect"="CollectSQLPerformanceData"
"Open"="OpenSQLPerformanceData"
"Close"="CloseSQLPerformanceData"
"Last Counter"=dword:000016ce
"Last Help"=dword:000016cf
"First Help"=dword:000015bb
"WbemAdapFileSignature"=hex:d1,70,dc,f8,a7,75,5e,e4,9e,e6,dd,91,9e,cd,06,65
"WbemAdapFileTime"=hex:d6,34,9d,95,64,0d,c2,01
"WbemAdapFileSize"=dword:00008238
"WbemAdapStatus"=dword:00000000dir
"First Counter"=dword:000015ba
In command line, locate the current folder to C:\ProgramFiles\Microsoft SQL Server\MSSQL\BINN
i. In command line, execute "net stop mssqlserver"
ii. Execute "net start mssqlserver" (Or you can perform it in Service Manager or in System Services)
iii. Open PerfMon to check if the counters appear
1. In command line, execute "perfmon"
2. Add and check if the counter appear
Jbabington
Jbabington@hotmail.com
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply