Skip to content

Instantly share code, notes, and snippets.

@hprobotic
Created January 10, 2018 04:01
Show Gist options
  • Select an option

  • Save hprobotic/3be16ab04bb9c9963cc448ba522a7207 to your computer and use it in GitHub Desktop.

Select an option

Save hprobotic/3be16ab04bb9c9963cc448ba522a7207 to your computer and use it in GitHub Desktop.
Fix Postgres `connections on Unix domain socket "/tmp/.s.PGSQL.5432"?`

run rm /usr/local/var/postgres/postmaster.pid

@abdulbasit1248

Copy link
Copy Markdown

Thanks

@kobena

kobena commented Mar 25, 2021

Copy link
Copy Markdown

No such file or directory. I am using ubuntu 20.04

@hprobotic

Copy link
Copy Markdown
Author

No such file or directory. I am using ubuntu 20.04

Hi @kobena on ubuntu, try other path.
run which postgres to find postgres path. result something like this: /usr/local/bin/postgres
Then add postmaster.pid after path see in screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment