Environment
EDR Server: All Versions
Linux: All Versions
Symptoms
- Installing an EDR Server throws the following error message
Warning: failed loading '/etc/yum.repos.d/CarbonBlack.repo', skipping
Cause
The baseurl in the CarbonBlack repo file is formatted incorrectly
Resolution
Verify that the baseurl in the Carbon Black repo file /etc/yum.repo.d/CarbonBlack.repo is formatted correctly
Correct
baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch/
Incorrect
baseurl=https://yum.distro.carbonblack.io/enterprise/stable/
$releasever/$basearch/
Additional Notes
The Example content at the following link is incorrect
Install a New ServerThe format should be
[root@cb-enterprise-testing ~]# cat /etc/yum.repos.d/CarbonBlack.repo
[CarbonBlack]
name=CarbonBlack
baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch/
gpgcheck=1
enabled=1
metadata_expire=60
sslverify=1
sslclientcert=/etc/cb/certs/carbonblack-alliance-client.crt
sslclientkey=/etc/cb/certs/carbonblack-alliance-client.key