[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapbender-users
Subject:    [Mapbender-users] problems connecting to postgresql
From:       pmartinez () senckenberg ! de (Pedro Martinez Arbizu)
Date:       2008-01-27 3:50:50
Message-ID: bd0fe7900801270050l6ee5f0e1mdca43fcb74326007 () mail ! gmail ! com
[Download RAW message or body]

Hi Michael,

yes indeed this was the problem (how stupid!).

 I have been trying all possibilities in pg_hba.conf obviously without
success.

Thanks a lot, pedro



On 26/01/2008, Michael Schulz <mschulz@webgis.de> wrote:
>
> Hi Pedro,
>
> i think you only have to remove the "<" and ">" signs that enclose
> localhost in mapbender.conf:
>
> define("DBSERVER", "localhost");
>
> this is true for all other defines in this section.
>
> Cheers, Michael
>
>
> 2008/1/26, Pedro Martinez Arbizu <pmartinez@senckenberg.de>:
> > Hello, trying a brand new installation of Mapbender on Debian Etch
> > with, Postgresql 8.1.11 and Postgis.
> >
> > Following error apears:
> >
> > Warning: pg_connect() [function.pg-connect]: Unable to connect to
> > PostgreSQL server: could not translate host name "<localhost>" to
> > address: Name or service not known in
> > /var/www/mapbender/http/php/database-pgsql.php on line 97
> >
> > Any idea?
> >
> > Thanks pedro
> > _______________________________________________
> > Mapbender_users mailing list
> > Mapbender_users@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
>
>
> --
> -----------------------------------------------------------
> Michael Schulz
> mschulz@webgis.de
>
> in medias res
> Gesellschaft f?r Informationstechnologie mbH
>
> In den Weihermatten 66
> 79108 Freiburg
>
> Tel  +49 (0)761 556959-5
> Fax +49 (0)761 556959-6
>
> http://www.webgis.de / http://www.zopecms.de
> -----------------------------------------------------------
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapbender_users/attachments/20080127/32effc60/attachment.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic