Re: Postgress on my N900
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 textdata 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@maemo.org > 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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Postgress on my N900
Mighty you! unless you specifically changed default port during configure/build time or when starting, it should listen to its default port 5432. netstat is tricky utility and sometimes it will not show ports though listened by some process, but inaccessible due to firewall... I would try to use telnet just locally (which will be the only way you will use it anyway) like: telnet localhost 5432 (to escape from connection press simultaneously "ctrl" and "]" keys - you will be told about that when/if connection is successfully established). Thanks. Valeri On Thu, February 3, 2011 3:49 pm, Francisco Diaz Trepat - gmail wrote: > 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. > > f(t) > > On Thu, Feb 3, 2011 at 6:40 PM, Valeri Galtsev > wrote: > >> 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 >> >> textdata 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@maemo.org >> > 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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Postgress on my N900
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. f(t) On Thu, Feb 3, 2011 at 6:40 PM, Valeri Galtsev wrote: > 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 > > textdata 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@maemo.org > > 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 > > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Postgress on my N900
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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: FCamera - 640x480 only?
On Thu, Feb 3, 2011 at 2:15 PM, Rick B. wrote: > On Thu, 2011-02-03 at 10:24 -0600, Paul Hartman wrote: >> On Thu, Feb 3, 2011 at 10:05 AM, Nils Faerber >> wrote: >> > Hello! >> > I *love* FCam and FCamera - already as they are. The nearest thing to a >> > real camera for a mobile. >> > >> > So I went off and took some pictures and today for the first time loaded >> > them onto my PC and recognised they are all "just" 640x480!? >> > >> > So I tried to find the resolution setting in FCamera but there was none. >> > >> > Is there a way to have the full 5MP in FCamera? >> > >> > I would be pretty disappointed if this wasn't possible... >> > >> > Pressing thumbs! >> >> I remember reading some discussion of this, and the explanation that >> it's not actually 640x480, but some applications are reading it wrong. >> Something like this. :) >> >> What is the filesize? You should be able to figure out the resolution >> roughly from that. If it's truly 640x480 the file should be less than >> 1 megabyte I think. If it's full-sized then it should be closer to 10. >> ___ >> maemo-users mailing list >> maemo-users@maemo.org >> https://lists.maemo.org/mailman/listinfo/maemo-users > > > If memory serves, FCamera use dng format. I've not found any maemo or > linux software that allows one to view dng format images in their full > resolution. I think UFraw should be able to handle DNG. (maybe in Easy Debian if there's not a proper maemo version) Otherwise try it on a Mac or Windows machine with a recent release of Photoshop... ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: FCamera - 640x480 only?
On Thu, 2011-02-03 at 10:24 -0600, Paul Hartman wrote: > On Thu, Feb 3, 2011 at 10:05 AM, Nils Faerber > wrote: > > Hello! > > I *love* FCam and FCamera - already as they are. The nearest thing to a > > real camera for a mobile. > > > > So I went off and took some pictures and today for the first time loaded > > them onto my PC and recognised they are all "just" 640x480!? > > > > So I tried to find the resolution setting in FCamera but there was none. > > > > Is there a way to have the full 5MP in FCamera? > > > > I would be pretty disappointed if this wasn't possible... > > > > Pressing thumbs! > > I remember reading some discussion of this, and the explanation that > it's not actually 640x480, but some applications are reading it wrong. > Something like this. :) > > What is the filesize? You should be able to figure out the resolution > roughly from that. If it's truly 640x480 the file should be less than > 1 megabyte I think. If it's full-sized then it should be closer to 10. > ___ > maemo-users mailing list > maemo-users@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users If memory serves, FCamera use dng format. I've not found any maemo or linux software that allows one to view dng format images in their full resolution. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: more tmp memory
Awesome, thanks paul On Thu, Feb 3, 2011 at 2:51 PM, Paul Hartman > wrote: > On Thu, Feb 3, 2011 at 11:37 AM, Francisco Diaz Trepat - gmail > wrote: > > Hi I want to have more tmp memory because I am building posgress on my > n900. > > Yes, just because it can... Awesome :-) > > But I ran out of /tmp file. I have already asked this question, and I > think > > here, but I cannot find the answer. > > It was just remounting it umount /tmp mount /tmp parameter amount of > > megabytes > > Any one? > > Something like this? > > mount -o remount,size=16M /tmp > > don't even need to unmount it first... > ___ > maemo-users mailing list > maemo-users@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: more tmp memory
Andre Klapper wrote: > On Thu, 2011-02-03 at 14:37 -0300, Francisco Diaz Trepat - gmail wrote: >> But I ran out of /tmp file. I have already asked this question, and I >> think here, but I cannot find the answer. >> It was just remounting it umount /tmp mount /tmp parameter amount of >> megabytes > > So where is your question? You trimmed it out. f(t) wrote: > Any one? Cheers, Dave. -- Email: dne...@maemo.org Jabber: bo...@jabber.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: more tmp memory
On Thu, Feb 3, 2011 at 11:37 AM, Francisco Diaz Trepat - gmail wrote: > Hi I want to have more tmp memory because I am building posgress on my n900. > Yes, just because it can... Awesome :-) > But I ran out of /tmp file. I have already asked this question, and I think > here, but I cannot find the answer. > It was just remounting it umount /tmp mount /tmp parameter amount of > megabytes > Any one? Something like this? mount -o remount,size=16M /tmp don't even need to unmount it first... ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: more tmp memory
LOL How can I increase the size of my /tmp partition so that I may compile something big and not run out of space? f(t) On Thu, Feb 3, 2011 at 2:42 PM, Andre Klapper wrote: > On Thu, 2011-02-03 at 14:37 -0300, Francisco Diaz Trepat - gmail wrote: > > But I ran out of /tmp file. I have already asked this question, and I > > think here, but I cannot find the answer. > > It was just remounting it umount /tmp mount /tmp parameter amount of > > megabytes > > So where is your question? > > andre > -- > Andre Klapper (maemo.org bugmaster) > > ___ > maemo-users mailing list > maemo-users@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: more tmp memory
On Thu, 2011-02-03 at 14:37 -0300, Francisco Diaz Trepat - gmail wrote: > But I ran out of /tmp file. I have already asked this question, and I > think here, but I cannot find the answer. > It was just remounting it umount /tmp mount /tmp parameter amount of > megabytes So where is your question? andre -- Andre Klapper (maemo.org bugmaster) ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
more tmp memory
Hi I want to have more tmp memory because I am building posgress on my n900. Yes, just because it can... Awesome :-) But I ran out of /tmp file. I have already asked this question, and I think here, but I cannot find the answer. It was just remounting it umount /tmp mount /tmp parameter amount of megabytes Any one? f(t) ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: FCamera - 640x480 only?
On Thu, Feb 3, 2011 at 10:05 AM, Nils Faerber wrote: > Hello! > I *love* FCam and FCamera - already as they are. The nearest thing to a > real camera for a mobile. > > So I went off and took some pictures and today for the first time loaded > them onto my PC and recognised they are all "just" 640x480!? > > So I tried to find the resolution setting in FCamera but there was none. > > Is there a way to have the full 5MP in FCamera? > > I would be pretty disappointed if this wasn't possible... > > Pressing thumbs! I remember reading some discussion of this, and the explanation that it's not actually 640x480, but some applications are reading it wrong. Something like this. :) What is the filesize? You should be able to figure out the resolution roughly from that. If it's truly 640x480 the file should be less than 1 megabyte I think. If it's full-sized then it should be closer to 10. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
FCamera - 640x480 only?
Hello! I *love* FCam and FCamera - already as they are. The nearest thing to a real camera for a mobile. So I went off and took some pictures and today for the first time loaded them onto my PC and recognised they are all "just" 640x480!? So I tried to find the resolution setting in FCamera but there was none. Is there a way to have the full 5MP in FCamera? I would be pretty disappointed if this wasn't possible... Pressing thumbs! Cheers nils -- kernel concepts GbRTel: +49-271-771091-12 Sieghuetter Hauptweg 48 D-57072 Siegen Mob: +49-176-21024535 http://www.kernelconcepts.de ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users