java-on-ds1.txt 2004.04.24 We want to install java-1_5_x on ds1, running RHEL 3. First, try ds2. ds2# rpm -q -a | grep kernel kernel-smp-2.4.21-27.0.1.EL ds2# cat /etc/*release LSB_VERSION="1.3" Red Hat Enterprise Linux AS release 3 (Taroon Update 1) See if the existing Suse RPMs will install. Downloaded latest from http://www.java.com/en/download/linux_manual.jsp extracted jre-1_5_0_06-linux-i586.rpm to /srv/local/backup/java/RPMS ds2# rpm -i -v /srv/local/backup/java/RPMS/jre-1_5_0_06-linux-i586.rpm Preparing packages for installation... jre-1.5.0_06-fcs files were installed in /usr/java/jre1.5.0_06/ ds2# /usr/java/jre1.5.0_06/bin/java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) [perlo@ds2 perlo]$ alias jv /usr/java/jre1.5.0_06/bin/java \ -cp /srv/local/backup/java/clientprogs [perlo@ds2 perlo]$ jv mediaget DVDR seems to work. ds2# rpm -q python python-2.2.3-5 (on albatross, it is 2.4.1-3) Downloaded FC3 RPMS from for python to /srv/local/backup/python/ http://www.python.org/download/releases/2.4/rpms/ Base: /srv/local/backup/python/python2.4-2.4-1pydotorg.i386.rpm Devel: /srv/local/backup/python/python2.4-devel-2.4-1pydotorg.i386.rpm Tkinter: /srv/local/backup/python/python2.4-tkinter-2.4-1pydotorg.i386.rpm Tools: /srv/local/backup/python/python2.4-tools-2.4-1pydotorg.i386.rpm ds2# which python /usr/bin/python ds2# rpm -i -v /srv/local/backup/python/python2.4-2.4-1pydotorg.i386.rpm error: Failed dependencies: libdb-4.2.so is needed by python2.4-2.4-1pydotorg downloaded source for 2.4.3 from python.org ds2# cd /root ds2# tar xzf /srv/local/backup/python/Python-2.4.3.tgz ds2# cd Python-2.4.3/ ds2# ./configure ds2# make ds2# make install lib modules go in /usr/loal/lib exes go in /usr/local/bin Now, we need ImageMagick ds2# rpm -i -v /srv/local/backup/RPMS/ImageMagick-6.0.7.1-12.i386.rpm Also, need to mount /srv/images/[12] ds2# vi /etc/fstab ring4:/mnt/csb0/images /srv/images/0 nfs rw,nfsvers=3,hard,async,intr,bg ring4:/mnt/csb1/images /srv/images/1 nfs rw,nfsvers=3,hard,async,intr,bg (add ds1 and ds2 to /etc/exports on ring4 and re-export) Need mkisofs: ds2# rpm -i -v /srv/local/backup/RPMS/mkisofs-2.01.1-5.i386.rpm Try a whole job as root: ds2# alias java /usr/java/jre1.5.0_06/bin/java ds2# cd /root/temp ds2# source /srv/local/setup/burndvd.set ds2# gendvd /srv/frames/temp/perlo/ttest/ ds2# burnit /srv/frames/temp/root/genericDVD-20060424-144250-??.xml This bug is filed for tracking purpose. Redhat just released SP2 for their RHEL 3.0 line of products. Unfortunately on x86_64, the NX bit is turned on by default. This will cause Java crashes. If you are running on RHEL3 SP2 ('cat /etc/*release' should say something like "Taroon Update 2"), and having problems running java applications (e.g. 'java -version' will crash), please make sure to boot with kernel option 'noexec=off': . log in as root . edit /boot/grub/grub.conf . add 'noexec=off' to all kernel option lines, e.g: title Red Hat Enterprise Linux AS (2.4.21-15.ELsmp) root (hd0,1) kernel /boot/vmlinuz-2.4.21-15.ELsmp ro root=LABEL=/ noexec=off initrd /boot/initrd-2.4.21-15.ELsmp.img NX bit is supported in JDK 1.5-beta2 and 1.4.2_05, see bug 4936784. Also please see Redhat bugzilla: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123656 Work Around boot with 'noexec=off' or 'noexec32=off'