IBM Support

DBI1088E error when attempting to create DB2 instance

Troubleshooting


Problem

Attempts to create a DB2 instance via the 'db2icrt' command fail due to the following error: DBI1088E Invalid access permission detected for directory .

Cause

The DBI1088E error suggests a permissions problem and, as described in technote #1397962, this error may occur as the result of an underlying permissions problem. However, this error may also be seen if the ulimit for the number of open files (nofile) is set too large for the DB2 instance owner.

Diagnosing The Problem

This problem behavior has been seen with a nofile ulimit value larger than 1048576. If the failure is occurring due to the nofile user limit value being set too large, then an attempt to su to the DB2 instance owner will also fail:



    # su - tsminst1 -c /bin/pwd
    could not open session

Resolving The Problem

Perform the following actions to allow for the successful creation of the DB2 instance:

    1. Temporarily decrease the nofile ulimit value for the DB2 instance owner in the /etc/security/limits.conf file; the value will need to be less than 1048577
    2. Re-issue the 'db2icrt' command to create the DB2 instance
    3. Increase the nofile ulimit value for the DB2 instance owner in the /etc/security/limits.conf file back to it's original value

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21958057