Missing or erroneus pg_hba.conf file

Поиск
Список
Период
Сортировка
От Sandro Ribeiro - Claro RS -
Тема Missing or erroneus pg_hba.conf file
Дата
Msg-id 1178DF6B0140D51188600003470D71691ED4BB9C@teletmor12.telet.com.br
обсуждение исходный текст
Ответы Re: Missing or erroneus pg_hba.conf file  (jseymour@linxnet.com (Jim Seymour))
Re: Missing or erroneus pg_hba.conf file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin

Hello!

My server is working with pgsql 7.4.2 and Unix Solaris 8. Well, when a try a connection from my PC to the server, using pgAdminIII, I get the message above. This is my pg_hba.conf file:

local   all         all                                             trust
# IPv4-style local connections:
host    all         all         127.0.0.1         255.255.255.255   trust
host    all         all         172.17.0.0        255.255.0.0       trust

My PC IP address is something like 172.17.9.9 and local connections ("psql template1") are working fine. But if I comment the line below I can connect using pgAIII and locally too. After change pg_hba.conf I've used "pg_ctl reload".

#host    all         all         127.0.0.1         255.255.255.255   trust

My major problem is that in this last situation (with the line above commented) I can't use the pg73jdbc3.jar driver to connect to database (locally). The message is "no pg_hba.conf entry for host "127.0.0.1", user "postgres", database "ppcdr_db", SSL off". If I remove the comment, the "Missing or erroneus pg_hba.conf file" returns.

Can you help me?

Thank you!

SANDRO

--------------------------------------------------------------------------------------------------
O conteúdo desta mensagem é de uso restrito e confidencial, sendo o seu sigilo protegido por lei.
Estas informações não podem ser divulgadas sem prévia autorização escrita. Se você não é o
destinatário desta mensagem, ou o responsável pela sua entrega, apague-a imediatamente e avise
ao remetente, respondendo a esta mensagem. Alertamos que esta mensagem transitou por rede pública
de comunicação,estando, portanto, sujeita aos riscos inerentes a essa forma de comunicação.

A CLARO não se responsabiliza por conclusões, opiniões, ou outras informações
nesta mensagem que não se relacionem com sua linha de negócios.
--------------------------------------------------------------------------------------------------

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

Предыдущее
От: "Harry"
Дата:
Сообщение: cygwin installation problem (windows platform)
Следующее
От: "frank"
Дата:
Сообщение: problem with 7.4.2 for RH-9