Search Postgresql Archives

Re: localhost resolving

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tonko Racic <tonko.racic@xxxxxxxxxx> writes:
> I have a problem with local host resolving.
> LOG:  could not resolve "localhost": host nor service provided, or  
> not known
> I am running HP-UX 11.23 and have installed postgresql 8.1.3

Googling suggests that that's HPUX's spelling of EAI_NONAME, implying
that resolution of the given name failed.

> Localhost is in /etc/hosts, I also have nsswitch.conf and resolv.conf  
> configured.

Configured how?  The nslookup result shows that your DNS server refuses
to resolve "localhost", so I'm thinking you made a mistake somewhere
such that getaddrinfo() isn't looking in /etc/hosts.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux