If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL1031N The database directory cannot be found on the indicated file system.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Jun 2009
Posts: 2
SQL1031N The database directory cannot be found on the indicated file system.

Used the following command
Code:
db2 "connec to db user userid using passwd

Getting the following Error:
SQL1031N The database directory cannot be found on the indicated file system.
SQLSTATE=58031

Tried this.
Code:
db2 get dbm cfg | grep DFTDBPATH
gets nothing.

I am a developer not an admin.
What steps i have to take to resolve this issue
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 557
+ contact your DBA
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.7.0.6 os 6.1.0.0
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 557
db2 "? SQL1031N"


SQL1031N The database directory cannot be found on the indicated
file system.

Explanation:

The system database directory or local database directory could
not be found. A database has not been created or it was not
cataloged correctly.

The command cannot be processed.

User Response:

Verify that the database is created with the correct path
specification. The Catalog Database command has a path parameter
which specifies the directory where the database resides.

sqlcode : -1031

sqlstate : 58031
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.7.0.6 os 6.1.0.0
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: Jun 2009
Posts: 2
Quote:
Originally Posted by Cougar8000
db2 "? SQL1031N"


SQL1031N The database directory cannot be found on the indicated
file system.

Explanation:

The system database directory or local database directory could
not be found. A database has not been created or it was not
cataloged correctly.

The command cannot be processed.

User Response:

Verify that the database is created with the correct path
specification. The Catalog Database command has a path parameter
which specifies the directory where the database resides.

sqlcode : -1031

sqlstate : 58031
Thanks you
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On