Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Access Problem

Status
Not open for further replies.

charles2006

Programmer
Nov 7, 2005
3
CA
I am new to DB2.
I installed DB2 Runtime client
Then I run Catalog TCPIP NODE command which tell me the command completed successfully
Next I try to connect to the database, I got error:
SQLSTATE=58031, The database directory cannot be found on the indicated file system.

Thanks in advance

Charles
 
you have to catalog the database:

>db2 catalog tcpip node (which you did)
>db2 catalog db xxx at node yyy (which is missing)

or use the Configuration Assistant GUI (db2ca)

Juliane
 
Hi Juliane
After I run the catalg command, it tell me Directory changes may not be dffective until the directory cache is refreshed. what am I going to do for that?

thanks
 
well, usually it is there in the same session.
To terminate and clean a session:
> db2 terminate

it will automatically refresh with the next db2 connect command.



Juliane
 
Hi Juliane

Thanks for your help
I run the catalog db command then I run Terminate command
It works now
:)

Cheers

Charles
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top