ClusterLabs / ClusterLabs/resource-agents

/usr/lib/ocf/resource.d/heartbeat/nginx: line 293: $'\r': command not found ]

Open
#1,619 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
519
Forks
608
Avg merge
6d 1h
Merged PRs (30d)
7

Description

Hello All

I recently installed pacemaker on 2 centos7 servers as a test POC. Everything is working fine and smoothly, only my log files is getting spammed with the following message:
lrmd[4244]: notice: webserver_monitor_4000:7618:stderr [ /usr/lib/ocf/resource.d/heartbeat/nginx: line 293: $'\r': command not found ]

Info:
Cluster Status:
Stack: corosync
Current DC: proxy1 (version 1.1.23-1.el7_9.1-9acf116022)
Corosync Cluster Engine ('2.4.5')

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with /usr/lib/ocf/resource.d/heartbeat/nginx at line 293 and inspect the surrounding command and line endings. Reproduce the webserver_monitor_4000 check on the reported CentOS 7 setup; done means the nginx resource agent no longer emits the $'\r' command-not-found message.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.