Hi,
I am seeing the below issue.
[user~]# systemctl list-unit-files | grep nrpe [user~]# service nrpe status Redirecting to /bin/systemctl status nrpe.service ● nrpe.service * Loaded: not-found (Reason: No such file or directory)* Active: inactive (dead) [user~]# rpm -qa | grep nrpe nrpe-3.0-1.x86_64 nrpe-plugin-3.0-1.x86_64 [user~]#cat /etc/redhat-release *CentOS Linux release 7.2.1511 (Core)* [user~]#
Any help will be highly appreciable and please let me know if anyone needs any additional information.
Regards,
Kaushal
On 29/08/16 13:07, Kaushal Shriyan wrote:
Hi Kaushal,
I am seeing the below issue.
[user~]# systemctl list-unit-files | grep nrpe [user~]# service nrpe status Redirecting to /bin/systemctl status nrpe.service ● nrpe.service
- Loaded: not-found (Reason: No such file or directory)*
Active: inactive (dead) [user~]# rpm -qa | grep nrpe nrpe-3.0-1.x86_64 nrpe-plugin-3.0-1.x86_64
It may be that the nrpe.service unit file was deleted by someone. Can you check if it exists in the expected location (/usr/lib/systemd/system)?
You can also verify if your packages are properly installed, by doing:
rpm -V nrpe
If that shows some files missing (such as the systemd unit file), then you're best of reinstalling nrpe with:
yum reinstall nrpe
Regards, Anand
On 08/29/2016 01:07 PM, Kaushal Shriyan wrote:
[user~]# systemctl list-unit-files | grep nrpe [user~]# service nrpe status Redirecting to /bin/systemctl status nrpe.service ● nrpe.service
- Loaded: not-found (Reason: No such file or directory)*
Where did your nrpe come from? Here it comes from EPEL and everything is fine:
root@centos7 ~]# systemctl list-unit-files | grep nrpe nrpe.service disabled [root@centos7 ~]# service nrpe status Redirecting to /bin/systemctl status nrpe.service ● nrpe.service - NRPE Loaded: loaded (/usr/lib/systemd/system/nrpe.service; disabled; vendor preset: disabled) Active: inactive (dead)
best regards Ulf