Re: posgresql-8.2 startup problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: novice <BeatDream(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: posgresql-8.2 startup problem
Date: 2007-11-01 23:04:20
Message-ID: 16983.1193958260@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

novice <BeatDream(at)gmail(dot)com> writes:
> I just installed postgres-8.2 using the command line
> apt-get install postgres-8.2 and it seems the installation went ok,
> but when it tries to start postgres , it fails with this error message
> below...
> (by the way I am running ubuntu fiesty and on an amazon ec2-image).
> Any ideas what is wrong?

> 2007-11-01 14:16:26 CET LOG: could not translate host name
> "localhost", service "5432" to address: Name or service not known

Your DNS and/or /etc/hosts configuration is broken. Every machine
should be able to resolve "localhost" (to itself, of course).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ow Mun Heng 2007-11-02 00:51:24 Calculation for Max_FSM_pages : Any rules of thumb?
Previous Message Bruce Momjian 2007-11-01 23:02:42 Re: Number to Words Conversion