Problem
When attempting to use tfe-admin health-checkor other commands on Redhat, you may get the following error, even though you've verified it exists and is healthy:
sh: /root/ptfe-health-check: not found
Cause
-
The
rootuser does not have/usr/local/binin the$PATH
Solution:
-
Add the path for the
rootuser or use a regular user withdockeraccess to perform the commands.