Accessing PgSql-Database from NT (ODBCD)
Accessing PgSql-Database from NT (ODBCD)
От:
The Hermit Hacker <scrappy@hub.org>
Дата:
===================================================================
This message has been sent to a DEAD mailing list, and subsequently
reforwarded to the proper one: pgsql-interfaces@postgresql.org
===================================================================
Hello!
Last day I installed the Postgrest SQl-Database successful on my
LINUX-Server.
The Database runs fine, and all tests, which are included with the source
("/src/test") have possitive result.
The Access-List for the Postmaster has also been checked, that everybody in
the wan can access the SQl-Server via TCPIP
But it is still impossbile to get any connection from Windows NT to the
SQl-Server. the ODBC-Client returns: "Server 192.168.1.101 could not be
connected - No connection possible to port 5432"
I also checked, that the Postmaster Process is running on port 5432 and
localy on the mashine everything works fine(using psql)
What to do???
(how can I for instance with an second LINUX-Mashine check, that the
Postmaster is available from Remote??)
Thankyou in advance!
Oliver!
Re: [INTERFACES] Accessing PgSql-Database from NT (ODBCD)
От:
"Olaf Mittelstaedt" <mstaedt@va-sigi.va.fh-ulm.de>
Дата:
> The Database runs fine, and all tests, which are included with the source
> ("/src/test") have possitive result.
> The Access-List for the Postmaster has also been checked, that everybody in
> the wan can access the SQl-Server via TCPIP
> But it is still impossbile to get any connection from Windows NT to the
> SQl-Server. the ODBC-Client returns: "Server 192.168.1.101 could not be
> connected - No connection possible to port 5432"
> I also checked, that the Postmaster Process is running on port 5432 and
> localy on the mashine everything works fine(using psql)
Did you include the "-i" switch when starting the postmaster? It
enables TCP/IP connections since the postmaster only uses UNIX
domain sockets per default.
Try to open a telnet session from your NT workstation to the machine
hosting the PostgreSQL server, a least you should see something like:
frog# telnet frog 5432
Trying ?.?.?.?...
Connected to frog.
Escape character is '^]'.
EInvalid packet length
Connection closed by foreign host.
Regards,
Olaf
--
Olaf Mittelstaedt - IuK - mittelstaedt@fh-ulm.de
Fachhochschule Ulm Prittwitzstr. 10 89075 Ulm
Tel.: +49 (0)731-502-8220 Fax: -8270
Ash nazg durbatulûk, ash nazg gimbatul,
ash nazg thrakatulûk agh burzum-ishi krimpatul.