[Mapbender-users] problems connecting to postgresql

Pedro Martinez Arbizu pmartinez at senckenberg.de
Sun Jan 27 03:50:44 EST 2008


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 at 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 at 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 at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
>
>
> --
> -----------------------------------------------------------
> Michael Schulz
> mschulz at 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 at 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


More information about the Mapbender_users mailing list