Error: Initialization failure

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
cneilson
Posts: 3
Joined: Wed Oct 09, 2013 6:37 am

Error: Initialization failure

Post by cneilson »

Hi All

Just started looking at HostMonitor previously setup by someone else and one of the tests for free sapce on c: is getting an Error: Initialization failure.

Has anyone any ideas how to sort please remember I am totally new to Hostmonitor.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Could you please give more details:
- What Windows version do you use? Service pack? UAC enabled?
- What HostMonitor version do you use?
- What test method do you use? Drive Free Space? UNC test?
- Test is performed by HostMonitor or RMA agent?
- Are you trying to monitor disk space on local or remote system?
- HostMonitor is started as Application or Service?
cneilson
Posts: 3
Joined: Wed Oct 09, 2013 6:37 am

Post by cneilson »

2008 R2, uac disabled
9.50
drive free space
hostmonitor
disk space on local
application
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Looks like WMI repository is corrupted.

You may use the following script (wmi_rebuild.bat) to rebuild WMI repository:

Code: Select all

@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (*.mof,*.mfl) do Mofcomp %%i
net start winmgmt
goto End

:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer

:SkipSrv
goto End

:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End
Please note, servers restart may be required.
cneilson
Posts: 3
Joined: Wed Oct 09, 2013 6:37 am

Post by cneilson »

there are still other tests using drive free space method working, it looks to me to be something more specific to this server?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Drive free space test checks local system and returns error.
Other Drive free space tests for remote systems work well.
Correct?
Could you send test settings (menu File -> Export to Text file..) to support@ks-soft.net ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you check disk free space on local system (system where HostMonitor is running), WMI is not used and you should never see such error message.
Probably you did not specify target host as "localhost" or "127.0.0.1"?
Please send test settings and screen shot with error message to us.

Regards
Alex
Post Reply