Re: [GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-25 Thread Adrian Klaver
On 09/24/2014 11:34 PM, Xiang Gan wrote: Finally, I managed to run Postgresql in Linux FriendlyARM environment. It seems that Postgresql server starts to work, however, it prints out some WARNING info. during the start. The error info. is as follows: LOG: could not resolve "localhost": Tempora

Re: [GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-24 Thread Xiang Gan
Finally, I managed to run Postgresql in Linux FriendlyARM environment. It seems that Postgresql server starts to work, however, it prints out some WARNING info. during the start. The error info. is as follows: LOG: could not resolve "localhost": Temporary failure in name resolution LOG: disablin

Re: [GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-23 Thread Vick Khera
On Tue, Sep 23, 2014 at 2:29 AM, Abelard Hoffman wrote: > Typically, applications open the port as root and then change to low > privilege for the actual service. > See also this thread: > > http://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports

Re: [GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-22 Thread Abelard Hoffman
On Mon, Sep 22, 2014 at 7:39 PM, Tom Lane wrote: > Xiang Gan writes: > > OK. So a stupid question, whether there is any possibility to run > Postgresql as root? (I know this is forbidden generally. But what I find > out is that in Linux FriendlyArm environment, root could create socket > while n

Re: [GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-22 Thread Tom Lane
Xiang Gan writes: > OK. So a stupid question, whether there is any possibility to run Postgresql > as root? (I know this is forbidden generally. But what I find out is that in > Linux FriendlyArm environment, root could create socket while non-root user > does not have such privilege) So, it's

Re: [GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-22 Thread Xiang Gan
OK. So a stupid question, whether there is any possibility to run Postgresql as root? (I know this is forbidden generally. But what I find out is that in Linux FriendlyArm environment, root could create socket while non-root user does not have such privilege) Kind regards, Gerry On 09/22/2014

Re: [GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-22 Thread Adrian Klaver
On 09/22/2014 01:22 AM, Xiang Gan wrote: Hi, I'm newbie here so I'm sorry if this is posted in wrong place. I tried to install Postgresql 9.2.9 on Linux Friendlyarm. The Postgresql was cross compiled (use arm-linux-gcc 4.4.3) successfully on my desktop Ubuntu. Then it was moved to Linux Frien

[GENERAL] Installing Postgresql on Linux Friendlyarm

2014-09-22 Thread Xiang Gan
Hi, I'm newbie here so I'm sorry if this is posted in wrong place. I tried to install Postgresql 9.2.9 on Linux Friendlyarm. The Postgresql was cross compiled (use arm-linux-gcc 4.4.3) successfully on my desktop Ubuntu. Then it was moved to Linux Friendlyarm environment. When I tried to start th