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
- Stop the services
/usr/share/cb/cbcluster stop |
- On the Minion nodes, open /etc/cb/cb.conf
- Find the config: "DatabaseURL"
DatabaseURL=postgresql+psycopg2://cb:DMHht76Y9P4PRGpj@192.168.01.111:5002/cb |
Note:DMHht76Y9P4PRGpj is the password in this example
- Confirm this line matches what is in the Master cb.conf
- Restart the services to confirm resolution
/usr/share/cb/cbcluster start |
Related Content
Cb Response: cb-datagrid Starting Issues