Link to home
Start Free TrialLog in
Avatar of c-el
c-el

asked on

Citrix 4.5 WMI error message

I have been seeing this error message for the last month and I can not seem to get the correct fix for it.
I have Citirx Presentation Server 4.5 and runing the 2003 servers which are my app servers.
I am only see this issue on these servers.
Citrix Monitoring Script Event 2
Citrix MetaFrame Compute Event Rate:
WMI error connecting to Citrix WMI provider:
      Received error: 0x8004100e: Invalid namespace  [WBEM_E_INVALID_NAMESPACE]
SOLUTION
Avatar of chrisnewman01
chrisnewman01

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of c-el
c-el

ASKER

This is not helphing/ in my program files\citrix\system32 there is no wmi folder to run the command they are talking about.
Avatar of c-el

ASKER

What else have you found out
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of c-el

ASKER

Should I be running this command on the servers I have this error with or should I be running this command on the main citrix box. I have found the file on the main box but not on the app servers that are giving me this error.
You think I need to reinstall the WMI provider on these servers and if so how do I do that.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of c-el

ASKER

That component was not there so I installed the WMI provider service. When I did so I received I different error message stating.

Unable to open the registry key 'HKLM\SOFTWARE\Citrix\WMIService\DLLs'. Data contains returned error code.
Avatar of c-el

ASKER

I was able to get the WMI service to work.
I had to install the WMI service that was not installed.
Once I installed the service I received that error message (Unable to open the registry key 'HKLM\SOFTWARE\Citrix\WMIService\DLLs'. Data contains returned error code)
To fix that I had to give the local machine access.
By givin the WMI service folder in the registry key 'HKLM\SOFTWARE\Citrix\WMIService"
Local service rights to access this folder.
Than I was able to start the WMI service.
All is working fine.
Thanks for your help.
QUICK FIX  
What we do to QUICK FIX   this phenomena...
We created a backup of this repository..
Whenever it gets corrupted.. we restore that backup.
Any changes made after that certain backup will be replicated again..
We restore a 'smaller' repository what takes less time then'have replication do the rest..
This is a on the fly action and requires NO reboot..
Can this command 'for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s' Be run while users have active citrix sessions?
better disable all logons and have users reconnect to other servers in the farm before running that
'for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s'  command.
It can be run with active sessions but results are unpredictable as far as i have experienced.
some loose their session others donot and so on..
1 make sure you have no acxtive sessions
2 Run that 'for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s'  command
3 backup your WMI repository..
4 restore (live :-) !!) that backup as needed ...
PS make backup for each server  (ofcourse)