vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I am trying to install my copy of the DB2 Universal Workgroup Server Edition on my Linux server (RedHat 9.0, kernel 2.4.20-6) and it will not let me past the db2setup because of a Java error (which doesn't make sense since I have installed version 1.5 which works). I tried to get around it by using an earlier trial version of a DB2 Universal db which was running for 3 months until the license expired. I figured that I could simply use that and install the licenses from my Universal Workgroup Server Edition on top of the trial licenses. Well, needless to say, it didn't work. Any suggestions? Pls advise. Thx. It would be helpful to me if you could also post any response to my email: odin@op.net |
| |||
| "akaodin" <odin@op.net> wrote in message news:1131728290.690620.151620@z14g2000cwz.googlegr oups.com... > Hi, > I am trying to install my copy of the DB2 Universal Workgroup > Server Edition on my Linux server (RedHat 9.0, kernel 2.4.20-6) and it > will not let me past the db2setup because of a Java error (which > doesn't make sense since I have installed version 1.5 which works). I > tried to get around it by using an earlier trial version of a DB2 > Universal db which was running for 3 months until the license expired. > I figured that I could simply use that and install the licenses from my > Universal Workgroup Server Edition on top of the trial licenses. Well, > needless to say, it didn't work. Any suggestions? Pls advise. Thx. > > It would be helpful to me if you could also post any response to my > email: odin@op.net > Here are some steps for installing on DB2 8.1 on RH9 that I have used. This might work on other RH versions also: DB2-RH 9 Linux Installation Instructions 1. Install IBM Java 1.4.2 (or latest code) free from IBM website. 2. Set display (where host_name is your host) xhost + host_name export DISPLAY=host_name:0 3. Set Kernel for DB2 install only (not needed later) LD_ASSUME_KERNEL=2.2.5 export LD_ASSUME_KERNEL 4. Run ./db2setup Install DB2 with an instance but DO NOT install Tools Catalog 5. Reboot 6. Update java path (your path may be different depending on which Java you install). This will point DB2 to the correct JDK for DB2 and Admin Server. db2 update dbm cfg using jdk_path /opt/IBMJava2-142 db2 update admin cfg using jdk_path /opt/IBMJava2-142 7. You can now install Tools Catalog in you want one. 8. Update Linux parms The default setting for the msgmni kernel parameter only allows a couple of simultaneous connections to DB2. To set this value at boot time, append the following lines to /etc/sysctl.conf: # Sets maximum number of message queues to 128 # Set this to 1024 or higher on production systems kernel.msgmni = 128 |
| |||
| Hi, IThe problem I am having is #4 db2setup. It chokes because of my Java code. I have installed 1.5 from Sun (not IBM) and am working w/ it. It is just fine. Moreover I have checked the file which causes the error and it purported tries to check the Java on my PC; if it can't find it (which it can't) then it tries to use the version on the CD (but can't). I have no idea why it can't use it's own version. Pls advise. Thx. |
| |||
| Apparently, whatever version of Java you are using is not fine. Please read the link I provided. I can't even find RH9 as a validated environment for DB2 UDB V8.1. If you click the link on RHEL 3.0, you'll find that even for RHEL 3.0, a workaround is recommended for using db2setup. Larry Edelstein akaodin wrote: > Hi, > IThe problem I am having is #4 db2setup. It chokes because of my > Java code. I have installed 1.5 from Sun (not IBM) and am working w/ > it. It is just fine. Moreover I have checked the file which causes > the error and it purported tries to check the Java on my PC; if it > can't find it (which it can't) then it tries to use the version on the > CD (but can't). I have no idea why it can't use it's own version. Pls > advise. Thx. > |
| |||
| "akaodin" <odin@op.net> wrote in message news:1131811246.799768.287100@g14g2000cwa.googlegr oups.com... > Hi, > IThe problem I am having is #4 db2setup. It chokes because of my > Java code. I have installed 1.5 from Sun (not IBM) and am working w/ > it. It is just fine. Moreover I have checked the file which causes > the error and it purported tries to check the Java on my PC; if it > can't find it (which it can't) then it tries to use the version on the > CD (but can't). I have no idea why it can't use it's own version. Pls > advise. Thx. > I told you what to do to make the install work. If you don't want to do those things, that is up to you. |
| |||
| You can also bypass the Java installer entirely; just follow the instructions listed in the DB2 HOWTO for Gentoo under "Installation Notes": http://tldp.org/HOWTO/DB2-HOWTO/gentoo.html#AEN1134 You have to create your own users and groups, etc., but all of the required instructions are there and it will get you going so that you can actually work with the database Dan |