I tried commenting out the line `passthru('createlang plpgsql '.$aDSNInfo['database']);`. When I run the import command, I get the ouput:<div><br></div><div><div>Create DB</div><div>Setup DB</div><div>unable to start pgsql</div>
<div><br></div><div>----</div><div><br></div><div>When I tried running `<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">psql -p 5432 -d nominatim` I am able to connect to the database `nominatim`.</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">However when I check the contents of the database `nominatim`, I still do not see anything added to the table.</span></div>
<br><div class="gmail_quote">On Wed, Sep 12, 2012 at 12:17 PM, Sarah Hoffmann <span dir="ltr"><<a href="mailto:lonvia@denofr.de" target="_blank">lonvia@denofr.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Sep 12, 2012 at 03:46:47PM +0200, Frederik Ramm wrote:<br>
> Hi,<br>
><br>
> On 09/12/12 15:34, Nyx wrote:<br>
> >Hi, thanks for the help so far. Some how I manage to get past that<br>
> >error. Now when doing the import command, I get:<br>
> ><br>
> >Create DB<br>
> >Setup DB<br>
> >createlang: language "plpgsql" is already installed in database "nominatim"<br>
><br>
> 9.x versions of PostgreSQL have plpgsql activated by default. I<br>
> don't know if that is a problem but maybe you should comment out the<br>
> line that executes the "createlang" command.<br>
<br>
</div>This error can be ignored. The setup actually went past it. The interesting<br>
error was this one:<br>
<br>
> unable to start pgsql<br>
<br>
This means that psql still does not work correctly. What it tries is this:<br>
<br>
psql -p 5432 -d nominatim<br>
<span class="HOEnZb"><font color="#888888"><br>
Sarah<br>
</font></span></blockquote></div><br></div>