Thanks valeri, I actually think I saw a post somewhere which stated that some guy had his webserver and postgres running on a pentium 2 with 512 of RAM total, so I think I should be able to run it well.<div><br></div><div>
In fact the server starts perfectly and very quickly, and also I have ran the initdb and all perfectly fine.</div><div><br></div><div>The only thing I don't see is it actually listening on the port</div><div><br></div>
<div>but there is no error so it might be listening on some other port.</div><div><br></div><div>f(t)<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 6:40 PM, Valeri Galtsev <span dir="ltr"><<a href="mailto:galtsev@kicp.uchicago.edu">galtsev@kicp.uchicago.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Wow!<br>
<br>
This is a heavy weight one. I wouldn't dare to run it on pocked device...<br>
But maybe I'm wrong.<br>
<br>
My wild guess would be: you don't have enough RAM even to start it. To<br>
check how much RAM it requires just to load into memory itself and its<br>
arguments (and reserve space for data residing in RAM) you can run unix<br>
command<br>
<br>
size<br>
<br>
(or its equivalent on maemo) on the binary. E.g., this is what I get for<br>
postgresql on one of my servers:<br>
<br>
size /usr/bin/postgres<br>
<br>
text data bss dec hex filename<br>
2974897 45216 415136 3435249 346af1 /usr/bin/postgres<br>
<br>
which says that you need 3.44 MB just to start it successfully. You may<br>
have to multiply that by the number of postgres processes (which I'm sure<br>
is configurable) that you allowed to be started.<br>
<br>
Let us know what you find out.<br>
<br>
Good luck!<br>
<br>
Valeri<br>
<div><div></div><div class="h5"><br>
On Thu, February 3, 2011 2:59 pm, Francisco Diaz Trepat - gmail wrote:<br>
> I have successfully built and installed postgres 9.2 on my N900<br>
><br>
> It starts. but I cannot connect to it.<br>
><br>
> Checking netstat there are no entry for port 5432 (postgress default)<br>
><br>
> Postgress does not show any errors starting.<br>
><br>
> I do it by:<br>
><br>
> /usr/local/pgsql/bin/pg_ctl start -l mylog.log<br>
><br>
> Any Ideas on why this might be happening?<br>
><br>
> Has anyone try to install mysql or postgres on the n900?<br>
><br>
> f(t)<br>
</div></div>> _______________________________________________<br>
> maemo-users mailing list<br>
> <a href="mailto:maemo-users@maemo.org">maemo-users@maemo.org</a><br>
> <a href="https://lists.maemo.org/mailman/listinfo/maemo-users" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-users</a><br>
><br>
<br>
<br>
++++++++++++++++++++++++++++++++++++++++<br>
<font color="#888888">Valeri Galtsev<br>
Sr System Administrator<br>
Department of Astronomy and Astrophysics<br>
Kavli Institute for Cosmological Physics<br>
University of Chicago<br>
Phone: 773-702-4247<br>
++++++++++++++++++++++++++++++++++++++++<br>
</font></blockquote></div><br></div>