SQL Server代理程序perfmon实例为空 [英] SQL Server Agent perfmon instances are empty

查看:90
本文介绍了SQL Server代理程序perfmon实例为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我们有两个几乎相似的服务器安装了SQL Server 2008R2。

We have two almost similar servers with SQL Server 2008R2 installed.

我们注意到了一台服务器在perfmon中的SQLAgent计数器下没有实例。

We've noticed that on one server there are no Instances under SQLAgent counters in perfmon.

在第二台服务器上一切正常。

On the second server everything is OK.

两台服务器上的SQL Server代理都在同一个域帐户下运行。此帐户已添加到Windows管理员组以及Windows perfmon组。

SQL Server Agent on both servers works under the same domain account. This account added to windows administrators group as well as windows perfmon group.

我们已尝试重新加载ctr:

We've tried to reload ctr:

cd C:\Program Files \ Microsoft SQL Server \ MSSQL10_50.MSSQLSERVER \ MSSQL \Binn

unlodctr SQLSERVERAGENT

lodctr perf-SQLSERVERAGENTsqlagtctr.ini

cd C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn
unlodctr SQLSERVERAGENT
lodctr perf-SQLSERVERAGENTsqlagtctr.ini

并重新启动了WMI服务,但它只重新创建计数器,但不重新创建实例。

And restarted WMI services, but it only recreate counters, but not instances.

perf-MSSQL10_50.MSSQLSERVER-sqlagtctr.dll在两台服务器上都是相同的字节到字节。

perf-MSSQL10_50.MSSQLSERVER-sqlagtctr.dll is the same byte to byte on both servers.

我们还比较了

HKEY_LOCAL_MACHINE \SYSTEM®\\ CurrentControlSet \services \ SQLSERVERAGENT \ Performance

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SQLSERVERAGENT\Performance

它们几乎相同。

任何人都有任何建议我们还可以做些什么来带回代理商柜台的实例?

Anyone have any suggestions of what else we could do to bring back instances of Agent counters?

推荐答案

我记得2008年以来的这个问题。 您运行的是什么版本的Windows?

I remember this problem from 2008 days.  What version of Windows are you running?

这与过早启动SQL进程有关,或者不是很快,或者类似的东西。 也许其他人可以回忆一下解决方法。

It had to do with starting the SQL processes too soon, or not soon enough, or something like that.  Maybe someone else can recall the workarounds.

Josh


这篇关于SQL Server代理程序perfmon实例为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