From jkanter@virginia.edu Tue Dec 4 16:57:09 2001 Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (8.11.3/8.11.4) with SMTP id fB4Gv9m94003 for ; Tue, 4 Dec 2001 11:57:09 -0500 (EST) (envelope-from jkanter@virginia.edu) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa13931; 4 Dec 2001 11:57 EST Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.9.3/8.9.3) with SMTP id LAA33776 for ; Tue, 4 Dec 2001 11:57:05 -0500 Message-ID: <00d401c17ce4$c7ec62b0$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: setting up ODBC Date: Tue, 4 Dec 2001 11:57:38 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00D1_01C17CBA.DEDC5EF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200112/21 X-Sequence-Number: 2745 This is a multi-part message in MIME format. ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to connect to postgres via ODBC so that I can use Visio. I have= installed psqlODBC on my windows 2000 workstation and am trying to get to = our postgres database located on a Linux machine. Do I need to enable ODBC on the Linux side? or just configure the driver on= my workstation? I have read something about postgres automatically rejecting IP connections. Can anyone advise?=20 Thanks=20 Jodi=20 _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (804) 924-2846 jkanter@virginia.edu ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am trying to connect to postgres via ODB= C so that=20 I can use Visio. I have installed psqlODBC on my windows 2000 workstation a= nd am=20 trying to get to our postgres database located on a Linux machine.
Do I need to enable ODBC on the Linux side= ? or just=20 configure the driver on my workstation?
I have read something about postgres autom= atically=20 rejecting IP connections.
Can anyone advise?
Thanks
Jodi

_______________________________
Jodi= =20 L Kanter
BioInformatics Database Administrator
University of=20 Virginia
(804) 924-2846
jkanter@virginia.edu

------=_NextPart_000_00D1_01C17CBA.DEDC5EF0-- From derek@gnue.org Tue Dec 4 18:27:07 2001 Received: from www.llamacom.com (www.llamacom.com [209.152.94.130]) by postgresql.org (8.11.3/8.11.4) with SMTP id fB4IR6m97419 for ; Tue, 4 Dec 2001 13:27:07 -0500 (EST) (envelope-from derek@gnue.org) Received: (qmail 22332 invoked by uid 542); 4 Dec 2001 18:26:59 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Dec 2001 18:26:59 -0000 Date: Tue, 4 Dec 2001 12:26:59 -0600 (CST) From: Derek Neighbors X-X-Sender: To: Jodi Kanter cc: Postgres Admin List Subject: Re: setting up ODBC In-Reply-To: <00d401c17ce4$c7ec62b0$de138f80@virginia.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200112/22 X-Sequence-Number: 2746 > I am trying to connect to postgres via ODBC so that I can use Visio. I have installed psqlODBC on my windows 2000 workstation and am trying to get to our postgres database located on a Linux machine. > Do I need to enable ODBC on the Linux side? or just configure the driver on my workstation? You need to configure ODBC only on the windows machine. > I have read something about postgres automatically rejecting IP connections. > Can anyone advise? You will need to make sure that your postgres server is setup to accept TCP/IP connections. -Derek From nickf@ontko.com Tue Dec 4 20:12:41 2001 Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB4KCfm14314 for ; Tue, 4 Dec 2001 15:12:41 -0500 (EST) (envelope-from nickf@ontko.com) Received: from 1cust28.tnt1.richmond.in.da.uu.net ([63.27.103.28] helo=nick) by harrier.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16BLvi-00008g-00; Tue, 04 Dec 2001 12:12:38 -0800 Reply-To: From: "Nick Fankhauser" To: "Jodi Kanter" , "Postgres Admin List" Subject: Re: setting up ODBC Date: Tue, 4 Dec 2001 15:10:10 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <00d401c17ce4$c7ec62b0$de138f80@virginia.edu> X-Archive-Number: 200112/23 X-Sequence-Number: 2747 Jodi- Take a look at the section titled "Configuring Postgresql for JDBC" on this page: http://www.fankhausers.com/postgresql/jdbc/#driver_install Although the instructions are intended for JDBC, I believe the IP connection part is the same. -Nick -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter Sent: Tuesday, December 04, 2001 11:58 AM To: Postgres Admin List Subject: [ADMIN] setting up ODBC I am trying to connect to postgres via ODBC so that I can use Visio. I have installed psqlODBC on my windows 2000 workstation and am trying to get to our postgres database located on a Linux machine. Do I need to enable ODBC on the Linux side? or just configure the driver on my workstation? I have read something about postgres automatically rejecting IP connections. Can anyone advise? Thanks Jodi _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (804) 924-2846 jkanter@virginia.edu From jkanter@virginia.edu Tue Dec 4 20:59:53 2001 Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (8.11.3/8.11.4) with SMTP id fB4Kxrm16398 for ; Tue, 4 Dec 2001 15:59:53 -0500 (EST) (envelope-from jkanter@virginia.edu) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa10534; 4 Dec 2001 15:59 EST Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.9.3/8.9.3) with SMTP id PAA27246 for ; Tue, 4 Dec 2001 15:58:36 -0500 Message-ID: <000c01c17d06$84a9f090$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: setting up ODBC Date: Tue, 4 Dec 2001 15:59:08 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0009_01C17CDC.9B3E1130" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200112/24 X-Sequence-Number: 2748 This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C17CDC.9B3E1130 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks to those that have responded to my issue. I have done all that I thi= nk was recommended: My Windows workstation has the psqlODBC driver I added ODBC extensions to the base catalogs I added the -i switch to my postmaster startup in order to turn on TCPIP co= nnections I modified my pg_hba.conf to make sure that my PC could connect ... I am still getting the following error when trying to connect: ODBC--call failed could not connect to the server could not connect to remote socket #101 any thoughts? thanks Jodi _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (804) 924-2846 jkanter@virginia.edu ------=_NextPart_000_0009_01C17CDC.9B3E1130 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks to those that have responded to my = issue. I=20 have done all that I think was recommended:
 
