IBM Support

Received an SQL1031N when trying to connect to a DB2 database.

Question & Answer


Question

Received an SQL1031N when trying to connect to a DB2 database. The local database directory filesystem was not mounted.

Answer

Symptom/Question:

Received an SQL1031N when trying to connect to a DB2 database. SQL1031N The database directory cannot be found.

Cause/Answer:

The local database directory filesystem was not mounted. Check both $HOME/sqllib/sqldbdir, <dbdir>/<nodedir>/sqldbdir.


Action/Further Explanation:

Ensure that you mount the filesystem properly. Mounting instructions can be found in the DB2 Information Center as well as in your operating system documentation.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Connectivity - DRDA","Platform":[{"code":"PF002","label":"AIX"}],"Version":"7;6","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21054293