Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets

Поиск
Список
Период
Сортировка
От Daniel J. Summers
Тема Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets
Дата
Msg-id 4BDFA003.2080706@djs-consulting.com
обсуждение исходный текст
Ответ на Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On 05/03/2010 02:20 PM, Tom Lane wrote:
> "Daniel J. Summers"<daniel.lists@djs-consulting.com>  writes:
>
>> On 05/03/2010 01:52 PM, Tom Lane wrote:
>>
>>> Does it work if you change listen_addresses to '*' or '127.0.0.1' ?
>>>
>
>> Bingo - changing it to "*" got it started.  :)
>>
> OK, what about 127.0.0.1?  Given that "dig localhost" returns that,
> it *should* behave the same, but obviously something here is not
> behaving as expected.  Also, after you start it with '*', does
> "psql -h localhost" work?
>

Yes on both accounts.  When I had 127.0.0.1 or *, it both started up,
and psql -h localhost gave me a password prompt.

> I'm guessing that there is something funny about the way your local
> loopback is configured.  It might be useful to look at "ifconfig lo".
> On a Fedora machine I get
>
> lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            inet6 addr: ::1/128 Scope:Host
>            UP LOOPBACK RUNNING  MTU:16436  Metric:1
>

Mine's a carbon copy of that.  It's strange.

Let me know if there are any other commands you'd like for me to run.
The original problem is solved, but I'd be happy to help find the
disconnect (if there is one - and pardon the pun).  :)


Daniel

В списке pgsql-admin по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovacuum stopped running
Следующее
От: Peter Sabaini
Дата:
Сообщение: Statistics collector port / unix dom. socket?