[ILUG] stunneled postgres
Deim Agoston
ago at idg.hu
Sat Sep 23 21:51:43 IST 2000
Helo !
I still should use the postgres server over ssl. I ran the following
command :
stunnel -c -n pgsql -r 212.108.197.51:65432
then I tried to connect to the server :
psql -h 212.108.197.51 -p 65432 -u teahouse
After that it asks for username and password. I enter it and get the
following message :
Connection to database 'teahouse' failed.
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
Does it mean that I used stunnel with wrong parameters or the same with
psql ? Or the username and password was incorrect ? When I just type psql
-h 212.108.197.51 -p 65432 I got the following error as above plus one
line : Connection to database 'template1' failed. Any docs, unofficial
HOWTOs are welcomed. I've read trough the whole stunnel man. Maybe I was
to dumb to got it.
Thanks,
Ago
More information about the ILUG
mailing list