pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Communication error during authentication 2+ messages / 2 participants [nested] [flat]
* Communication error during authentication @ 2008-02-04 11:46 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 1 reply; 2+ messages in thread From: Peter Eisentraut @ 2008-02-04 11:46 UTC (permalink / raw) To: pgsql-odbc I am attempting to upgrade from 08.01.0200 to 08.03.0100. I have attached my odbcinst.ini and .odbc.ini. Connecting from psql and the old ODBC driver works fine, but the new one gives me "Communication error during authentication" with the identical configuration and build options. The driver log is attached. How can I debug this? -- Peter Eisentraut http://developer.postgresql.org/~petere/ Attachments:odbcinst.ini (text/plain, 420B) download
[PostgreSQL ANSI] Description = PostgreSQL ODBC driver (ANSI version) Driver = /usr/lib/odbc/psqlodbca.so Setup = /usr/lib/odbc/libodbcpsqlS.so Debug = 0 CommLog = 1 [PostgreSQL Unicode] Description = PostgreSQL ODBC driver (Unicode version) Driver = /usr/lib/odbc/psqlodbcw.so Setup = /usr/lib/odbc/libodbcpsqlS.so Debug = 0 CommLog = 1.odbc.ini (text/plain, 432B) download
[PostgreSQL test] Description = PostgreSQL Driver = PostgreSQL ANSI Trace = No TraceFile = /tmp/psqlodbc.log Database = template1 Servername = localhost UserName = Password = Port = ReadOnly = Yes RowVersioning = No ShowSystemTables = No ShowOidColumn = No FakeOidIndex = No ConnSettings =^ permalink raw reply [nested|flat] 2+ messages in threadpsqlodbc_pei27644.log (text/x-log, 1.9K) download
DSN info: DSN='PostgreSQL test',server='localhost',port='',dbase='template1',user='',passwd='xxxxx' onlyread='Yes',protocol='',showoid='No',fakeoidindex='No',showsystable='No' conn_settings='',conn_encoding='(null)' translation_dll='',translation_option='' conn = 0x81414c8, PGAPI_Connect(DSN='PostgreSQL test', UID='pei', PWD='xxxxx') Driver Version='08.03.0100,200801220001' Global Options: fetch=100, socket=4096, unknown_sizes=0, max_varchar_size=255, max_longvarchar_size=8190 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='' CONN ERROR: func=original_CC_connect, desc='', errnum=210, errmsg='Communication error during authentication' ------------------------------------------------------------ henv=0x81413d0, conn=0x81414c8, status=0, num_stmts=16 sock=0x813e568, stmts=0x81413f8, lobj_type=-999 ---------------- Socket Info ------------------------------- socket=10, reverse=0, errornumber=5, errormsg='Error while reading from the socket.' buffer_in=135524512, buffer_out=135528616 buffer_filled_in=0, buffer_filled_out=0, buffer_read_in=0 CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=210, errmsg='Communication error during authentication' ------------------------------------------------------------ henv=0x81413d0, conn=0x81414c8, status=0, num_stmts=16 sock=0x813e568, stmts=0x81413f8, lobj_type=-999 ---------------- Socket Info ------------------------------- socket=10, reverse=0, errornumber=5, errormsg='Error while reading from the socket.' buffer_in=135524512, buffer_out=135528616 buffer_filled_in=0, buffer_filled_out=0, buffer_read_in=0
* Re: Communication error during authentication @ 2008-02-04 12:42 Hiroshi Saito <z-saito@guitar.ocn.ne.jp> parent: Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 2+ messages in thread From: Hiroshi Saito @ 2008-02-04 12:42 UTC (permalink / raw) To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-odbc Hi Peter-san. Um , it is strange?_? My test as below. inet% iodbctest DSN=PostgreSQLA iODBC Demonstration program This program shows an interactive SQL processor Driver Manager: 03.52.0406.0126 Driver: 08.03.0100 (psqlodbca.so) SQL>SELECT usename FROM pg_user; usename ---------------------------------------------------------------- saito result set 1 returned 1 rows. SQL> -- odbc.ini -- [PostgreSQLA] Driver = /usr/home/saito/PSQLODBC/psqlodbc/.libs/psqlodbca.so FetchBufferSize = 99 Description = PostgreSQL ODBC driver Host = localhost UserName = saito Password = Database = saito SSLmode = prefer #SSLmode = disable ServerOptions = ConnectOptions = Options = ReadOnly = no RowVersioning = no ShowSystemTables= no ShowOidColumn = no FakeOidIndex = no Debug = 1 ..probably, mylog may be helpful. Regards, Hiroshi Saito ----- Original Message ----- From: "Peter Eisentraut" <peter_e@gmx.net> To: <pgsql-odbc@postgresql.org> Sent: Monday, February 04, 2008 8:46 PM Subject: [ODBC] Communication error during authentication >I am attempting to upgrade from 08.01.0200 to 08.03.0100. I have attached my > odbcinst.ini and .odbc.ini. Connecting from psql and the old ODBC driver > works fine, but the new one gives me "Communication error during > authentication" with the identical configuration and build options. The > driver log is attached. How can I debug this? > > -- > Peter Eisentraut > http://developer.postgresql.org/~petere/ > -------------------------------------------------------------------------------- > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2008-02-04 12:42 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2008-02-04 11:46 Communication error during authentication Peter Eisentraut <peter_e@gmx.net> 2008-02-04 12:42 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox