EDR: Services won't start after upgrade "connection to database failed: could not connect to server: No such file or directory"
search cancel

EDR: Services won't start after upgrade "connection to database failed: could not connect to server: No such file or directory"

book

Article ID: 292345

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

Error after upgrading the server version
connection to database failed: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL"?

 

Environment

  • EDR Server: All Versions

Cause

Connections cannot be established to Postgres

Resolution

  1. Stop EDR services
  2. Open /var/cb/data/pgsql/postgresql.conf 
  3. Uncomment #listen_addresses = 'localhost' 
listen_addresses = 'localhost'
  1. Start EDR services

Additional Information

https://community.carbonblack.com/t5/Knowledge-Base/EDR-How-to-Restart-Server-Services/ta-p/41294