Обсуждение: missing or erroneous pg_hba.conf file

Поиск
Список
Период
Сортировка

missing or erroneous pg_hba.conf file

От
"qinyan"
Дата:
=C4=E3=BA=C3=A3=BA

=20=20

  =CE=D2=CA=C7 =D2=BB=C3=FB=D6=D0=B9=FA=D1=A7=C9=FA=A3=AC=D5=FD=D4=DA=D7=F6=
=CD=F8=B8=F1=B7=BD=C3=E6=B5=C4=B6=AB=CE=F7=A3=AC=D7=F6=B5=BD=D7=EE=BA=F3=B5=
=B1=CE=D2=D6=B4=D0=D0=C3=FC=C1=EE=CA=B1=A3=AC=CF=D4=CA=BE=C8=E7=CF=C2



2006-05-21 20:19:21,650 ERROR service.ReliableFileTransferImpl
[main,<init>:73]Unable to setup database driver with pooling.A
connection error has occurred: FATAL:  missing or erroneous
pg_hba.conf file



2006-05-21 20:19:23,213 WARN  service.ReliableFileTransferHome
[main,initialize:97] All RFT requests will fail and all GRAM jobs that
require file staging willfail.A connection error has occurred:
FATAL:  missing or erroneous pg_hba.conf file

=20=20=20=20=20=20=20=20=20=20=20

      =CE=D2=D6=AA=B5=C0 =D5=E2=B8=F6=CA=C7=CB=B5=CA=FD=BE=DD=BF=E2=C3=BB=
=D3=D0=C1=AC=BD=D3=BA=C3=A3=AC=B5=AB=CA=C7pg_hba.conf =CE=C4=BC=FE=CE=D2=D2=
=D1=BE=AD=BC=D3=C1=CB=D2=BB=D0=D0

host    rftDatabase  globus=20=20=20=20
192.168.0.99/32=20=20=20=20=20=20
18942670    =A3=AC=B6=F8=C7=D2=D2=AA=C7=F3=B8=C4=B5=C4



jndi-config.xml =A3=AC=CE=C4=BC=FE=CE=D2=D2=B2=BD=AB=CF=E0=D3=A6=B5=C4=B8=
=C4=B5=F4=C1=CB=A1=A3



=CF=D6=D4=DA=CA=FD=BE=DD=BF=E2=C1=AC=BD=D3=B2=BB=C9=CF=A3=AC=B2=BB=D6=AA=B5=
=C0=B8=C3=D4=F5=C3=B4=B0=EC=A3=BF



=C7=EB=CE=CA=CA=C7=CA=B2=C3=B4=D4=AD=D2=F2=A3=BF



=C6=DA=B4=FD=C4=E3=C3=C7=B5=C4=BB=D8=B8=B4=A3=A1=A3=A1=A3=A1=A3=A1

=20=20=

Re: missing or erroneous pg_hba.conf file

От
"William ZHANG"
Дата:
You'd better use plain text messages in newsgroups.
And you should use English.

Here is the document
http://www.postgresql.org/docs/8.1/interactive/client-authentication.html.
You can try with the lines in "Example 20-1. Example pg_hba.conf entries".
(Your pg_hba.conf is not correct.)

Steps:
1. Fix your pg_hba.conf according to the document mentioned above.
2. Use psql to test if you can connect to the database server.
    If not, goto step 1, else goto step 3.
3. Use your application to run tests.

> ""qinyan"" <12315_qin@163.com>
> wrote
......

With regards,
William ZHANG