pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
 Postgresql Server is not starting during it's installation
3+ messages / 2 participants
[nested] [flat]

*  Postgresql Server is not starting during it's installation
@ 2007-09-18 14:11  ankur@adm.iitkgp.ernet.in
  0 siblings, 1 reply; 3+ messages in thread

From: ankur@adm.iitkgp.ernet.in @ 2007-09-18 14:11 UTC (permalink / raw)
  To: pgsql-admin

Hello Sir,
          During the installation of "Postgresql Database Server" when I am tring execute the command "/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data" it shows an error message:
        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
Now I am in a great trouble. You please send me the necessary steps to rectify that problem. I am waiting for your reply.

With regards,
Ankur Sahu,
Software Engineer.

___________________________________
IIT Kharagpur, http://www.iitkgp.ac.in








^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Postgresql Server is not starting during it's installation
@ 2007-09-18 16:18  Scott Marlowe <scott.marlowe@gmail.com>
  parent: ankur@adm.iitkgp.ernet.in
  0 siblings, 1 reply; 3+ messages in thread

From: Scott Marlowe @ 2007-09-18 16:18 UTC (permalink / raw)
  To: ankur@adm.iitkgp.ernet.in; +Cc: pgsql-admin

On 9/18/07, ankur@adm.iitkgp.ernet.in <ankur@adm.iitkgp.ernet.in> wrote:
> Hello Sir,
>           During the installation of "Postgresql Database Server" when I am tring execute the command "/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data" it shows an error message:
>         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
> Now I am in a great trouble. You please send me the necessary steps to rectify that problem. I am waiting for your reply.

I think we need more information to help out.

What OS, what pg version, and also, what were the events leading up to
this point.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Postgresql Server is not starting during it's installation
@ 2007-09-19 13:05  Scott Marlowe <scott.marlowe@gmail.com>
  parent: Scott Marlowe <scott.marlowe@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Scott Marlowe @ 2007-09-19 13:05 UTC (permalink / raw)
  To: Ankur <ankur@adm.iitkgp.ernet.in>; +Cc: pgsql-admin

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.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-09-19 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18 14:11  Postgresql Server is not starting during it's installation ankur@adm.iitkgp.ernet.in
2007-09-18 16:18 ` Scott Marlowe <scott.marlowe@gmail.com>
2007-09-19 13:05   ` Scott Marlowe <scott.marlowe@gmail.com>

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