Hi,
I have a problem with Nagios NCPA Agent install on Windows 2008 R2 server. After the install, I saw an error about a missing VC90 assembly. I installed vcredist_x86.exe from https://www.microsoft.com/en-au/downloa ... aspx?id=29
Now, I don't get an error, but the agent does not work. When I run ncpa_listener.exe nothing happens.
I don't see any logs under C:\Program Files (x86)\Nagios\NCPA\var\log
How do I diagnose and fix it?
This is the error I saw before:
Activation context generation failed for "C:\Program Files (x86)\Nagios\NCPA\ncpa_passive.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Thanks
Ncpa Agent error on Windows Server 2008 R2
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Ncpa Agent error on Windows Server 2008 R2
Hello, @tonkaUser. Usually, you need to turn on the debugging option in the ncpa.cfg file:
After that, you need to restart the ncpa service. Also, you could open a windows services menu, and from there you'll be able to see whether NCPA service is running at all.
Code: Select all
loglevel =debug
logfile = var/log/ncpa_passive.log
pidfile = var/run/ncpa_passive.pidDid you see that error in a log file or when you clicked on the .exe file?This is the error I saw before:
Activation context generation failed for "C:\Program Files (x86)\Nagios\NCPA\ncpa_passive.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Ncpa Agent error on Windows Server 2008 R2
Hi,
I saw that error message in the Event log. There was no NCPA service installed. I ran a silent install (with /S /Token arguments)
I re-installed NCPA agent again after VC9 CRT assembly was installed and all works fine now.
Thanks
I saw that error message in the Event log. There was no NCPA service installed. I ran a silent install (with /S /Token arguments)
I re-installed NCPA agent again after VC9 CRT assembly was installed and all works fine now.
Thanks
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Ncpa Agent error on Windows Server 2008 R2
@tonkaUser, Glad you fixed this. Can I close this thread now?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.