Thanks Tom!  I already solved the problem by putting "127.0.0.1
localhost" in /etc/hosts file..


On Nov 2, 12:04 am, [EMAIL PROTECTED] (Tom Lane) wrote:
> novice <[EMAIL PROTECTED]> 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



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to