DB2 database error during CLM 6.0.4 setup
Hi
Please help with DB2 database errors during JTS custom setup:
CLM 6.0.4 - installed on Red Hat Enterprise Linux Server release 7.4
Database - DB2 V11.1 installed on Red Hat Enterprise Linux Server release 7.4
I created DB2 databases for JTS, DW, CCM, QM and RM using the steps in CLM interactive installation guide.
In JTS setup I completed all the steps for JTS and CCM applications. In QM application I got error at test connection to database:
The server was unable to connect to the database because the database connection settings are invalid or because database is unreachable (SQLSTATE: null, SQLCODE: -4228). Verify the connection settings in your teamserver.properties file. See the Jazz Team Server log for more information.
qm.log file contains errors:
[ qm: Database creation] WARN repository.service.internal.rdb.JDBCConnectionPool - SQLException during cleanup of transaction.
com.ibm.db2.jcc.am.SqlNonTransientConnectionException: [jcc][t4][10335][10366][4.21.29] Invalid operation: Connection is closed. ERRORCODE=-4470, SQLSTATE=08003
at com.ibm.db2.jcc.am.kd.a(kd.java:800)
at com.ibm.db2.jcc.am.kd.a(kd.java:66)
at com.ibm.db2.jcc.am.kd.a(kd.java:133)
at com.ibm.db2.jcc.am.Connection.checkForClosedConnection(Connection.java:6099)
at com.ibm.db2.jcc.am.Connection.getAutoCommit(Connection.java:1191)
at com.ibm.team.repository.service.internal.db.jdbcwrappers.stat.ConnectionStatWrapper.getAutoCommit(ConnectionStatWrapper.java:185)
at com.ibm.team.repository.service.internal.db.jdbcwrappers.errlog.ConnectionErrLogWrapper.getAutoCommit(ConnectionErrLogWrapper.java:135)
On database server I tried to connect to database in command line. I got error intermittently Some times connection is successful.
[db2inst1@bdevtlvqua201 bin]$ ./db2 connect to QM
SQL1225N The request failed because an operating system process, thread, or
swap space limit was reached. SQLSTATE=57049
[db2inst1@bdevtlvqua201 bin]$ ./db2 connect to JTS
SQL1225N The request failed because an operating system process, thread, or
swap space limit was reached. SQLSTATE=57049
[db2inst1@bdevtlvqua201 bin]$ ./db2 connect to DW
SQL10003C There are not enough system resources to process the request.
The request cannot be processed. SQLSTATE=57011
[db2inst1@bdevtlvqua201 bin]$ ./db2 connect to RM
SQL10003C There are not enough system resources to process the request.
The request cannot be processed. SQLSTATE=57011
|
3 answers
Hi Narayaran,
|
Thanks for your help Kenji and Anthony. I had created a PMR with Rational support. It was transferred to DB2 support. DB2 support asked me to run db2support command and upload zip file. They looked into it and found below entries in DB2 administration notification log db2diag.log:
2017-10-25-12.31.45.711855-360 E2071364E481 LEVEL: Severe
PID : 2703 TID : 140134771058432 PROC : db2sysc 0
INSTANCE: db2inst1 NODE : 000
HOSTNAME: bdevtlvqua201
FUNCTION: DB2 UDB, oper system services, sqloEDUEntry, probe:10
CALLED : DB2 UDB, oper system services, sqloGetShrEDUWaitElem
RETCODE : ZRC=0x850F0081=-2062614399=SQLO_SSEM_EXCEED_MAX
"Requesting too many semaphores"
DIA8336C Requested too many semaphores.
Issue had to be fixed by adding Linux kenel parameters. They DB2 knowledge center with sent kernel parameters:
I requested Linux admin to add / modify Linux kernel parameters. After modifying the parameters admin rebooted VM. Then I was able to connect to databases successfully. I resumed JTS set up where it was left off. Successfully connected to databases for data warehouse, QM and RM. Create Tables was successful and finalized the applications. Then JTS set up completed successfully.
Comments
Anthony Corrente
commented Oct 26 '17, 6:53 p.m.
Good job Narayanan.
|
Hi Narayaran,
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.