Re: Warings in Log: could not resolve "localhost": host nor service provided, or not known - Mailing list pgsql-general

From Tom Lane
Subject Re: Warings in Log: could not resolve "localhost": host nor service provided, or not known
Date
Msg-id 4873.1080746508@sss.pgh.pa.us
Whole thread Raw
In response to Warings in Log: could not resolve "localhost": host nor service provided, or not known  ("Durai " <visolve_postgres@lycos.co.uk>)
List pgsql-general
"Durai " <visolve_postgres@lycos.co.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Slow IN query
Next
From: Alexander Cohen
Date:
Subject: select statement sorting