Thread: pg_hba.conf

pg_hba.conf

From
"Angel Todorov"
Date:

Hello, sometimes I get a strange error from postgresql when I try to connect using ssl to the server:

 

LOG:  parse_hba: invalid syntax in pg_hba.conf file at line 46, token "hostssl"

FATAL:  Missing or erroneous pg_hba.conf file, see postmaster log for details

 

The contents of the pg_hba.conf file are

 

hostssl  dnet  att 172.16.13.40 255.255.255.255  trust

 

thanks

 

 

Angel T. Todorov

PGP public key ID: 1024D/35454B4C

 

Re: pg_hba.conf

From
Peter Eisentraut
Date:
Angel Todorov writes:

> LOG:  parse_hba: invalid syntax in pg_hba.conf file at line 46, token
> "hostssl"

It looks as though your server was not compiled with SSL support.

--
Peter Eisentraut   peter_e@gmx.net


Re: pg_hba.conf

From
"Nigel J. Andrews"
Date:
On Tue, 30 Sep 2003, Angel Todorov wrote:

> Hello, sometimes I get a strange error from postgresql when I try to
> connect using ssl to the server:
>
> LOG:  parse_hba: invalid syntax in pg_hba.conf file at line 46, token
> "hostssl"
> FATAL:  Missing or erroneous pg_hba.conf file, see postmaster log for
> details
>
> The contents of the pg_hba.conf file are
>
> hostssl  dnet  att 172.16.13.40 255.255.255.255  trust

In 7.3 and less ssl connections fail if a host line matches before the hostssl
line. At least I think that's the situation, there is definitely something
there that will make a ssl connection get rejected even if there is an
appropiate entry in pg_hba.conf

This works more sensibly in 7.4 I believe.


--
Nigel J. Andrews


Re: pg_hba.conf

From
Tom Lane
Date:
"Nigel J. Andrews" <nandrews@investsystems.co.uk> writes:
> In 7.3 and less ssl connections fail if a host line matches before the hostssl
> line. At least I think that's the situation, there is definitely something
> there that will make a ssl connection get rejected even if there is an
> appropiate entry in pg_hba.conf

Really?  Can you show an example?

            regards, tom lane

Re: pg_hba.conf

From
"Nigel J. Andrews"
Date:
On Tue, 30 Sep 2003, Tom Lane wrote:

> "Nigel J. Andrews" <nandrews@investsystems.co.uk> writes:
> > In 7.3 and less ssl connections fail if a host line matches before the hostssl
> > line. At least I think that's the situation, there is definitely something
> > there that will make a ssl connection get rejected even if there is an
> > appropiate entry in pg_hba.conf
>
> Really?  Can you show an example?

Well, not at the moment. I'd have to remember the specifics as well. I think it
was something to do with the client being built with ssl but the server not. Or
it might have been both built with ssl and a host line appearing before hostssl
in pg_hba.conf.

Whatever, I believe this was addressed by someone, possibly with the
introduction of a GUC.

I'll have to see if I can scrape the time together to try things out again but
I'm very busy, what with people struggling to make something work on production
when it was working on dev only to eventually say what the problem actually is
so it could be solved in a couple of seconds.


--
Nigel J. Andrews


Can anyone recommend a good PostGres admin tool?

From
"Rick Seeger"
Date:
We're looking for a (preferrably free) Windows (or browser) based PG
admin tool to use in our office. I've only ever used the psql command
line interface, so I don't have any experience with the GUI tools out
there. Any help appreciated.

Cheers,
Rick




Re: Can anyone recommend a good PostGres admin tool?

From
Robby Russell
Date:
Rick Seeger wrote:
> We're looking for a (preferrably free) Windows (or browser) based PG
> admin tool to use in our office. I've only ever used the psql command
> line interface, so I don't have any experience with the GUI tools out
> there. Any help appreciated.
>
> Cheers,
> Rick

Rick,
This might help you:

http://techdocs.postgresql.org/guides/GUITools



--
Robby Russell,  |  Sr. Administrator / Lead Programmer
Command Prompt, Inc.   |  http://www.commandprompt.com
rrussell@commandprompt.com | Telephone: (503) 222.2783


