Hi Michael,<br><br>yes indeed this was the problem (how stupid!). <br><br>&nbsp;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> &lt;<a href="mailto:mschulz@webgis.de">mschulz@webgis.de</a>&gt; 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 &quot;&lt;&quot; and &quot;&gt;&quot; signs that enclose<br>localhost in mapbender.conf:<br><br>define(&quot;DBSERVER&quot;, &quot;localhost&quot;);<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 &lt;<a href="mailto:pmartinez@senckenberg.de">pmartinez@senckenberg.de</a>&gt;:<br>&gt; Hello, trying a brand new installation of Mapbender on Debian Etch<br>
&gt; with, Postgresql 8.1.11 and Postgis.<br>&gt;<br>&gt; Following error apears:<br>&gt;<br>&gt; Warning: pg_connect() [function.pg-connect]: Unable to connect to<br>&gt; PostgreSQL server: could not translate host name &quot;&lt;localhost&gt;&quot; to<br>
&gt; address: Name or service not known in<br>&gt; /var/www/mapbender/http/php/database-pgsql.php on line 97<br>&gt;<br>&gt; Any idea?<br>&gt;<br>&gt; Thanks pedro<br>&gt; _______________________________________________<br>
&gt; Mapbender_users mailing list<br>&gt; <a href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a><br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
&gt;<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&nbsp;&nbsp;+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>