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. SQLSTA

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-11, 06:45
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
SQL1031N The database directory cannot be found on the indicated file system. SQLSTA

hi all i am getting the following error
db2 connect to RPT78GET
SQL1031N The database directory cannot be found on the indicated file system. SQLSTA
NOTE:while using ALIS name (RPT78GEZ)for connecting its there is no issue,connecting succefully.

I found SQL00001 IN /flash/db2/fs1/rpt78get
I did not found any NODE0000 directory in /home/reptdb2t

pls find the attachment , pls let me know

If i have to perform catalog command

which path i hav to consider

wheter flash/db2/fs1/rpt78get or /home/reptdb2t

if i have ti use /home/reptdb2t (have to copy NODE0000 from flash/db2/fs1/rpt78get to /home/reptdb2t)

pls help me out................
Attached Files
File Type: doc output 1.doc (120.0 KB, 37 views)
Reply With Quote
  #2 (permalink)  
Old 04-30-11, 21:53
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
There are no databases under /home/reptdb2t as per your attached file.

Here is an example of how your "local db directory" structure should look like:

<db path>/<instance name>/NODE0000/SQL00001
<db path>/<instance name>/NODE0000/sqldbdir
Reply With Quote
  #3 (permalink)  
Old 05-03-11, 05:59
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
Quote:
Originally Posted by BELLO4KA View Post
There are no databases under /home/reptdb2t as per your attached file.

Here is an example of how your "local db directory" structure should look like:

<db path>/<instance name>/NODE0000/SQL00001
<db path>/<instance name>/NODE0000/sqldbdir

i know tat, but i found in /flash/db2/fs1/rpt78get( i provided db2 list db directory output also)

why it is not founding
Reply With Quote
  #4 (permalink)  
Old 05-04-11, 00:07
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
What's the output from "db2 list db directory on /flash/db2/fs1/rpt78get" ?


Under the local db directory where "I found SQL00001 IN /flash/db2/fs1/rpt78get", look for sqldbdir dir. Inside this sqldbdir dir, there are several files, one of them is sqldbdir. Do "strings sqldbdir" to see its content.
Reply With Quote
  #5 (permalink)  
Old 05-05-11, 05:50
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
Quote:
Originally Posted by BELLO4KA View Post
What's the output from "db2 list db directory on /flash/db2/fs1/rpt78get" ?


Under the local db directory where "I found SQL00001 IN /flash/db2/fs1/rpt78get", look for sqldbdir dir. Inside this sqldbdir dir, there are several files, one of them is sqldbdir. Do "strings sqldbdir" to see its content.

i am already provided in attachment.........................
Reply With Quote
  #6 (permalink)  
Old 05-05-11, 08:11
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Sorry, I didn't realize your attachment had more than one page. Try the following:

catalog db rpt78get on /flash/db2/fs1/rpt78get
list db directory
connect to rpt78get
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