Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » suse oracle »

AW: [suse-oracle] Oracle 9i on SLED10?

THOMAS GORSITZKE

2006-08-19


Hi,

- download and install j2re1.3.1_18 from http://java.sun.com/j2se/1.3/download.html
- remove $ORACLE_HOME/JRE
- link j2re1.3.1_18 to $ORACLE_HOME/JRE
- link $ORACLE_HOME/JRE/bin/java to $ORACLE_HOME/JRE/bin/jre
- link $ORACLE_HOME/JRE/bin/i386/native_threads/java to $ORACLE_HOME/JRE/bin/i386/native_threads/jre

e.g.
rm $ORACLE_HOME/JRE
ln -s /usr/java/jre1.3.1_18 $ORACLE_HOME/JRE
ln -s $ORACLE_HOME/JRE/bin/java $ORACLE_HOME/JRE/bin/jre
ln -s $ORACLE_HOME/JRE/bin/i386/native_threads/java $ORACLE_HOME/JRE/bin/i386/native_threads/jre

- change JRE_HOME/JAVA_HOME in $ORACLE_HOME/bin/oemapp
- unset LD_ASSUME_KERNEL


But, Oracle9i and 10gR1 is not certified on SLES10/SLED10 (Linux Threads are nor supported on SLES10).

Regards,
Thomas



--- Originalnachricht ---
> Hello,
>
> I'm having trouble getting the Oracle 9i client tools running
> on SLED
> 10,
> particularly oemapp console, I installed them fine but now I
> can't run
> them.
>
> While trying, I've installed:
>
> * orarun-1.9-14
> * compat-2006.1.25-11.2
> * compat-libstdc++-5.0.7-22.2
>
> My system has been configured with default GLIBC & GCC during
> install:
>
> # rpm -qa | grep glibc
> glibc-i18ndata-2.4-31.2
> glibc-devel-2.4-31.2
> glibc-2.4-31.2
> glibc-locale-2.4-31.2
> # rpm -qa | grep gcc
> gcc-4.1.0-28.4
> libgcc-4.1.0-28.4
>
> I've run /usr/sbin/rcoracle (start|restart) and set the kernel
> params.
>
> Also, regarding the orarun package: is it simply the kernel
> param
> config and startup/shutdown init.d scripts? It seems like it
> could be
> augmented to take care of setting up this wierd GLIBC sandbox
> compat
> libs too! Just a wishlist item :) Anyways....
>
> When I run oemapp console, I get fouled up trying to start the
> good'ol
> JRE
> 1.1.8:
>
> /opt/oracle/jre/1.1.8/bin/../bin/i686/native_threads/jre:
> relocation
> error:
> /opt/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libjava.so:
> symbol
> __libc_wait, version GLIBC_2.0 not defined in file libc.so.6
> with link
> time
> reference
>
> I have a copy of libcwait.so that I compiled and used successfully
> on
> SuSE
> Novell Linux Desktop 9 installation. If I set LD_PRELOAD,
> i.e. export
> LD_PRELOAD=/opt/java/libcwait.so, then I get past but only to
> be
> stopped with:
>
> /opt/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libzip.so:
> symbol
> errno, version GLIBC_2.0 not defined in file libc.so.6 with
> link time
> reference (libzip.so)
> Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM
>
> If I set LD_ASSUME_KERNEL=2.4.20, I get this error:
>
> /bin/sh: error while loading shared libraries: libdl.so.2:
> cannot open
> shared object file: No such file or directory
>
> In addition, all other commands fail (i.e. sh, ls, etc.) with
> same
> error
> while loading shared lib msg.
>
> I read in the orarun script that with SLED10 you ought need
> not set
> LD_ASSUME_KERNEL.
>
> So... lil' help please? Anyone got these Oralce9i client tools
> running
> on SLED10? Thanks!
>
> -Damien
>
>
>
> -- == Damien Joldersma == --
> IT Application Specialist
> (360) 664 4015 -- djold@(protected)
> Office of Administrative Hearings
> State of Washington
>
>
> --
> To unsubscribe, email: suse-oracle-unsubscribe@(protected)
> For additional commands, email: suse-oracle-help@(protected)
> Please see http://www.suse.com/oracle/ before posting
>


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.