Friday, October 06, 2006

installing DB2 on Gentoo Linux

There is a well written article on howto do this:
Article Link -Installing DB2 Version 8.2 on Gentoo (2005-01-17)

My only issue I had with this on gentoo was with this command
/opt/IBM/db2/V8.1/instance/db2icrt -u db2fenc1 db2inst1
It was returning
DBI1088E Invalid access permission detected for directory "" IBM article describing the problem/solution

It wasn't really the permissions to the directory given it was a failure the script detected in /usr/bin/pwd

It turns out that the real problem is more in my configuration of gentoo and the /usr/bin/pwd executable. The DB2 installation scripts are peppered with the use of /usr/bin/pwd and doesn't use the built-in pwd in the shell. The problem is that the executable needs to be able to view /.
/ doesn't have read permissions for users in my out of the box installation of gentoo.

To give read access as root Run this command:
chmod a+rx /

The script should run successfully after that.

I've elaborated some further details on a second blog entry

1 comment:

Shouts and Mumbles said...

Grateeful for sharing this