DB2 - Problem description
Problem IT18132 | Status: Closed |
WPLISTENER.SH FAILS TO START WITH : 75: [: -START: UNEXPECTED OPERATOR ERROR | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
While running wplistener.sh to start it on ubuntu 16.04, wire listener fails to start with below error: /home/db2inst1/sqllib/json/bin# ./wplistener.sh -start -mongoPort 27017 -userid db2inst1 -password xxxx -dbName myjsondb -start ./wplistener.sh: 75: [: -start: unexpected operator | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users using IBM DB2 Wire Listener to use DB2 as a JSON * * Store. * **************************************************************** * PROBLEM DESCRIPTION: * * While running wplistener.sh to start it on ubuntu 16.04, * * wire listener fails to start with below error: * * * * root@iltuc11-dev:/home/db2inst1/sqllib/json/bin# * * ./wplistener.sh * * -start -mongoPort 27017 -userid db2inst1 -password xxxx * * -dbName myjsondb * * -start * * ./wplistener.sh: 75: [: -start: unexpected operator * **************************************************************** * RECOMMENDATION: * * upgrade to db2_v105fp9 or later releases. * **************************************************************** | |
Local Fix: | |
Modify wplistener.sh and replace == with = at line #75. | |
Solution | |
db2_v105fp9 contains this fix. After fix, wplister.sh is able to start. | |
Workaround | |
Modify wplistener.sh and replace == with = at line #75. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 28.11.2016 27.09.2017 27.09.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |