I've fixed the path issues above. I've also changed to importing a .bz2 instead of a .pbf as the .pdf is being read as an empty document. <div><br></div><div>Now I'm getting the following error:<div><br></div><div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>Allocating memory for dense node cache</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>Allocating dense node cache in block sized chunks</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>Node-cache: cache=0MB, maxblocks=0*1, allocation method=8192</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Mid: pgsql, scale=10000000 cache=0</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>Setting up table: planet_osm_nodes</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>NOTICE:  table "planet_osm_nodes" does not exist, skipping</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_nodes_pkey" for table "planet_osm_nodes"</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>Setting up table: planet_osm_ways</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>NOTICE:  table "planet_osm_ways" does not exist, skipping</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_ways_pkey" for table "planet_osm_ways"</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>Setting up table: planet_osm_rels</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>NOTICE:  table "planet_osm_rels" does not exist, skipping</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_rels_pkey" for table "planet_osm_rels"</div><div><br></div><div>
<span class="Apple-tab-span" style="white-space:pre"> </span>Reading in file: /home/myusername/Nominatim/utils/us-northeast.osm.bz2</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>Segmentation fault</div>
</div><div><br></div><div>----</div><div><br></div><div>I tried redownloading the file but it seems to give the same error.</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 9:28 AM, Nyx <span dir="ltr"><<a href="mailto:nyxynyx@gmail.com" target="_blank">nyxynyx@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am now getting the error:<br><div><br></div><div><div>Create DB</div><div>Setup DB</div><div>unable to find /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql</div>
</div><div><br></div><div>----</div><div><br></div>
<div>I looked into setup.php and see the line</div><div><br></div><div>pgsqlRunScriptFile(CONST_Path_Postgresql_Postgis.'/postgis.sql');</div><div><br></div><div>This is probably what's defining `/usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql`. However I believe I have postgis 2 installed (yum list postgis2*). /usr/share/postgresql/ does not exist. How should this link be fixed? Thank you once again! :)</div>
<div class="HOEnZb"><div class="h5">
<div><br></div><div><br><div class="gmail_quote">On Wed, Sep 12, 2012 at 6:18 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>On Wed, Sep 12, 2012 at 04:51:05PM -0400, Nyx wrote:<br>
> I tried commenting out the line `passthru('createlang plpgsql<br>
> '.$aDSNInfo['database']);`. When I run the import command, I get the ouput:<br>
><br>
> Create DB<br>
> Setup DB<br>
> unable to start pgsql<br>
><br>
> ----<br>
><br>
> When I tried running `psql -p 5432 -d nominatim` I am able to connect to<br>
> the database `nominatim`.<br>
<br>
</div>If that works from the command line then the only other thing I could think<br>
of is that your php configuration does not allow psql to be executed or cannot<br>
find it. Also the script writes to /dev/null. Make sure that your user and<br>
php are allowed to do that.<br>
<div><br>
> However when I check the contents of the database `nominatim`, I still do<br>
> not see anything added to the table.<br>
<br>
</div>That is normal because the setup process dies before doing anything useful.<br>
<span><font color="#888888"><br>
Sarah<br>
</font></span><div><div><br>
<br>
><br>
> On Wed, Sep 12, 2012 at 12:17 PM, Sarah Hoffmann <<a href="mailto:lonvia@denofr.de" target="_blank">lonvia@denofr.de</a>> wrote:<br>
><br>
> > 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<br>
> > "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>
> > 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>
> ><br>
> > Sarah<br>
> ><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>