HomePage :: Categorías :: Cambios :: Indice :: Login :: Guegue.Com :: Búsqueda:

Instalar Postgresql en una jaula


Al tratar de conectarse via shell al postgresql server se obtiene:

psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Esto suele ocurrir después de re-iniciar el equipo, debe crearse el hard link otra vez:
rm /jail/tmp/.s.PGSQL.5432
ln /tmp/.s.PGSQL.5432 /jail/tmp/

Asegurarse también de volver a copiar .s.PGSQL.5432.lock
cp /tmp/.s.PGSQL.5432.lock /jail/tmp/


NOTA: Siempre es un método alternativo conectarse via TCP/IP, usando:

psql -U//usuario// -h localhost //dase_de_datos//




CategorySysAdmin

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1064 seconds