IBM Support

ISCDC:dmconfigurets returns SQL2018 error during instance creation on DB2 LUW

Troubleshooting


Problem

SQL2018N error when creating an instance on DB2 LUW database.

Symptom


default trace file shows the following error .

14 2012-05-04 15:21:24.778 main{1} com.datamirror.ts.engine.ReplicationExecutive initAndCheckOptionalEnvironment()

A SQL exception has occurred. The SQL error code is '-2018'. The SQL state is: . The error message is: |SQL2018N The utility encountered an error "" while attempting to verify the user's authorization |ID or database authorizations.| com.datamirror.ts.util.EnvironmentUserException A SQL exception has occurred. The SQL error code is '-2018'. The SQL state is: . The error message is: |SQL2018N The utility encountered an error "" while attempting to verify the user's authorization |ID or database authorizations.||

db2diag.log shows following error around the time period when CDC reported SQL2018 error.

2012-05-04-15.16.59.412375-420 I234084A569 LEVEL: Error
PID : 18415630 TID : 7731 PROC : db2sysc 0
INSTANCE: db2irsbm NODE : 000 DB : SBMRD02
APPHDL : 0-12653 APPID: *LOCAL.db2irsbm.120504221707
AUTHID : SVCDCDC
EDUID : 7731 EDUNAME: db2agent (SBMRD02) 0
FUNCTION: DB2 UDB, data protection services, sqlp_AsyncLogReadAPI, probe:30
DATA #1 : String, 122 bytes
Error: sqlcode -2018, rc -2018, hflag2LsnReuse 0
action 3, startLSN 0000 0000 0000, endLSN 0000 0000 0000, logBufferSize 0

[{"Product":{"code":"SSX3HK","label":"InfoSphere Change Data Capture"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.5.2;6.5.1;6.5;6.3.1;6.3","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21594741