Re: Can anyone recommend a good PostGres admin tool?

From
Martin Marques
Date:
El Mié 01 Oct 2003 19:58, Rick Seeger escribió:
> We're looking for a (preferrably free) Windows (or browser) based PG
> admin tool to use in our office. I've only ever used the psql command
> line interface, so I don't have any experience with the GUI tools out
> there. Any help appreciated.

From Windows I would recommend phpPgAdmin, but you'll need a web server with
PHP, and if you don't have it, it might not be the best tool.
You can also try PgAdmin III.

--
 20:26:01 up 40 days, 12:08,  2 users,  load average: 0.65, 1.00, 0.97
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------


Re: Can anyone recommend a good PostGres admin tool?

From
Andrew Rawnsley
Date:
I've found DBVisualizer to be an excellent tool. Its Java based, and
not specific to Postgres. There are free and payware options.

http://www.minq.se/

(I don't work for them.)

On Wednesday, October 1, 2003, at 06:58 PM, Rick Seeger wrote:

>
> We're looking for a (preferrably free) Windows (or browser) based PG
> admin tool to use in our office. I've only ever used the psql command
> line interface, so I don't have any experience with the GUI tools out
> there. Any help appreciated.
>
> Cheers,
> Rick
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>
--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com


Re: Can anyone recommend a good PostGres admin tool?

From
Thierry Missimilly
Date:
I've try the trail version of PostgreSQL Manager by EMS
http://www.ems-hitec.com/pgmanager . But it is not free but not very
expensive (aboot 200$). It is a good tools.

I've try PgAdmin III on Windows 2000 . It's very good and free.
http://www.ems-hitec.com/pgmanager

You should get both and see which one has the full functionnality's you
need.

Thierry.

Robby Russell wrote:

> Rick Seeger wrote:
> > We're looking for a (preferrably free) Windows (or browser) based PG
> > admin tool to use in our office. I've only ever used the psql command
> > line interface, so I don't have any experience with the GUI tools out
> > there. Any help appreciated.
> >
> > Cheers,
> > Rick
>
> Rick,
> This might help you:
>
> http://techdocs.postgresql.org/guides/GUITools
>
> --
> Robby Russell,  |  Sr. Administrator / Lead Programmer
> Command Prompt, Inc.   |  http://www.commandprompt.com
> rrussell@commandprompt.com | Telephone: (503) 222.2783
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

Attachment

Re: Can anyone recommend a good PostGres admin tool?

From
Martin Marques
Date:
El Jue 02 Oct 2003 04:24, Thierry Missimilly escribió:
> I've try the trail version of PostgreSQL Manager by EMS
> http://www.ems-hitec.com/pgmanager . But it is not free but not very
> expensive (aboot 200$). It is a good tools.
>
> I've try PgAdmin III on Windows 2000 . It's very good and free.
> http://www.ems-hitec.com/pgmanager
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Wrong URL here:

http://www.pgadmin.org/pgadmin3/index.php


--
 09:21:02 up 41 days,  1:03,  3 users,  load average: 2.11, 1.00, 0.54
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------


Re: Can anyone recommend a good PostGres admin tool?

From
"Rick Seeger"
Date:
Thank you everyone for your excellent leads! We're evaluating them
presently...

--Rick


-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org]On Behalf Of Martin Marques
Sent: Thursday, October 02, 2003 8:23 AM
To: Thierry Missimilly; Robby Russell
Cc: postgres general
Subject: Re: [GENERAL] Can anyone recommend a good PostGres admin
tool?


El Jue 02 Oct 2003 04:24, Thierry Missimilly escribió:
> I've try the trail version of PostgreSQL Manager by EMS
> http://www.ems-hitec.com/pgmanager . But it is not free but not very
> expensive (aboot 200$). It is a good tools.
>
> I've try PgAdmin III on Windows 2000 . It's very good and free.
> http://www.ems-hitec.com/pgmanager
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Wrong URL here:

http://www.pgadmin.org/pgadmin3/index.php


--
 09:21:02 up 41 days,  1:03,  3 users,  load average: 2.11, 1.00, 0.54
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------


---------------------------(end of
broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org