Re: posgresql-8.2 startup problem - Mailing list pgsql-general

From novice
Subject Re: posgresql-8.2 startup problem
Date
Msg-id 1193984199.191405.117520@57g2000hsv.googlegroups.com
Whole thread Raw
In response to Re: posgresql-8.2 startup problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thanks Tom!  I already solved the problem by putting "127.0.0.1
localhost" in /etc/hosts file..


On Nov 2, 12:04 am, t...@sss.pgh.pa.us (Tom Lane) wrote:
> novice <BeatDr...@gmail.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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend



pgsql-general by date:

Previous
From: "Erin Millard"
Date:
Subject:
Next
From: Abandoned
Date:
Subject: Copy the database..