NCPA agent install issue on a Windows 2008r2 Server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

NCPA agent install issue on a Windows 2008r2 Server

Post by krobertson71 »

This is a weird one as we have other Windows 2008 r2 64 bit servers and NCPA installs just fine.

But we have a set of Cognos 10.21 servers where the agent install runs normally, exits normally, but no directory/services/processes are created after. It is like it didn't even happen.

Is there anything you can think of that can be going on that could either be blocking the install (event though the install runs normally) or removing it immediately after?

It is no showing up in Control Panel - Programs either. It is throwing errors in the Application log. When researching the error it is related to the Microsoft C++ redistributable package. I have also attached the screenshot below of those installed packages. Other windows servers where the NCPA agent is running normally has the exact same versions of C++ installed. The Application log error is listed below:

Code: Select all

Log Name:      Application
Source:        SideBySide
Date:          2/3/2015 1:07:20 PM
Event ID:      33
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      cgn1021cv01.dcri.int
Description:
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.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SideBySide" />
    <EventID Qualifiers="49409">33</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-02-03T18:07:20.000000000Z" />
    <EventRecordID>3402</EventRecordID>
    <Channel>Application</Channel>
    <Computer>cgn1021cv01.dcri.int</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>C:\Program Files (x86)\Nagios\NCPA\ncpa_passive.exe</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by lmiltchev »

It is possible that Symantec is causing the issue... hard to say for sure. Unfortunately, we are not able to test this in house. I would recommend asking the NCPA developer directly on GitHub:

https://github.com/NagiosEnterprises/ncpa/issues

I will try to reach him via email.
Be sure to check out our Knowledgebase for helpful articles and solutions!
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by krobertson71 »

I thought NCPA was a product of Nagios? Was advertised like that at the Nagios 2013 conference.

I don't mind posting issues on github, but it's like running back and forth for issues.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by tmcdonald »

NCPA is a Nagios product, but the developer who started it and contributes to it is no longer with the company. He is still fairly active on the project, however, and he handles everything through the linked github page. The only other dev I can think of that would work on it and is with the company is out of the office this week.

As far as testing this, we can confirm that it works on Windows servers, but the combination of Symantec and Cognos is not something we can test in-house. If Nick (the dev who own that github page) is able to test that then he might, otherwise he would probably ask you for some logs or ask you to perform specific tests to troubleshoot.

All I can clean from the error log there is that it might be architecture-dependent. Are there any other differences between the two working and the one non-working severs?

I am guessing this is the latest version of NCPA?
Former Nagios employee
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by krobertson71 »

Yes this is ncpa 1.7.2.

I think there may be some extra Windows security settings involved but damned if I can find it. Already ran through the usual suspects.

I was able, under the security tab for the NCPA installer, click "Unblock" to allow the installtion to run. However, the services still do not register. Already tried the diskperf -y trick to no avail.

Can you think of any reason why NCPA installation would run and created the directories but not register the services? Log are showing nothing.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by cmerchant »

Your error message did show up in another website matching your description. Whether it is NCPA specific, it was dealing with the same error message:

https://davidsystems.wordpress.com/2010 ... -problems/
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by krobertson71 »

I have read similar pages like that. It is generally considered an error that should no impead your application from installing. Could be wrong.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by lmiltchev »

krobertson71, I noticed that Nick replied to you on GitHub:

https://github.com/NagiosEnterprises/ncpa/issues/141

Let us know if this helped. You can post either here or on the GitHub (whatever you prefer). Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: NCPA agent install issue on a Windows 2008r2 Server

Post by krobertson71 »

Problem was resolved. You can close this ticket.
Locked