My Windows workstation has the psqlODBC=20 driver
I added ODBC extensions to the base=20 catalogs
I added the -i switch to my postmaster sta= rtup in=20 order to turn on TCPIP connections
I modified my pg_hba.conf to make sure tha= t my PC=20 could connect
 
... I am still getting the following error= when=20 trying to connect:
ODBC--call failed
could not connect to the server
could not connect to remote socket=20 #101
 
any thoughts?
thanks
Jodi

_______________________________
Jodi= =20 L Kanter
BioInformatics Database Administrator
University of=20 Virginia
(804) 924-2846
jkanter@virginia.edu

------=_NextPart_000_0009_01C17CDC.9B3E1130-- From derek@gnue.org Tue Dec 4 21:27:38 2001 Received: from www.llamacom.com (www.llamacom.com [209.152.94.130]) by postgresql.org (8.11.3/8.11.4) with SMTP id fB4LRcm17730 for ; Tue, 4 Dec 2001 16:27:38 -0500 (EST) (envelope-from derek@gnue.org) Received: (qmail 4608 invoked by uid 542); 4 Dec 2001 21:27:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Dec 2001 21:27:38 -0000 Date: Tue, 4 Dec 2001 15:27:38 -0600 (CST) From: Derek Neighbors X-X-Sender: To: Jodi Kanter cc: Postgres Admin List Subject: Re: setting up ODBC In-Reply-To: <000c01c17d06$84a9f090$de138f80@virginia.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200112/26 X-Sequence-Number: 2750 > ... I am still getting the following error when trying to connect: > ODBC--call failed > could not connect to the server > could not connect to remote socket #101 > > any thoughts? Try psql -h localhost on the server witth postgres. If that fails then you know you have a sockets problem and not an odbc problem. -Derek From jrwren@xmtp.net Tue Dec 4 23:05:16 2001 Received: from pain.xmtp.net (nic-29-c99-131.twmi.rr.com [65.29.99.131]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB4N5Gm25184 for ; Tue, 4 Dec 2001 18:05:16 -0500 (EST) (envelope-from jrwren@xmtp.net) Received: from localhost (jrwren@localhost) by pain.xmtp.net (8.11.3/8.11.3) with ESMTP id fB4N71016167; Tue, 4 Dec 2001 18:07:01 -0500 (EST) Date: Tue, 4 Dec 2001 18:07:00 -0500 (EST) From: Jay Wren To: Derek Neighbors cc: Jodi Kanter , Postgres Admin List Subject: Re: setting up ODBC In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200112/27 X-Sequence-Number: 2751 You can also use netstat to see if it is listening. Postgres usually listens on port 5432 right? so examine netstat -na and see if anything is listening on tcp port 5432. If you are using a recent version of linux, netstat has the -p option that will name the process listening on that port. Otherwise, use lsof to find that. If you find it is listening, make sure the name/password you are using works. Try psql to verify this. -J On Tue, 4 Dec 2001, Derek Neighbors wrote: > > ... I am still getting the following error when trying to connect: > > ODBC--call failed > > could not connect to the server > > could not connect to remote socket #101 > > > > any thoughts? > Try psql -h localhost on the server witth postgres. If that fails > then you know you have a sockets problem and not an odbc problem. > > -Derek > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > From nospam.look@replyto.because.this.is.invalid Wed Dec 5 07:09:06 2001 Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB5796m41578 for ; Wed, 5 Dec 2001 02:09:06 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id fB56e7A96774 for pgsql-admin@postgresql.org; Wed, 5 Dec 2001 01:40:07 -0500 (EST) (envelope-from news) X-Newsgroups: comp.databases.postgresql.admin Subject: Re: setting up ODBC References: <00d401c17ce4$c7ec62b0$de138f80@virginia.edu> Reply-To: "A. Lucien Meyers" X-Accept-Language: de en fr it Organization: Meyers Consulting From: "A. L. Meyers" Date: 05 Dec 2001 07:32:13 +0100 Message-ID: <87elmadvo2.fsf@nomad.consult-meyers.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 77 To: pgsql-admin@postgresql.org X-Archive-Number: 200112/41 X-Sequence-Number: 2765 jkanter@virginia.edu (Jodi Kanter) writes: > This is a multi-part message in MIME format. > > ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0 > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > I am trying to connect to postgres via ODBC so that I can use Visio. I have= > installed psqlODBC on my windows 2000 workstation and am trying to get to = > our postgres database located on a Linux machine. > Do I need to enable ODBC on the Linux side? or just configure the driver on= > my workstation? > I have read something about postgres automatically rejecting IP connections. > Can anyone advise?=20 > Thanks=20 > Jodi=20 > _______________________________ > Jodi L Kanter > BioInformatics Database Administrator > University of Virginia > (804) 924-2846 > jkanter@virginia.edu > > ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0 > Content-Type: text/html; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > > > > >
I am trying to connect to postgres via ODB= > C so that=20 > I can use Visio. I have installed psqlODBC on my windows 2000 workstation a= > nd am=20 > trying to get to our postgres database located on a Linux machine. DIV> >
Do I need to enable ODBC on the Linux side= > ? or just=20 > configure the driver on my workstation?
>
I have read something about postgres autom= > atically=20 > rejecting IP connections.
>
Can anyone advise?
>
Thanks
>
Jodi
>
>
>

style=3D"FONT-FAMILY: Arial; FONT-SIZE: 9pt; mso-bidi-font-size: 12.0pt; ms= > o-fareast-font-family: 'MS Mincho'">_______________________________
Jodi= > =20 > L Kanter
BioInformatics Database Administrator
University of=20 > Virginia
(804) 924-2846
href=3D"mailto:jkanter@virginia.edu">jkanter@virginia.edu style=3D"mso-special-character: line-break"> style=3D"mso-special-character: line-break"> =3D=20 > "urn:schemas-microsoft-com:office:office"=20 > />

> > ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0-- Jodi, you may not have been aware of this to date, but newsgroups much appreciate receiving messages in plain text format. Regards, Lucien -- If you receive this by error, please delete it and inform the sender. http://www.consult-meyers.com recommends e-mail encryption using pgp. To Big Brother Echelon from "spook": security jihad plutonium CIA Albanian Rule Psix supercomputer