IBM Support

DB2 installation fails to create instance and DAS

Troubleshooting


Problem

DB2 installation might fail if the DB2 service userid (it is db2admin by default) does not already exist.

Symptom

The DB2 installation log file contains the following error message.

Action 11:59:07: DB2CustomAction. Creating the DB2 Administration Server
1: ERROR:An error occurred while creating the user "db2admin" for the DB2
Administration Server. The return value is "5150".

1: ERROR:One or more errors occurred while creating the DB2 Administration Server.
The DB2 Administration Server may not function properly. Create the DB2
Administration Server manually. If the problem persists contact your technical
service representative.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Install\/Migrate\/Upgrade - Install\/Setup - Command Line","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.7","Edition":"Enterprise Server;Express;Personal;Personal Developer\u0027s;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

swg21423392