[isf-wifidog] Unable to connect to PostgreSQL server: FATAL: Ident authentication failed

V Patel sgrlogs at gmail.com
Jeu 18 Jan 16:14:25 EST 2007


Change the following line in pg_hba.conf:

host    all         all         192.168.3.1/24        md5

to

host         all         all         127.0.0.1/32       md5

since you're hosting the webserver and database together, localhost ip
will be valid.


On 1/14/07,  listserv.traffic at sloop.net <listserv.traffic at sloop.net> wrote:
>  > I already disabled SELinux still getting same problem
>
> Still, Patel's right. Tinker with the settings in pg_hba.conf.
>
> If I get a chance I'll look mine up and post here, but I don't have
> the box or settings handy.
>
> I do know I had to tinker and IIRC, it's not exactly as described on the
> Wiki. Watching the error messages I got and trying different
> combinations I eventually got it right.
>
> Finally, be really certain you ARE using the real user/password
> credentials for the DB. I had a problem once that in passing appeared
> to be PGSQL security related, but it was simply that I wasn't really
> using a valid pair of credentials.
>
> Good luck.
> Greg
>
>
>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
>  http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
>


Plus d'informations sur la liste de diffusion WiFiDog