Carbon Black Cloud: Linux sensor failing to register after install
search cancel

Carbon Black Cloud: Linux sensor failing to register after install

book

Article ID: 287702

calendar_today

Updated On:

Products

Carbon Black Cloud Endpoint Standard (formerly Cb Defense) Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)

Issue/Introduction

  • Error in the logs:
[W] Unable to load BackendServer property from Ini
  • Error in the logs:
[I] CurlWrapper: http transaction using connection configurator 'Curl Environment' failed: Problem with the SSL CA cert (path? access rights?)


 

Environment

  • Carbon Black Cloud Sensor: All Supported Versions
  • Linux:  All Supported Versions

Cause

Corrupted or missing /var/opt/carbonblack/psc/cfg.ini file

Resolution

  1.   Review cfg.ini for key parameters:  PemFile, BackendServer, Company Code
cat /var/opt/carbonblack/psc/cfg.ini
  1.  Add missing parameters back into the cfg.ini (replacing <BackendServer> and <Company_Code> with appropriate values: 
sudo echo "PemFile=/var/opt/carbonblack/psc/cloud.pem" >> /var/opt/carbonblack/psc/cfg.ini 
sudo echo "BackendServer=<BackendServer>" >> /var/opt/carbonblack/psc/cfg.ini 
sudo /opt/carbonblack/psc/bin/cbagentd -d '<Company_Code>'



 

Additional Information

  • Location of Company Code:  
https://community.carbonblack.com/t5/Knowledge-Base/Carbon-Black-Cloud-What-Is-My-Company-Code-and-Where-Is-It/ta-p/70209
  • Finding your BackendServer: 
Device Services URL listed here:  https://community.carbonblack.com/t5/Knowledge-Base/Carbon-Black-Cloud-What-URLs-are-used-to-access-the-APIs/ta-p/67346