Troubleshooting
Problem
When db2ts text search extender command fails with SQL20427N, and db2diag.log shows the error "Failed to fetch the text search configuration", which can be solved by correcting JDK_PATH.
Symptom
The following error might be seen when issuing db2ts command:
db2ts "START FOR TEXT"
SQL20427N An error occurred during a text search administration
procedure or command. The error message is "CIE0774E Failed to fetch the
text search configuration, see db2diag.log for more information. ".
SQLSTATE=38H14
You will notice the following messages in db2diag.log :
012-11-08-15.13.34.541075+000 I4379A407 LEVEL: Severe
PID : 938114 TID : 1 PROC : db2ts
INSTANCE: db2inst1 NODE : 000
EDUID : 1
FUNCTION: DB2 UDB, trace services, sqlt_logerr_string (secondary logging fu, probe:0
MESSAGE : Message
DATA #1 : String, 94 bytes
CIE0774E Failed to fetch the text search configuration, see db2diag.log
for more information.
2012-11-08-15.13.34.541245+000 I4787A299 LEVEL: Severe
PID : 938114 TID : 1 PROC : db2ts
INSTANCE: db2inst1 NODE : 000
EDUID : 1
MESSAGE : CIE reason
DATA #1 : Hexdump, 4 bytes
0x0FFFFFFFFFFF4C00 : 0000 0306 ....
2012-11-08-15.13.34.541337+000 I5087A407 LEVEL: Severe
PID : 938114 TID : 1 PROC : db2ts
INSTANCE: db2inst1 NODE : 000
EDUID : 1
FUNCTION: DB2 UDB, trace services, sqlt_logerr_string (secondary logging fu, probe:0
MESSAGE : Message
DATA #1 : String, 94 bytes
CIE0774E Failed to fetch the text search configuration, see db2diag.log
for more information.
When starting the Text Search server with startup.sh script, you will notice the following error that java was not found:
/startup.sh
WARNING: The number of files per process value was not set to unlimited
or to 65536 as required. The startup script changed this value to 65536.
./startup.sh[110]: ./../../java/jdk64/jre/bin/java: not found.
Cause
The reason for this error is due to the wrong java development kit installation path
Resolving The Problem
- For the example above, the following was the database manager configuration for JDK_PATH:
db2inst1> db2 get dbm cfg |grep -i jdk
Java Development Kit installation path (JDK_PATH) = /db2/inst1/sqllib/java/jdk64
- Once verified of the new JDK_PATH, update the dbm cfg. For example:
db2inst1> db2 update dbm cfg using JDK_PATH /db2/db2inst1/sqllib/java/jdk64
- After that, the startup.sh script will not report the same error about java missing:
/startup.sh
WARNING: The number of files per process value was not set to unlimited
or to 65536 as required. The startup script changed this value to 65536.
IQQG0159I The server started successfully for administration and search
on HTTP port 55000.
- The "db2ts START FOR TEXT" command will be successful.
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21618691