Invalid Class?

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
UnOa
Posts: 13
Joined: Thu Dec 01, 2005 8:01 am

Invalid Class?

Post by UnOa »

We test several servers (40+), all with AHM 6.80, RMA 3.38.

We use WMI test to monitor free physical memory (select AvailableKBytes from Win32_PerfFormattedData_PerfOS_Memory)

On almost all servers this works great, however on 2 specific servers an error is returned: Invalid Class

What could be causing this?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Invalid Class?

Post by KS-Soft Europe »

UnOa wrote:On almost all servers this works great, however on 2 specific servers an error is returned: Invalid Class
What could be causing this?
Isuppose, on these specific servers installed Windows 2000, right? As I remember, Windows 2000 does not have Win32_PerfFormattedData_PerfOS_Memory class. You have to use Win32_PerfRawData_PerfOS_Memory instead.

Reagrds,
Max
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Probably old Windows?
Windows 2000, Windows NT 4.0 and Windows Me/98/95 does not support this WMI class

Regards
Alex
UnOa
Posts: 13
Joined: Thu Dec 01, 2005 8:01 am

Post by UnOa »

Well, one of the servers is indeed a Windows 2000 Server, thanks!

However, the other one is in fact a Windows Server 2003 Standard Edition with Service Pack 1. It is in use as a Citrix Terminal Server.
Any ideas?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

UnOa wrote:However, the other one is in fact a Windows Server 2003 Standard Edition with Service Pack 1. It is in use as a Citrix Terminal Server.
Any ideas?
Actually, it is hard to say what is wrong with your server. Lets try to figure it out:
1. Please run wbemtest.exe utility to ensure the Win32_PerfFormattedData_PerfOS_Memory class is present on the system.

2. Type the following command at the command prompt on target server:

Code: Select all

wbemadap /f 
3. If foregoing command did not help, you may try to repair wmi setup. Please read carefully the following article, especially topic related to "Windows Server 2003, Service Pack 1": http://www.microsoft.com/technet/script ... mspx#EQKAC

4. Also you may try the following trick (you have to take responsibility ;-) ):
a) Stop the "Windows Management Instrumentation" service on the problem server.
b) On the problem server, rename the %systemroot%\system32\wbem\Repository folder to %systemroot%\system32\wbem\Repository\Repository.bak.
c) Copy the %systemroot%\system 32\wbem\Repository folder from a known good 2003 server to the problem server
d) Start the WMI service

Regards,
Max
UnOa
Posts: 13
Joined: Thu Dec 01, 2005 8:01 am

[FIXED]

Post by UnOa »

1. Not present...

2. When I type the command, it is not recognized...

3. Followed the steps in the article, to no avail...

4. Fixed it !!!


Thanks alot Max!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: [FIXED]

Post by KS-Soft Europe »

UnOa wrote:4. Fixed it !!!
Glad to hear that! :-)
UnOa wrote:Thanks alot Max!
You are welcome.

Regards,
Max
Post Reply