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!

Cb Response: cb-datagrid not starting (Fatal: password authentication failed for user "cb")

Cb Response: cb-datagrid not starting (Fatal: password authentication failed for user "cb")

Environment

  • Carbon Black Response
  • 6.0+

Symptoms

  • When starting the cluster cb-datagrid is not starting successfully
  • The following error message is seen in /var/log/cb/datagrid/startup.out
    2017-12-07 12:18:41,548 - [WARN] - from com.carbonblack.datagrid.persist.DbPool in main
    Error testing SQL connection: java.sql.SQLException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "cb")

Cause

Password for the user cb for one or more of the Minion nodes does not match the Master

Resolution

  1. Stop the services
    /usr/share/cb/cbcluster stop
  2. On the Minion nodes, open /etc/cb/cb.conf
  3. Find the config: "DatabaseURL"
    DatabaseURL=postgresql+psycopg2://cb:DMHht76Y9P4PRGpj@192.168.01.111:5002/cb
    Note:DMHht76Y9P4PRGpj is the password in this example
  4. Confirm this line matches what is in the Master cb.conf
  5. Restart the services to confirm resolution
    /usr/share/cb/cbcluster start

Related Content

Cb Response: cb-datagrid Starting Issues

Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎05-03-2018
Views:
1153
Contributors