Version
This solution applies to all Carbon Black versions.
Issue
The Carbon Black services experience start up issues with multiple versions of Python installed.
Symptoms
The following message may be observed when retrieving a status for the 'cb-datastore' service:
[root@cb-server ~]# /etc/init.d/cb-datastore status
/usr/local/bin/python: No module named cb.maintenance.cbquery
/usr/local/bin/python: No module named cb.maintenance.cbquery
PID file exists, but process is not running [FAILED]
Cause
With multiple versions of Python installed, the newer version updates the system's $PATH.
Solution
Remove the newer version of Python so that the only version provided by Carbon Black's repository (/etc/yum.repos.d/CarbonBlack.repo) exists:
[root@cb-server ~]# yum --disablerepo="*" --enablerepo="CarbonBlack" info python