Access official resources from Carbon Black experts
2018-06-19 15:42:18 EDT [[unknown](11829) @ *.*.*.*(15786)] FATAL: password authentication failed for user "cb"
Exception in thread "main" java.lang.RuntimeException: Could not get SQL connection. Aborting.
at com.carbonblack.datagrid.server.StartServer.main(StartServer.java:46)
Path to Java : /usr/lib/jvm/jre-1.8.0-openjdk.x86_64//bin/java
Password authentication failed for the user "cb", because someone has manually gone into users table in Postgres and changed the password for the "cb" user.
# grep DatabaseURL /etc/cb/cb.conf | awk -F: '{print $3}' | sed 's/@.*//'
# psql -U cb -h localhost -p 5002
ALTER USER 'user_name' WITH PASSWORD 'new_password';
In the ALTER USER command, replace 'user_name' with the name of the account that was changed (example: cb). Then in the 'new_password' field, put in the original password that you got from the cb.conf command in step 2.
Cb Response: cb-datagrid not starting (Fatal: password authentication failed for user "cb")
Internal reference: EA-12542
Copyright © 2005-2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.