Solr Optimization Job Failing: 'Job solr_optimize was not run because cb-enterprise is stopped'
search cancel

Solr Optimization Job Failing: 'Job solr_optimize was not run because cb-enterprise is stopped'

book

Article ID: 289556

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

  • Solr optimization job is failing.
  • Following message found in /var/log/cb/job-runner/job-runner.log file:
<debug> [solr_optimize] Job solr_optimize was not run because cb-enterprise is stopped.


 

Environment

  • Carbon Black EDR: All Versions

Cause

Environmental, root cause is unknown.

Resolution

  1. Open the '/etc/cb/cron/cb.cron.template' file to edit 
  2. Modify line for 'solr_optimize' cron job by adding the -f option: 
    0 0 * * * cb /usr/share/cb/virtualenv/bin/python -m cb.maintenance.job_runner -s -q -f solr_optimize >> /var/log/cb/job-runner/startup.out 2>&1
  1. Perform a restart of the services. How to Start, Stop and Restart EDR Application Services

Additional Information

  • Modification of  '/etc/cb/cron/cb.cron.template' file should be performed on all nodes 
  • Blocking processes in a very busy environment is considered the likely cause.
  • Messages have been known to clear over time.