pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Ankur <ankur@adm.iitkgp.ernet.in>
Cc: postgresql-admin <pgsql-admin@postgresql.org>
Subject: Re: Postgresql Server is not starting during it's installation
Date: Wed, 19 Sep 2007 08:05:26 -0500
Message-ID: <dcc563d10709190605r6a5dad65wf7d5e2b0244b290f@mail.gmail.com> (raw)
In-Reply-To: <001101c7fa6e$3ad06170$64200f0a@acsscoracle>
References: <200709181411.l8IEBMbW029702@mymail.iitkgp.ernet.in>
	<dcc563d10709180918m21e4cb63gf579fe2ce717780c@mail.gmail.com>
	<001101c7fa6e$3ad06170$64200f0a@acsscoracle>

On 9/18/07, Ankur <ankur@adm.iitkgp.ernet.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.



view thread (3+ messages)

Message-ID: <dcc563d10709190605r6a5dad65wf7d5e2b0244b290f@mail.gmail.com>
Permalink:  ../dcc563d10709190605r6a5dad65wf7d5e2b0244b290f@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10709190605r6a5dad65wf7d5e2b0244b290f@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, ankur@adm.iitkgp.ernet.in
  Subject: Re: Postgresql Server is not starting during it's installation
  In-Reply-To: <dcc563d10709190605r6a5dad65wf7d5e2b0244b290f@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox