Environment
- EDR Server: 6.X and above
Symptoms
- Reoccurring error in /var/log/cb/enterprise log:
Cause
Writer core was not able to be created.
Resolution
- Stop services if they are running
- Single node:
service cb-enterprise stop
- Cluster:
/usr/share/cb/cbcluster stop
- If a empty core with a date newer than the prior writer core is present, skip to step 3. Otherwise, follow step 2:
- Create a new core directory:
mkdir /var/cb/data/solr5/cbevents/cbevents_YYYY_MM_DD_HHmm/
Example:
mkdir /var/cb/data/solr5/cbevents/cbevents_2017_08_14_1544/
- Set the correct permissions:
chown cb:cb /var/cb/data/solr5/cbevents/CORENAME
Example:
chown cb:cb /var/cb/data/solr5/cbevents/cbevents_2017_08_14_1544
- Set this core to the writer core through the core.properties file
- Create the file:
touch /var/cb/data/solr5/cbevents/CORENAME/core.properties
Example:
touch /var/cb/data/solr5/cbevents/cbevents_2017_08_14_1544/core.properties
-
Set the correct permissions:
chown cb:cb /var/cb/data/solr5/cbevents/CORENAME/core.properties
Example:
chown cb:cb /var/cb/data/solr5/cbevents/cbevents_2017_08_14_1544/core.properties
- Add the following content to the core.properties file:
#Written by CarbonBlackSupport
#CURRENTDATE
name=writer
configSet=cbevents_v2
- Start Services
- Single node:
service cb-enterprise start
- Cluster:
/usr/share/cb/cbcluster start
Related Content