From Josef.Springer@joops.com Thu Sep 21 13:24:40 2006 X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 80B7C9FB20C for ; Thu, 21 Sep 2006 10:24:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 96247-06 for ; Thu, 21 Sep 2006 10:24:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from vserver0202.onit4u.de (ns.redaex.de [213.133.112.5]) by postgresql.org (Postfix) with ESMTP id 1D5579FA4D0 for ; Thu, 21 Sep 2006 10:24:26 -0300 (ADT) Received: from joops.com (dslb-084-057-058-079.pools.arcor-ip.net [84.57.58.79]) by vserver0202.onit4u.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id k8LDP4r07133 for ; Thu, 21 Sep 2006 15:25:05 +0200 Message-ID: <45129202.3070600@joops.com> Date: Thu, 21 Sep 2006 15:22:10 +0200 From: Josef Springer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, de-de MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Problem to connect to the server Content-Type: multipart/alternative; boundary="------------060606090702020407050909" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.163 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_30_40, HTML_MESSAGE, SPF_SOFTFAIL X-Spam-Level: * X-Archive-Number: 200609/84 X-Sequence-Number: 8235 --------------060606090702020407050909 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi folks, we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 / 31.1.2006. My application can connect on the localhost but not to a remote server. I have switched on the ODBC logging, but i cannot found why ? The logfiles: psqlodbc.780.log DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' conn = 70792624, PGAPI_Connect(DSN='PostgreSQL', UID='OfficeTalk', PWD='xxxxx') Global Options: Version='08.01.0100', fetch=100, socket=0, unknown_sizes=254, max_varchar_size=8190, max_longvarchar_size=70792752 disable_optimizer=1, ksqo=1, unique_index=1, use_declarefetch=0 text_as_longvarchar=1, unknowns_as_longvarchar=0, bools_as_char=1 NAMEDATALEN=64 extra_systable_prefixes='dd_;', conn_settings='' conn_encoding='OTHER' CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=201, errmsg='Missing server name, port, or database name in call to CC_connect.' ------------------------------------------------------------ henv=70792568, conn=70792624, status=0, num_stmts=16 ====================================================================== psqlodbc.1148.log DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' DSN info: DSN='PostgreSQL',server='SEIFERT',port='5432',dbase='OfficeTalk',user='postgres',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' Josef --------------060606090702020407050909 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi folks,

we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 / 31.1.2006.

My application can connect on the localhost but not to a remote server. I have switched on the ODBC logging, but i cannot found why ?

The logfiles:
psqlodbc.780.log
DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
          onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
          conn_settings='',conn_encoding='OTHER'
          translation_dll='',translation_option=''
conn = 70792624, PGAPI_Connect(DSN='PostgreSQL', UID='OfficeTalk', PWD='xxxxx')
Global Options: Version='08.01.0100', fetch=100, socket=0, unknown_sizes=254, max_varchar_size=8190, max_longvarchar_size=70792752
                disable_optimizer=1, ksqo=1, unique_index=1, use_declarefetch=0
                text_as_longvarchar=1, unknowns_as_longvarchar=0, bools_as_char=1 NAMEDATALEN=64
                extra_systable_prefixes='dd_;', conn_settings='' conn_encoding='OTHER'
CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=201, errmsg='Missing server name, port, or database name in call to CC_connect.'
            ------------------------------------------------------------
            henv=70792568, conn=70792624, status=0, num_stmts=16

======================================================================
psqlodbc.1148.log
DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
          onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
          conn_settings='',conn_encoding='OTHER'
          translation_dll='',translation_option=''
DSN info: DSN='PostgreSQL',server='SEIFERT',port='5432',dbase='OfficeTalk',user='postgres',passwd='xxxxx'
          onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
          conn_settings='',conn_encoding='OTHER'
          translation_dll='',translation_option=''

