Re: Postgresql Server is not starting during it's installation

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: Ankur <ankur(at)adm(dot)iitkgp(dot)ernet(dot)in>
Cc: postgresql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Postgresql Server is not starting during it's installation
Date: 2007-09-19 13:05:26
Message-ID: dcc563d10709190605r6a5dad65wf7d5e2b0244b290f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 9/18/07, Ankur <ankur(at)adm(dot)iitkgp(dot)ernet(dot)in> wrote:
> Sir,
> Thanks for your reply. I am giving you the necessary information. I am
> using Red Hat Enterprise Linux AS (Version 3 Update 9). Postgresql version
> is 8.2.4. When I am initializing the database server by executing the
> command "$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data" it shows
> successful message. But after that when I am trying to start the database
> server by executing the command "$ /usr/local/pgsql/bin/postgres -D
> /usr/local/pgsql/data" it generates an error message like:
> LOG: could not translate host name "localhost", service "5432" to
> address: Name or service not known
> WARNING: could not create listen socket for "localhost"
> FATAL: could not create any TCP/IP sockets
>
> Sir, please tell me the required steps to rectify that problem. I am waiting
> for your reply.

Please keep threads on the list, others might benefit from this, and
someone else might have a better answer than me.

Looks like you've already got something listening on that port. do

ps ax|grep postgres

and see what pops up.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Carol Walter 2007-09-19 14:37:11 Primary key
Previous Message yogesh.arora.daffodil 2007-09-19 12:43:24 Schedules Running Problem