IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Response 6.1 cluster upgrade: Startup halts after "unable to start service: cb-redis"

Response 6.1 cluster upgrade: Startup halts after "unable to start service: cb-redis"

Version

Cb Response 6.x and later versions

Issue

On startup after upgrade to 6.x in a cluster, it does not start successfully and you receive an error: "unable to start service: cb-redis".

Symptoms

Review of the /var/log/cb/redis/startup.log on minions will show messages indicating the following:

Fatal error, can't open config file '/etc/cb/redis.conf'

Cause

This behavior will occur if the /etc/cb folder permissions are not correct.  We have identified in some rare cases the upgrade process will change the permission of /etc/cb on minions which needs to be corrected manual.  A permanent fix will be included in a future release.

Solution

Check permissions on minions for /etc/cb, if you see the following output, then you have encountered this permissions issue on minions.

ll /etc |grep cb

d-wxr----t. 18 root root     4096 <date> cb

To address this issue, please take the following steps on all minions:

chmod 755 /etc/cb

Once you have executed the above command on all minions, do a clean shutdown, kill any remaining processes, and then do a clean startup:

on master:  /usr/share/cb/cbcluster stop

on master/minion once stop command completes:  killall -KILL -u cb (warning:  this command will terminate any integrations running as cb, they will need to be restarted)

on master:  /usr/share/cb/cbcluster start

Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎05-24-2017
Views:
1122
Contributors