Estou tentando rodar um sistema e no ultimo step ele apresenta um erro de falha na conexão com banco de dados
Database creation error: 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.5432"?
dentro do ubuntu ele aparece a seguinte msg
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: 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.5432"?
o que poderia estar falhando? psql -l mostra que o server esta ativo
psql -l?