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@xxxxxxx
I: www.xpos.nl
KvK: 08115523
Skype: patrick.wever


.



Relevant Pages

  • Re: DBD::DB2: SQL1031N The database directory cannot be found on the indicated file system.
    ... I've managed to install a DB2 runtime client on Linux. ... SQL1031N The database directory cannot be found on the indicated file system. ...
    (perl.dbi.users)
  • Re: install DB2 on FC5
    ... Has anybody here successfully installed IBM DB2 on Fedora Core 5? ... There has been an attempt to install a DB2 install image ... match the current kernel level 2.6 on which DB2 ...
    (Fedora)
  • RE: First Connection To DB2
    ... So how do I go about getting the .Net drivers properly installed? ... that I need to download and install or is it just something I need to run ... .Net Data Provider. ... I am using DB2 Mainframe. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Connecting to IBM AS 400 or I5
    ... mention of a DB2 .net data provider. ... More important is there some install and ... The DB2 database which is built into the AS/400 operating system is ...
    (microsoft.public.data.odbc)
  • Re: Connect to DB2
    ... You just need to install the DB2 development headers and libraries ... Development Client) on your Linux box and set DB2_HOME before ...
    (perl.dbi.users)