IBM Support

How to check the IP address for a failed connection attempt on db2diag.log

Troubleshooting


Problem

How to identify the source IP address from a failed connection attempt on db2diag.log file?

Symptom

As on the example below, the following warning messages are seen on db2diag.log file:



    2014-07-24-13.41.06.037306-240 I2990722A441       LEVEL: Warning
    PID     : 15466640             TID  : 7298        PROC : db2sysc 0
    INSTANCE: db2inst1             NODE : 000         DB   : SAMPLE
    APPHDL  : 0-9955
    EDUID   : 7298                 EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, bsu security, sqlexLogPluginMessage, probe:20
    DATA #1 : String with size, 66 bytes
    Password validation for user test failed with rc = -2146500507
     
    2014-07-24-13.41.06.037498-240 I2991164A435       LEVEL: Warning
    PID     : 15466640             TID  : 7298        PROC : db2sysc 0
    INSTANCE: db2inst1             NODE : 000         DB   : SAMPLE
    APPHDL  : 0-9955
    EDUID   : 7298                 EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, bsu security, sqlexSlsSystemAuthenticate, probe:150
    MESSAGE : application id:
    DATA #1 : String with size, 26 bytes
    0A552942.EE66.140724174107

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"DB2 Tools - Troubleshooting","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.8;9.7;9.5;10.1;10.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

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:
30 April 2025

UID

swg21680713