Troubleshooting: Instance creation fails during database creation
A WebSphere Commerce 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
- Delete .bash_profile from the home directory of the non-root user.
- Login in the non-root user again.
- Reattempt to create the instance.
