Page 1 of 1

NCPA Listener Service Active Exited

Posted: Thu Feb 13, 2020 1:06 pm
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?

Re: NCPA Listener Service Active Exited

Posted: Thu Feb 13, 2020 2:52 pm
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?

Re: NCPA Listener Service Active Exited

Posted: Thu Feb 13, 2020 5:02 pm
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