NCPA Listener Service Active Exited

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nickanderson1982
Posts: 72
Joined: Wed Feb 06, 2019 3:22 pm

NCPA Listener Service Active Exited

Post by nickanderson1982 »

I recently installed NCPA on my core servers so I could monitor them locally. The first server worked out great. But the second server is having issues with NCPA.

[root@xxxxxx]# systemctl status ncpa_listener
● ncpa_listener.service - LSB: This manages the NCPA Listener service
Loaded: loaded (/etc/rc.d/init.d/ncpa_listener; bad; vendor preset: disabled)
Active: active (exited) since Thu 2020-02-13 11:53:01 CST; 3min 9s ago
Docs: man:systemd-sysv-generator(8)
Process: 23743 ExecStop=/etc/rc.d/init.d/ncpa_listener stop (code=exited, status=0/SUCCESS)
Process: 23751 ExecStart=/etc/rc.d/init.d/ncpa_listener start (code=exited, status=0/SUCCESS)

Feb 13 11:53:01 xxxxxx systemd[1]: Starting LSB: This manages the NCPA Listener service...
Feb 13 11:53:01 xxxxxx ncpa_listener[23751]: Starting NCPA Listener: /usr/local/ncpa/ncpa_listener: /lib64/libc.so.6:...ener)
Feb 13 11:53:01 xxxxxx ncpa_listener[23751]: [FAILED]
Feb 13 11:53:01 xxxxxx systemd[1]: Started LSB: This manages the NCPA Listener service.
Hint: Some lines were ellipsized, use -l to show in full.

What should I do to get this service started correctly?
nickanderson1982
Posts: 72
Joined: Wed Feb 06, 2019 3:22 pm

Re: NCPA Listener Service Active Exited

Post by nickanderson1982 »

I think I may have downloaded the wrong nagios repository:
rpm -Uvh https://repo.nagios.com/nagios/8/nagios ... noarch.rpm

when I was supposed to download

rpm -Uvh https://repo.nagios.com/nagios/7/nagios ... noarch.rpm

I uninstalled ncpa but everytime I try to install ncpa the Version 8 keeps overriding the version 7 I need. How do I get rid of that from happening? Or is this even an issue?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA Listener Service Active Exited

Post by lmiltchev »

Try the following:

Code: Select all

yum remove ncpa -y
yum remove nagios-repo.noarch -y
yum clean all
rpm -Uvh https://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm
yum clean all
yum install ncpa -y
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked