Clustermon-External fails to start with error: `notice: ClusterMon-External_start_0:10604:stderr [ /usr/bin/logname: no login name ]`
Issue
The pacemaker
resource ClusterMon
fails to start when external monitoring procedure is followed and gets the following error:
Feb 20 10:55:29 node42 lrmd[4259]: notice: ClusterMon-External_start_0:10604:stderr [ /usr/bin/logname: no login name ]
Feb 20 10:55:29 node42 lrmd[4259]: notice: ClusterMon-External_start_0:10604:stderr [ TERM environment variable not set. ]
Feb 20 10:55:29 node42 lrmd[4259]: notice: ClusterMon-External_stop_0:10949:stderr [ /usr/lib/ocf/resource.d/pacemaker/ClusterMon: line 147: kill: (10895) - No such process ]
Environment
- Red Hat Enterprise Linux Server 7 (with the High Availability Add On)
pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.