Troubleshooting
Problem
I have configured DB2 COMM_EXIT_LIST to use IBM InfoSphere Guardium libguard. After restarting the DB2 server, I get the following error in the DB2 diag log: 2013-06-28-11.41.12.306169-300 E870950E486 LEVEL: Severe PID : 15764 TID : 139905833363200 PROC : db2sysc 0 INSTANCE: db2001 NODE : 000 APPHDL : 0-16 HOSTNAME: dbhost1 EDUID : 54 EDUNAME: db2agent () 0 FUNCTION: DB2 UDB, DRDA Communication Manager, sqljcCommexitLogMessage, probe:234 DATA #1 : String with size, 91 bytes WARNING: Shmem_access /.guard_writer0 failed Error opening shared memory area errno=2 err=8
Resolving The Problem
The message "Shmem_access /.guard_writer0 failed Error opening shared
indicates that the Guardium library was unable to create the shared memory device that it requires. The db2 instance owner must be added as an authorized user using the
memory area errno=2 err=8"guardctl
command.
- Stop the DB2 instance
- Authorize the DB2 instance owner using the command below
- Start the DB2 instance
Authorizing the DB2 instance owner
If GIM is not installed:
<guardium_installdir>/bin/guardctl authorize-user <db2 instance owner>
if GIM is installed
<guardium_installdir>/modules/ATAP/current/files/bin/guardctl authorize-user <db2 instance owner>
For example, if DB2 instance owner is db2001 and GIM is installed in /usr/local/guardium
, the command is:
/usr/local/gim/modules/ATAP/current/files/bin/guardctl authorize-user db2001
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21642950