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