Hello everyone,
I have two machine, one for server(Win server 2003) and one for client(Win XP).Both of them use DB2 version 8.
The first time I created new instance and database, I could connect to database server. I did following steps:
(on server, the user name is same with instance name)
>db2icrt panda
>db2 update database manager configuration using svcename db2panda
>db2 catalog database mydb
>db2 -td~ -ascvf *.ddl (create mydb)
>db2 list database directory
database alias = mydb
database name = mydb
database drive = C:\panda
directory entry type = Indirect
....
>db2 connect to mydb user panda using <password>
>successfully
(on client)
>db2 catalog tcpip node db2tcp1 remote <servername> server db2panda
>db2 catalog database mydb at node db2tcp1
>db2 connect to mydb user panda using <password>
>successfully
After I restart server machine:
>db2 connect to mydb user panda using <password>
> SQL1031N The database directory cannot be found on the indicated file system.SQLSTATE=58031
Please help me solve this problem.
Thanks.