lmjumg
Last Updated: May 27, 2016
·
71
· debbora

PG::ConnectionBad: could not connect to server: No such file or directory

Problema: tentar interarir com o Postgres e obter essa mensagem:
PG::ConnectionBad: could not connect to server: No such file or directory

Solução: encontrar o service do Postgres (geralmente /etc/init.id/postgresql) e reiniciá-lo
/etc/init.d/postgresql restart