Re: Regarding postgres 9.1 with Redhat Linux

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Myint <myint(at)oneempower(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Regarding postgres 9.1 with Redhat Linux
Date: 2011-12-02 17:13:16
Message-ID: CAOR=d=1X7OZJaX=S8p89YTDnJYtgQaJckgUOaCwTVonzxE9PPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Dec 2, 2011 at 2:16 AM, Myint <myint(at)oneempower(dot)com> wrote:
> Dear admin,
>
>
>
>                    We have installed postgres 9.1 rpm package to red hat
> Linux  2.6.18- x86_64 x86_64 x86_64 GNU/Linux. After we setup and install
> database we can create data folder on /app/postgres/oe. But when we try to
> start up the database as  ./pg_ctl -D /app/postgres/oe start. It was giving
> the following error. Could you please advise how to solve this problem? Or
> should we back up data and re-install everything from begin? The error we
> received as following.
>
>
>
> LOG:  could not bind IPv4 socket: Address already in use
>
> HINT:  Is another postmaster already running on port 5432? If not, wait a
> few seconds and retry.
>
> WARNING:  could not create listen socket for "localhost"
>
> FATAL:  could not create any TCP/IP sockets

Sounds like you've already got an old version of pg installed. Either
change the 9.1 install to use a different port, shut down or uninstall
the old version. What does "ps ax|grep postgres" say about other
processes on the machine?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tank.zhang 2011-12-03 00:32:25 Re: Regarding postgres 9.1 with Redhat Linux
Previous Message Kevin Grittner 2011-12-02 17:07:16 Re: Regarding postgres 9.1 with Redhat Linux