Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

Next:From: Alexander CohenDate: 2004-03-31 15:31:43
Subject: select statement sorting
Previous:From: Tom LaneDate: 2004-03-31 15:17:25
Subject: Re: Slow IN query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group