Hi Michael,<br><br>yes indeed this was the problem (how stupid!). <br><br> I have been trying all possibilities in pg_hba.conf obviously without success. <br><br>Thanks a lot, pedro<br><br><br><br><div><span class="gmail_quote">On 26/01/2008, <b class="gmail_sendername">Michael Schulz</b> <<a href="mailto:mschulz@webgis.de">mschulz@webgis.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Pedro,<br><br>i think you only have to remove the "<" and ">" signs that enclose<br>localhost in mapbender.conf:<br><br>define("DBSERVER", "localhost");<br><br>this is true for all other defines in this section.<br>
<br>Cheers, Michael<br><br><br>2008/1/26, Pedro Martinez Arbizu <<a href="mailto:pmartinez@senckenberg.de">pmartinez@senckenberg.de</a>>:<br>> Hello, trying a brand new installation of Mapbender on Debian Etch<br>
> with, Postgresql 8.1.11 and Postgis.<br>><br>> Following error apears:<br>><br>> Warning: pg_connect() [function.pg-connect]: Unable to connect to<br>> PostgreSQL server: could not translate host name "<localhost>" to<br>
> address: Name or service not known in<br>> /var/www/mapbender/http/php/database-pgsql.php on line 97<br>><br>> Any idea?<br>><br>> Thanks pedro<br>> _______________________________________________<br>
> Mapbender_users mailing list<br>> <a href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
><br><br><br>--<br>-----------------------------------------------------------<br>Michael Schulz<br><a href="mailto:mschulz@webgis.de">mschulz@webgis.de</a><br><br>in medias res<br>Gesellschaft für Informationstechnologie mbH<br>
<br>In den Weihermatten 66<br>79108 Freiburg<br><br>Tel +49 (0)761 556959-5<br>Fax +49 (0)761 556959-6<br><br><a href="http://www.webgis.de">http://www.webgis.de</a> / <a href="http://www.zopecms.de">http://www.zopecms.de</a><br>
-----------------------------------------------------------<br>_______________________________________________<br>Mapbender_users mailing list<br><a href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br></blockquote></div><br>