Re: V8.3 fails to start after unremming hba_file = 'ConfigDir/pg_hba.conf'

Поиск
Список
Период
Сортировка
От Alan Deane
Тема Re: V8.3 fails to start after unremming hba_file = 'ConfigDir/pg_hba.conf'
Дата
Msg-id 86F8C69D6C394B768810F9C9801111E7@tinhare
обсуждение исходный текст
Ответ на Re: V8.3 fails to start after unremming hba_file = 'ConfigDir/pg_hba.conf'  (Chris <dmagick@gmail.com>)
Ответы Re: V8.3 fails to start after unremming hba_file = 'ConfigDir/pg_hba.conf'
Список pgsql-general
Hi Chris,

I can connect to the server locally with PgAdmin using

localhost: 5432
192.168.2.99: 5432
127.0.0.1 : 5432

As for the Windows event logs they are all fine.

The server logs. Look OK except for
%LOG: invalid length of startup packet which could have been when I was
trying to telnet in.

What is very interesting is the following from the Status log
I have three connections now, all from my local machine, local host,
127.0.0.1 and 192.168.2.99 and what is very interesting is the following
from the Status log is the client column.

192.168.2.99:3321
127.0.0.1:3237
127.0.0.1:3223

Which is telling me that it is using different outgoing ports. Which means
it will probably be a problem with the firewall as I think I set both
incoming and outgoing to 5432.

Will have to go and see if changing the outgoing to any makes a difference.

Will reports back soon.

Thanks,
Alan.





-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Chris
Sent: 30 July 2009 02:23
To: alan@anitltd.co.uk
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] V8.3 fails to start after unremming hba_file =
'ConfigDir/pg_hba.conf'

Alan Deane wrote:
> Sorry, yes the error, Doh!.
>
> Standard Server doesn't Listen (sounds like my ex :))
>
> Here it is in full.
>
> Server doesn't listen
>
> could not connect to server; Connection timed out (0x0000274C/10060) Is
the
> server running on host 192.168.2.99 and accepting TCP/IP connection on
port
> 5432?

Anything in the postgres logs or windows event logger?

Can you manually telnet to that?

Try
- from the postgres server back to itself (127.0.0.1 5432)
- from the postgres server to it's ip (2.99)
- from another machine

It still sounds like it's firewall related.

--
Postgresql & php tutorials
http://www.designmagick.com/


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




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

Предыдущее
От: Tim Uckun
Дата:
Сообщение: Re: Monitoring with pg_controldata
Следующее
От: "Alan Deane"
Дата:
Сообщение: Re: V8.3 fails to start after unremming hba_file = 'ConfigDir/pg_hba.conf'