Re: Postgress on my N900

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

 



Wow!

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
command

size

(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!

Valeri

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
> https://lists.maemo.org/mailman/listinfo/maemo-users
>


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



++++++++++++++++++++++++++++++++++++++++
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
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux