This can occur when cb-enterprise is truly stopped or in the process of stopping. This can also occur in some cases even when running "service cb-enterprise status" or "systemctl status cb-enterprise" with root permissions and it returns all services in a RUNNING state.
open("/etc/profile.d/lang.sh", O_RDONLY) = -1 EACCES (Permission denied)
chmod 755 /etc/profile.d
sudo -u cb strace /sbin/service cb-supervisord status &> strace.txt
1. cb-supervisord status is not in a stopped state (i.e. "/sbin/service cb-supervisord status" returns properly) 2. cb-enterprise in not currently in the process of stopping 3. the -f --force option is not enabled