IBM Support

DB2 Installation Failed on Unix/Linux Platforms by GUI db2setup

Technote (troubleshooting)


This section will help the user to create the toolsdb database using db2setup without any error.


ERROR: An error occurred while running the command "/home/db2inst1/sqllib/bin/db2 CREATE TOOLS CATALOG SYSTOOLS USE EXISTING DATABASE TOOLSDB FORCE" to initialize and/or migrate the DB2 tools catalog database. The return value is "4".


The above error occurred due to DAS process running on the machine.


All Unix/Linux platforms including all versions Ex: V9.1, V9.5, V9.7

Diagnosing the problem

This error occurs mainly due to the old DAS (DB2 Administration Server) process running on the machine.

Resolving the problem

Check for the DAS process using ps command shown below:

ps –ef | grep –i rrm
ps –ef | grep –i stm

To kill the process use the following command:

kill -9 <process id>

Run the db2setup again.

Document information

More support for: DB2 for Linux, UNIX and Windows
Install/Migrate/Upgrade - Install/Setup - GUI

Software version: 8, 9.1, 9.5, 9.7

Operating system(s): AIX, HP-UX, Linux, Solaris

Software edition: Enterprise Server, Express, Personal, Workgroup Server

Reference #: 1443904

Modified date: 17 August 2013

Translate this page: