Just Published! Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Multiple versions of python preventing successful service startup

Multiple versions of python preventing successful service startup

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
Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎05-11-2015
Views:
476
Contributors