cancel
Showing results for 
Search instead for 
Did you mean: 

db2 error logs

former_member201054
Contributor
0 Kudos

Hi,

I need to check the DB2 9.7 for its daily alerts and errors.

Please provide me the files name and location.

Thanks a ton

Accepted Solutions (1)

Accepted Solutions (1)

marc_saulnier
Participant
0 Kudos

Hi, the name of the file is db2diag.log and to know where the file is please execute these commands :

su - db2sid

db2 get dbm cfg | grep DIAGPATH

Hope it's help

former_member201054
Contributor
0 Kudos

Hi,

How to change the location of db2diag.log

steps please

Thanks a ton

marc_saulnier
Participant
0 Kudos

Hi Daniel, there is the procedure under UNIX

Step # 1 : su - db2sid

Step # 2: db2 get dbm cfg | grep DIAG *To get the path to be change

Step # 3 : db2 update dbm cfg using DIAGPATH "Your NEW Path"

STep # 4: db2stop / db2start

For more informations, you can read the link above :

http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=/com.ibm.db2.luw.admin.config.d...

Let me know if they are something else

Regards

Answers (0)