[CentOS] /etc/hosts missing localhost?
Bill Campbell
centos at celestial.com
Tue Jul 29 18:02:58 UTC 2008
On Tue, Jul 29, 2008, kapil singh wrote:
>
> Hello,
> what about your postgresql settings ?
There were no problems with the postgresql settings, only that
when trying to connect to ``localhost'' it could not resolve that
to 127.0.0.1. ``psql -h 127.0.0.1 ...'' worked. After updating
the /etc/hosts file to create the ``127.0.0.1 localhost'' line,
things work fine.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186
About all I can say for the United States Senate is that it opens with
prayer and closes with an investigation. -- Will Rogers
More information about the CentOS
mailing list