Re: Postgres 9.1 y Centos 6.3

From: Jose David Verbel Tous <jverbel(at)solati(dot)com(dot)co>
To: Javier Aquino <JAquino(at)lexuseditores(dot)com>
Cc: Rodrigo Ruiz <rruizf(at)gmail(dot)com>, Miguel Angel Hernandez Moreno <miguel(dot)hdz(dot)mrn(at)gmail(dot)com>, Ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Postgres 9.1 y Centos 6.3
Date: 2013-01-21 13:43:30
Message-ID: CAPgddU++QOshZsp+Quw1iMx4e8Q2vvDZ7XJQibhKNAJ8gupFUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

En CentOS hay un servicio "SELinux", bajale el nivel o agrega el puerto de
PostgreSQL a las excepciones.

Exitos..!!!

2012/12/13 Javier Aquino <JAquino(at)lexuseditores(dot)com>

> **
> -h localhost puede entenderse como: IPV4 127.0.0.1:5432 o como IPV6
> ::1:5432, lo mas probable es que por defecto se use IPV6 (los sistemas
> operativos modernos hacen esto), entonces tienes dos alternativas:
>
> 1. conectarte con la opcion -h localhost4 (Para forzar a una conexión con
> el protocolo IPV4) ó
> 2. Modificar el pg_hba.conf y habilitar IPV6 así:
>
> host all all ::1/128 md5
>
> Espero solucione tu problema.
>
> Saludos y éxitos.
>
> Javier.
>
>
> El jue, 13-12-2012 a las 15:22 -0300, Rodrigo Ruiz escribió:
>
> El 13/12/2012 13:34, Miguel Angel Hernandez Moreno escribió:
>
> Rodrigo
>
>
>
> al psql agregale el *-h localhost*
>
>
>
> debe de funcionar!!
>
>
>
> y si puedes envia como tienes el IPv4 en el hba porfa
>
>
>
>
> Ok, le agregué -l localhost al comando y tampoco conectó.
>
> El pg_hba.conf es:
>
> # "local" is for Unix domain socket connections only
> local all all md5
> # IPv4 local connections:
> #host all all 127.0.0.1/32 md5
> host all all 0.0.0.0/0 md5
> # IPv6 local connections:
> #host all all ::1/128 ident
>
> Saludos.-
>
> --
> Rodrigo Ruiz Fuentes
>
>
>

--

*Jose David Verbel Tous*

Sol(at)ti Ltda****

*jverbel(at)solati(dot)com(dot)co <correo(at)solati(dot)com(dot)co>*

* *+57 4* *2687551****

* *+57 1* *6373721****

Carrera 43 A # 1 sur 220 Of 708, Medellín****

Autopista Norte # 114 - 78 Of 501, Bogotá****

http://www.solati.com.co

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message juanramirez 2013-01-21 18:55:46 subconsulta a array de dos dimensiones
Previous Message Rafael Valenzuela 2013-01-21 13:36:28 Re: Consulta compleja