Just Published! Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

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:
722
Contributors