<div dir="ltr"><div><div><div>Hi strk,<br></div>Now another error is coming :<br>mohit@mohit-Inspiron-1545:~/builds/source/postgis$ >echo "create index on points using spgist(point(g));" | valgrind --leak-check=yes --log-file=valgrindlog /usr/local/pgsql/bin/postgres --single postgis -D /usr/local/pgsql/data/ <br>


create index on points using spgist(point(g));: command not found<br>FATAL:  configuration file "/usr/local/pgsql/data/postgresql.conf" contains errors<br><br></div>It seems valgrind is not able to connect to the database as the same error is coming with other commands as well. The whole i/o is here <a href="http://pastebin.com/kRqQbXXd" target="_blank">http://pastebin.com/kRqQbXXd</a><br>


<br></div>The postgresql.conf file is not accesible for modifications.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 7:54 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Wed, Jul 23, 2014 at 04:46:55PM +0530, mohit kumar wrote:<br>
> Hi strk,<br>
> As my system crashed and I had to build everything again. Now Even I am<br>
> getting the same error.<br>
> test1=# create index on points using spgist(g);<br>
> The connection to the server was lost. Attempting reset: Failed.<br>
> !><br>
><br>
> While using valgrind debuging the following error comes :<br>
> mohit@mohit-Inspiron-1545:~/builds/source/postgis$ echo "create index on<br>
> points using spgist(g);" | valgrind --leak-check=yes --log-file=valgrindlog<br>
> /usr/local/pgsql/bin/postgres -D /usr/local/pgdata --single postgis<br>
> FATAL:  --single requires a value<br>
<br>
</div>Just move "--single postgis" before "-D /usr/local/pgdata"<br>
It always strikes me too<br>
<div class="HOEnZb"><div class="h5"><br>
--strk;<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div>Mohit Kumar<div>+91-970-3840-175<div>Lab For Spatial Informatics<br>International Institute of Information Technology<br>Hyderabad, India</div></div>

</div></div>
</div>