How to define port number with DB2 ODBC driver?



Hi,

I'm using DB2 8.2 on Linux and have downloaded and installed the DB2 ODBC
driver which is installed under unxiODBC. I have defined a data source to
connect to the local db2 but when I try to connect I get:

[08004][unixODBC][IBM][iSeries Access ODBC Driver]Communication link failure.
comm rc=10061 - CWBCO1049 - The iSeries server application is not started

When I strace this is shows a connect to port 8471 but I believe my server is
listening on port 50000. From the /etc/services file:

db2c_db2inst1 50000/tcp

A netstat also shows listen on 50000. How do you tell the DB2 ODBC driver or
client libraries to use port 50000?

Martin

--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com

.



Relevant Pages

  • Re: How to define port number with DB2 ODBC driver?
    ... I'm using DB2 8.2 on Linux and have downloaded and installed the DB2 ODBC ... driver which is installed under unxiODBC. ... When I strace this is shows a connect to port 8471 but I believe my server is ... listening on port 50000. ...
    (perl.dbi.users)
  • Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
    ... Listening is fine but what are you going to do after you have listened? ... Right, not use port 0x80 but since that's the current idea anyway outside of legacy drivers, you don't actually need to listen. ... Define a "motherboard resources" driver that claims all the resources defined for PNP0C02 devices during the pnp process. ... The iodelay driver would set up the iodelay mechanism to do something other than the "boot time" default - which could be no delay, ...
    (Linux-Kernel)