Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So, odd issue.

I'm running CentOS 6.5 x64, and NRPE latest stable from EPEL.

Ran into an issue where I can only start nrpe via service (which is what chkconfig uses) by running it sh first.

ie. service nrpe start fails but sh service nrpe start works fine.

This is what the log shows:

nrpe[1323]: Unable to open config file '/etc/nagios/nrpe.cfg' for reading
nrpe[1323]: Config file '/etc/nagios/nrpe.cfg' contained errors, aborting...

Any ideas?

share|improve this question
Might this be SELinux-related? What's the output of cat /selinux/enforce? –  MadHatter Dec 6 '13 at 6:25
AKA getenforce –  Keith Dec 6 '13 at 16:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.