How to configure a loopback connection with Db2 on AIX
By default, AIX does not allow 32-bit applications to attach to more than 11 shared memory segments per process, of which a maximum of 10 can be used for local Db2 connections.
The following steps outline how to configure DB2 to use a loopback connection:
Copy to Clipboard
This technique can help to fix problems with SQLCODE -1224 on an SQL CONNECT.
An alternative is to specify AIX environment variable EXTSHM to increase the maximum number of shared memory segments to which a process can attach.
Links to IBM Db2 documentation
editor's pick
- Announcement
- archive
- BMC Mainview
- book
- cloud
- conference
- CSV
- database size
- DB2 1.1
- Db2 13 z/OS
- Db2 LUW
- db2 z/OS
- DB2_FEDERATION_OVERRIDES
- db2greg
- db2profile
- db2set
- db2top
- development
- federated server
- federation
- Fix Pack
- free of charge
- GSE
- GTF
- IBM
- IDUG
- IFCID
- instance-wide
- Java
- LOAD
- lockwait
- loopback
- Mainview
- monitoring
- node
- reference summary
- RSS feed
- sample
- SMF
- SQL
- SQL01224N
- Strobe
- trace
tags
Announcement
archive
BMC Mainview
book
cloud
conference
CSV
database size
DB2 1.1
Db2 13 z/OS
Db2 LUW
db2 z/OS
db2greg
db2profile
db2set
db2top
DB2_FEDERATION_OVERRIDES
development
federated server
federation
Fix Pack
free of charge
GSE
GTF
IBM
IDUG
IFCID
instance-wide
Java
LOAD
lockwait
loopback
Mainview
monitoring
node
reference summary
RSS feed
sample
SMF
SQL
SQL01224N
Strobe
trace