By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,589 Members | 2,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,589 IT Pros & Developers. It's quick & easy.

Linux Runtime Client 7.1

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.