Troubleshoot and support > Install > WebSphere Commerce fix pack issues


Troubleshoot: Instance creation fails during database creation

A WCS instance creation fails while creating a database.


Problem

You see the following error in createdb.db2.log:

SQL0104N An unexpected token "db2inst1" was found following "USER". Expected
tokens may include: "USER". SQLSTATE=42601
/opt/WebSphere/CommerceServer70/bin/updateDB2Configuration.sh: line 88: db2set: command not found
/opt/WebSphere/CommerceServer70/bin/updateDB2Configuration.sh: line 89: db2set: command not found


Solution

  1. Delete .bash_profile from the home directory of the non-root user.

  2. Login in the non-root user again.

  3. Reattempt to create the instance.


+

Search Tips   |   Advanced Search