Josef 
--------------060606090702020407050909-- From greg.campbell@us.michelin.com Thu Sep 21 17:39:01 2006 X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 99A399FB2F4 for ; Thu, 21 Sep 2006 14:39:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 25881-10 for ; Thu, 21 Sep 2006 14:38:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from gk-us2.us.michelin.com (gk-us2.michelin.com [156.65.14.19]) by postgresql.org (Postfix) with ESMTP id E2CF89FB2D9 for ; Thu, 21 Sep 2006 14:38:52 -0300 (ADT) Received: from oncpfxp3-out.onc.michelin.com (unverified [10.21.4.30]) by gk-us2.us.michelin.com (Clearswift SMTPRS 5.1.7) with ESMTP id ; Thu, 21 Sep 2006 13:37:49 -0400 Received: from oncns021.onc.michelin.com (oncns021.onc.michelin.com [10.21.2.76]) by oncpfxp3-out.onc.michelin.com (Postfix) with ESMTP id DA877316B4; Thu, 21 Sep 2006 09:52:09 -0400 (EDT) In-Reply-To: <45129202.3070600@joops.com> Subject: Re: Problem to connect to the server To: Josef Springer Cc: pgsql-odbc@postgresql.org X-Mailer: Lotus Notes 652HF1161 February 03, 2006 Message-ID: From: greg.campbell@us.michelin.com Date: Thu, 21 Sep 2006 09:50:27 -0400 X-MIMETrack: Serialize by Router on ONCNS021/MICHELIN(Release 6.5.5|November 30, 2005) at 09/21/2006 09:52:09 MIME-Version: 1.0 Content-type: multipart/related; Boundary="0__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.193 tagged_above=0 required=5 tests=AWL, HTML_50_60, HTML_MESSAGE, NO_REAL_NAME X-Spam-Level: * X-Archive-Number: 200609/86 X-Sequence-Number: 8237 --0__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A Content-type: multipart/alternative; Boundary="1__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A" --1__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: quoted-printable I it looks like you are using a DSN to connect, and it look like your DSN does not have a specified server or database in the first log (psqlodbc.780.log) DSN info: DSN=3D'PostgreSQL',server=3D'',port=3D'5432',dbase=3D'',user=3D'',passwd=3D= 'xxxxx' therefore errmsg=3D'Missing server name, port, or database name in call to CC_connect= .' . This seems a little obvious, so am I missing some facts? Greg Campbell ENG-ASE/Michelin US5 Lexington, South Carolina 803-951-5561, x75561 Fax: 803-951-5531 greg.campbell@us.michelin.com = =20 Josef Springer = =20 To= =20 Sent by: pgsql-odbc@postgresql.org = =20 pgsql-odbc-owner@ cc= =20 postgresql.org = =20 Subject= =20 [ODBC] Problem to connect to the = =20 09/21/2006 09:22 server = =20 = =20 = =20 = =20 = =20 = =20 = =20 Hi folks, we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 / 31.1.2006. My application can connect on the localhost but not to a remote server. I have switched on the ODBC logging, but i cannot found why ? The logfiles: psqlodbc.780.log DSN info: DSN=3D'PostgreSQL',server=3D'',port=3D'5432',dbase=3D'',user=3D'',passwd=3D= 'xxxxx' onlyread=3D'0',protocol=3D'6.4',showoid=3D'0',fakeoidindex=3D'0',showsystab= le=3D'0' conn_settings=3D'',conn_encoding=3D'OTHER' translation_dll=3D'',translation_option=3D'' conn =3D 70792624, PGAPI_Connect(DSN=3D'PostgreSQL', UID=3D'OfficeTalk', PWD=3D'xxxxx') Global Options: Version=3D'08.01.0100', fetch=3D100, socket=3D0, unknown_sizes=3D254, max_varchar_size=3D8190, max_longvarchar_size=3D707927= 52 disable_optimizer=3D1, ksqo=3D1, unique_index=3D1, use_declarefetch=3D0 text_as_longvarchar=3D1, unknowns_as_longvarchar=3D0, bools_as_char=3D1 NAMEDATALEN=3D64 extra_systable_prefixes=3D'dd_;', conn_settings=3D'' conn_encoding=3D'OTHER' CONN ERROR: func=3DPGAPI_Connect, desc=3D'Error on CC_connect', errnum=3D20= 1, errmsg=3D'Missing server name, port, or database name in call to CC_connect= .' ------------------------------------------------------------ henv=3D70792568, conn=3D70792624, status=3D0, num_stmts=3D16 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D psqlodbc.1148.log DSN info: DSN=3D'PostgreSQL',server=3D'',port=3D'5432',dbase=3D'',user=3D'',passwd=3D= 'xxxxx' onlyread=3D'0',protocol=3D'6.4',showoid=3D'0',fakeoidindex=3D'0',showsystab= le=3D'0' conn_settings=3D'',conn_encoding=3D'OTHER' translation_dll=3D'',translation_option=3D'' DSN info: DSN=3D'PostgreSQL',server=3D'SEIFERT',port=3D'5432',dbase=3D'OfficeTalk',us= er=3D'postgres',passwd=3D'xxxxx' onlyread=3D'0',protocol=3D'6.4',showoid=3D'0',fakeoidindex=3D'0',showsystab= le=3D'0' conn_settings=3D'',conn_encoding=3D'OTHER' translation_dll=3D'',translation_option=3D'' Josef --1__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A Content-type: text/html; charset=US-ASCII Content-Disposition: inline Content-transfer-encoding: quoted-printable

I it looks like you are using a DSN to connect, and it look like your DS= N does not have a specified server or database in the first log (psqlodbc.7= 80.log)
DSN info: DSN=3D'PostgreSQL',server=3D'',port=3D'5432',dba= se=3D'',user=3D'',passwd=3D'xxxxx'
therefore
errmsg=3D'Missing server name, port, or database name in c= all to CC_connect.'.

This seems a little obvious, so am I missing some facts?


Greg Campbell ENG-ASE/Michelin US5
Lexington, South Carolina
803-951-5561, x75561
Fax: 803-951-5531
greg.campbell@us.michelin.com

3D"InactiveJosef Springer <Josef.Springer@joops.com>


          Josef Springer <Josef.Springer@joops.com>
          Sent by: pgsql-odbc-owner@postgresql.org

          09/21/2006 09:22

3D""<= br>
To
3D""
pgsql-odbc@postgresql.org
3D""<= br>
cc
3D""
3D""<= br>
Subject
3D""
[ODBC] Problem to connect to the server
3D""3D""

Hi folks,

we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 / 31.1.200= 6.

My application can connect on the
localhost but not to a remote server. I have switched on the = ODBC logging, but i cannot found why ?

The logfiles:

psqlodbc.780.log

DSN info: DSN=3D'PostgreSQL',server=3D'',port=3D'5432',dbase=3D'',user=3D''= ,passwd=3D'xxxxx'
onlyread=3D'0',protocol=3D'6.4',showoid=3D'0',fakeoidindex=3D'0',= showsystable=3D'0'
conn_settings=3D'',conn_encoding=3D'OTHER'
translation_dll=3D'',translation_option=3D''
conn =3D 70792624, PGAPI_Connect(DSN=3D'PostgreSQL', UID=3D'OfficeTalk', PW= D=3D'xxxxx')
Global Options: Version=3D'08.01.0100', fetch=3D100, socket=3D0, unknown_si= zes=3D254, max_varchar_size=3D8190, max_longvarchar_size=3D70792752
disable_optimizer=3D1, ksqo=3D1, unique_index=3D1, use_decl= arefetch=3D0
text_as_longvarchar=3D1, unknowns_as_longvarchar=3D0, bools= _as_char=3D1 NAMEDATALEN=3D64
extra_systable_prefixes=3D'dd_;', conn_settings=3D'' conn_e= ncoding=3D'OTHER'
CONN ERROR: func=3DPGAPI_Connect, desc=3D'Error on CC_connect', errnum=3D20= 1, errmsg=3D'Missing server name, port, or database name in call to CC_conn= ect.'
------------------------------------------------------------
henv=3D70792568, conn=3D70792624, status=3D0, num_stmts=3D16

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

psqlodbc.1148.log

DSN info: DSN=3D'PostgreSQL',server=3D'',port=3D'5432',dbase=3D'',user=3D''= ,passwd=3D'xxxxx'
onlyread=3D'0',protocol=3D'6.4',showoid=3D'0',fakeoidindex=3D'0',= showsystable=3D'0'
conn_settings=3D'',conn_encoding=3D'OTHER'
translation_dll=3D'',translation_option=3D''
DSN info: DSN=3D'PostgreSQL',server=3D'SEIFERT',port=3D'5432',dbase=3D'Offi= ceTalk',user=3D'postgres',passwd=3D'xxxxx'
onlyread=3D'0',protocol=3D'6.4',showoid=3D'0',fakeoidindex=3D'0',= showsystable=3D'0'
conn_settings=3D'',conn_encoding=3D'OTHER'
translation_dll=3D'',translation_option=3D''

Josef
--1__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A-- --0__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: <10__=0ABBFB63DFD8144A8f9e8a93df9@michelin.com> Content-transfer-encoding: base64 R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7 --0__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A Content-type: image/gif; name="pic07965.gif" Content-Disposition: inline; filename="pic07965.gif" Content-ID: <20__=0ABBFB63DFD8144A8f9e8a93df9@michelin.com> Content-transfer-encoding: base64 R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIuezf///wAAAAAAAAAA AAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCfHhOjAuh EDeUqTASLCbBhQrhG7xis2j0lssNDopE4jfIJhDaggI8YB1sZeZgLVA9YVCpnGagVjV171aRVrYR RghXcAGFhoUETwYxcXNyADJ3GlcSKGAwLwllVC1vjIUHBWsFilKQdI8GA5IcpApeJQt8L09lmgkH LZikoU5wjqcyAMMFrJIDPAKvCFletKSev1HBw8KrxtjZ2tvc3d5VyKtCKW3jfz4uMKmq3xu4N0nK BVoJQmx2LGVOmrqNjjJf2hHAQo/eDwJGTKhQMcgQEEAnEjFS98+RnW3smGkZU6ncCWav/4wYOnAI TihRL/4FEwbp28BXMMcoscQCVxlepL4IGDSCyJyVQOu0o7CjmLN50OZlqWmyFy5/6yBBuji0AxFR M00oQAqNIstqI6qKHUsWRAEAvagsmfUEAImyxgbmUpJk3IklNUtJOUAV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FP8qEwAayIgIA Ow== --0__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A Content-type: image/gif; name="ecblank.gif" Content-Disposition: inline; filename="ecblank.gif" Content-ID: <30__=0ABBFB63DFD8144A8f9e8a93df9@michelin.com> Content-transfer-encoding: base64 R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7 --0__=0ABBFB63DFD8144A8f9e8a93df938690918c0ABBFB63DFD8144A--