473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

pg_hba.conf

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/
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x35454B4C> 35454B4C
Nov 12 '05 #1
11 9387
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 pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #2
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
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #3
"Nigel J. Andrews" <na******@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

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

Nov 12 '05 #4
On Tue, 30 Sep 2003, Tom Lane wrote:
"Nigel J. Andrews" <na******@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
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #5

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 ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 12 '05 #6
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
rr******@commandprompt.com | Telephone: (503) 222.2783
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #7
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 | mm******@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #8
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 ma*******@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
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #9
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
rr******@commandprompt.com | Telephone: (503) 222.2783

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #10
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 | mm******@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #11

Thank you everyone for your excellent leads! We're evaluating them
presently...

--Rick
-----Original Message-----
From: pg*****************@postgresql.org
[mailto:pg*****************@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 | mm******@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
---------------------------(end of
broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to
ma*******@postgresql.org

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

Nov 12 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: David Nedrow | last post by:
I'm trying to set up the cyrus imap server using PostgreSQL as the authentication backend. Currently, the issue I'm having is that I'm unable to connect via psql on the loopback address...
2
by: Liza | last post by:
Hi, I've just setup postgreSQL on my Fedora Core1 box. I installed postgresql from rpm files. When I try to connect to the postgresql server in pgmanage, or through an ODBC from other windows...
0
by: Tom Allison | last post by:
pg_hba.conf entry: host all all 192.168.0/24 md5 I get the error 2004-06-14 20:51:48 LOG: invalid entry in pg_hba.conf file at line 89, token...
3
by: Si Chen | last post by:
Hello. It seems that every time I make a change to pg_hba.conf, I have to restart the database server for the new authentication to take effect. Is there a way to have the server use the new...
5
by: Raymond O'Donnell | last post by:
Hello all, I've installed the new Win32 version of 8.0-beta1, running as a service. When I connect to it using pgAdmin III and attempt to list databases, I get an error: 'Column "datpath" does...
1
by: David Parker | last post by:
We ran into a problem with pg_hba processing recently when we upgraded from 7.3.2 to 7.4.5. We use postgres as part of a network appliance that runs on Solaris 9/intel boxes. 7.4.5 runs fine in our...
1
by: dsudhakara | last post by:
In my queues.conf file my text message are stored here .I want to retrieve particular campaign modify some words in particular campaign and return to save the same queues.conf file .Plz give me...
3
by: smitty1e | last post by:
Just a fun exercise to unify some of the major input methods for a script into a single dictionary. Here is the output, given a gr.conf file in the same directory with the contents stated below: ...
3
by: gjain123 | last post by:
Hi all, I am using netbeans as IDE and glassfish as app server for my web application. At runtime it needs some dll files and .conf file. Now the question is: 1. How should I package the .conf...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.