Re: Postgress on my N900

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

In fact the server starts perfectly and very quickly, and also I have ran the initdb and all perfectly fine.

The only thing I don't see is it actually listening on the port

but there is no error so it might be listening on some other port.


On Thu, Feb 3, 2011 at 6:40 PM, Valeri Galtsev <galtsev@xxxxxxxxxxxxxxxxx> wrote:

This is a heavy weight one. I wouldn't dare to run it on pocked device...
But maybe I'm wrong.

My wild guess would be: you don't have enough RAM even to start it. To
check how much RAM it requires just to load into memory itself and its
arguments (and reserve space for data residing in RAM) you can run unix


(or its equivalent on maemo) on the binary. E.g., this is what I get for
postgresql on one of my servers:

size /usr/bin/postgres

  text    data     bss     dec     hex filename
2974897   45216  415136 3435249  346af1 /usr/bin/postgres

which says that you need 3.44 MB just to start it successfully. You may
have to multiply that by the number of postgres processes (which I'm sure
is configurable) that you allowed to be started.

Let us know what you find out.

Good luck!


On Thu, February 3, 2011 2:59 pm, Francisco Diaz Trepat - gmail wrote:
> I have successfully built and installed postgres 9.2 on my N900
> It starts. but I cannot connect to it.
> Checking netstat there are no entry for port 5432 (postgress default)
> Postgress does not show any errors starting.
> I do it by:
> /usr/local/pgsql/bin/pg_ctl start -l mylog.log
> Any Ideas on why this might be happening?
> Has anyone try to install mysql or postgres on the n900?
> f(t)
> _______________________________________________
> maemo-users mailing list
> maemo-users@xxxxxxxxx

Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

maemo-users mailing list

[Nokia N800]     [Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [N900 Unlocked]

Add to Google Powered by Linux