develooper Front page | perl.dbi.users | Postings from March 2008

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

Thread Next
From:
Patrick Wever, XPOS Internet Solutions
Date:
March 5, 2008 03:12
Subject:
DBD::DB2: SQL1031N The database directory cannot be found on the indicated file system.
Hello,

I've managed to install a DB2 runtime client on Linux.
Successfully installed DBD::DB2 (passed all tests after installing via
CPAN.)
Created a user db2inst1.
Set the following env vars:

DB2INSTANCE=db2inst1
SQLLIB=/home/db2inst1/sqllib
DB2_PATH=/opt/IBM/db2/V9.5
DB2_HOME=/home/db2inst1/sqllib

Try to connect to the database I get the following error:

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

I get the same error in db2:
db2 => LIST DATABASE DIRECTORY
SQL1031N  The database directory cannot be found on the indicated file
system.
SQLSTATE=58031

What am I missing and/or doing wrong?

With kind regards,

Patrick Wever

XPOS Internet Solutions
Patrijsweg 13
Postbus 10053
7301 GB Apeldoorn
T: 055 5760976
M: 06 53818162
E: info@xpos.nl
I: www.xpos.nl
KvK: 08115523
Skype: patrick.wever



Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About