The nrpe.service fails with 'cannot write to pidfile '/var/run/nrpe/nrpe.pid'

Solution Verified - Updated -

Issue

  • After fresh installation of nrpe packages service fails with error in /var/log/messages file like below :

    May 23 04:36:12 node1 nrpe[28706]: Starting up daemon
    May 23 04:36:12 node1 nrpe[28706]: Cannot write to pidfile   '/var/run/nrpe/nrpe.pid' - check your privileges.
    

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content