Re: Warings in Log: could not resolve "localhost": host nor service provided, or not known

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Durai " <visolve_postgres(at)lycos(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Warings in Log: could not resolve "localhost": host nor service provided, or not known
Date: 2004-03-31 15:21:48
Message-ID: 4873.1080746508@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Durai " <visolve_postgres(at)lycos(dot)co(dot)uk> writes:
> I built PostgreSQL 7.4.2 on HPUX IPF platform. It works fine. But when I start the postmaster, I got
> the following LOG message:

> LOG: could not resolve "localhost": host nor service provided, or not known

The machine's name service is broken. You probably need to fix
/etc/nsswitch.conf, /etc/hosts, and/or /etc/resolv.conf.
"man switch" has some info about the first of these.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Cohen 2004-03-31 15:31:43 select statement sorting
Previous Message Tom Lane 2004-03-31 15:17:25 Re: Slow IN query