468,291 Members | 1,415 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,291 developers. It's quick & easy.

Linux Runtime Client 7.1

Jae
I've been having major problems installing Linux Runtime on slackware,
but i think im close. My current problem is strange and I've searched
the net and found very little im getting the error when i try to run
db2icrt to create an instance:

SQL10007N Message "-1390" could not be retrieved. Reason code: "2"

IBM's site says reason code 2 means it doesnt have permissions to the
/usr/IBMdb2/V7.1/msg folder, but I set the permissions to the entire
DB2 folder to 777.

Can someone please help me. Why is db2 still complaining about
permissions when the entire db2 directory has full access permissions.
Please im losing hair over this.

Thanks

Nov 12 '05 #1
4 1968
Jae wrote:
I've been having major problems installing Linux Runtime on slackware,
but i think im close. My current problem is strange and I've searched
the net and found very little im getting the error when i try to run
db2icrt to create an instance:

SQL10007N Message "-1390" could not be retrieved. Reason code: "2"

IBM's site says reason code 2 means it doesnt have permissions to the
/usr/IBMdb2/V7.1/msg folder, but I set the permissions to the entire
DB2 folder to 777.

Can someone please help me. Why is db2 still complaining about
permissions when the entire db2 directory has full access permissions.
Please im losing hair over this.


Two issues first:

DB2 doesn't support slackware. You are well-advised to move to a
distribution that is officially supported as you'll get much more help with
it.

DB2 v7 is out of support. Version 8 has been around for quite a few years
already, so you should try moving to the latest possible version.

Now to your real problem. Who are you running this as? What is your
instance name? How did you set up your environment? What are you actually
running to get this message?
Nov 12 '05 #2
Jae
I'm running db2icrt as root.

My instance name is db2. I setup my environoment by converting the
rpm's to tgz's using rpm2tgz tool that comes with slackware. Now im
trying to manually setup the instance without db2setup.

thanks in advance

Nov 12 '05 #3
Jae wrote:
I'm running db2icrt as root.

My instance name is db2. I setup my environoment by converting the
rpm's to tgz's using rpm2tgz tool that comes with slackware. Now im
trying to manually setup the instance without db2setup.

thanks in advance


So the error message comes during a db2icrt? That's interesting. Does the
user "db2" have a .bashrc file in its home directory (I'm assuming that the
user is defined to use /bin/bash or /usr/bin/bash as its shell)? In v7,
not having that could cause some problems, but that should be completely
fixed in v8 (which, did I mention, is pretty old, too, so you should
upgrade to v8).

In an older thread, someone was having problems with creating an instance on
Debian Sarge where I pointed out a number of possible issues. You may want
to take a look. Here's one of my notes in that thread:
http://groups.google.com/group/comp....60f9e886cbfc0a

Hope that helps,
Nov 12 '05 #4
Jae
thanks for ur efforts Darin but i tried .bashrc and still the same
error. I think I'll just wait till we migrate to V8 then i can just
use a type4 jdbc driver.

thanks again!

Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Raquel | last post: by
8 posts views Thread by Burkhard Schultheis | last post: by
8 posts views Thread by shenanwei | last post: by
3 posts views Thread by smusunuri | last post: by
8 posts views Thread by Johnny | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.