[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux debian lenny 64bit installing ORACLE 64 errors



solved all minir errors.

and finaly major ones ((

failed scripts:

# Copyright (c) 1999, 2005, Oracle. All rights reserved.
/home/u01/app/oracle/product/10.2.1/db1/jdk/jre//bin/java   -Duser.dir=/home/u01/app/oracle/product/10.2.1/db1/network/jlib -classpath /home/u01/app/oracle/product/10.2.1/db1/jdk/jre//lib/i18n.jar:/home/u01/app/oracle/product/10.2.1/db1/jdk/jre//lib/rt.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/ewt3.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/ewtcompat-3_3_15.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/netcfg.jar:/home/u01/app/oracle/product/10.2.1/db1/network/jlib/netcam.jar:/home/u01/app/oracle/product/10.2.1/db1/network/jlib/netca.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/help4.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/jewt4.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/oracle_ice.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/share.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/swingall-1_1_1.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/srvmhas.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/srvm.jar:/home/u01/app/oracle/product/10.2.1/db1/network/tools:/home/u01/app/oracle/product/10.2.1/db1/jlib/ldapjclnt9.jar:/home/u01/app/oracle/product/10.2.1/db1/jlib/ldapjclnt10.jar:/home/u01/app/oracle/product/10.2.1/db1/oui/jlib/OraInstaller.jar:/home/u01/app/oracle/product/10.2.1/db1/lib/xmlparserv2.jar oracle.net.ca.NetCA /orahome /home/u01/app/oracle/product/10.2.1/db1 /orahnam db1home /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /home/u01/app/oracle/product/10.2.1/db1/network/install/netca_typ.rsp  /silent

/home/u01/app/oracle/product/10.2.1/db1/bin/dbca -silent  -createDatabase -templateName General_Purpose.dbc -gdbName orcl -sid orcl  -sysPassword 0562c49642c9568cd8284e86ab24cbadf7  -systemPassword 0575e5904269a26b1d4b44f0a450383f59  -sysmanPassword 05fbcc6742c9b386ff9edf15fbfde8b716  -dbsnmpPassword 05fbcc6742c9b386ff9edf15fbfde8b716  -emConfiguration LOCAL     -datafileJarLocation /home/u01/app/oracle/product/10.2.1/db1/assistants/dbca/templates  -responseFile NO_VALUE   -characterset WE8ISO8859P1   -obfuscatedPasswords true  -sampleSchema false -oratabLocation /home/u01/app/oracle/product/10.2.1/db1/install/oratab  -recoveryAreaDestination NO_VALUE

/home/u01/app/oracle/product/10.2.1/db1/bin/isqlplusctl start
~


errors for 1) script

UnsatisfiedLinkError exception loading native library: njni10


java.lang.UnsatisfiedLinkError: jniGetOracleHome
        at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
        at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
        at oracle.net.ca.NetCA.main(Unknown Source)
Oracle Net Services configuration failed.  The exit code is -1

error fot scrip 2)


UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
        at oracle.net.common.NetGetEnv.get(Native Method)
        at oracle.net.config.Config.getNetDir(Unknown Source)
        at oracle.net.config.Config.initConfig(Unknown Source)
        at oracle.net.config.Config.<init>(Unknown Source)
        at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
        at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:255)
        at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
        at oracle.sysman.assistants.dbca.backend.SilentHost.<init>(SilentHost.java:125)
        at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:150)
        at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
        at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)


2009/9/26 Michał Bożek <michal_bozek@lavabit.com>
On Fri, 25 Sep 2009 21:50:45 +0800
Umarzuki Mochlis <umarzuki@gmail.com> wrote:

> 2009/9/25 Daniel Suleyman <danikpro@gmail.com>:
> > Any advice will be appreciated.

       I assume, that you've got the 64 bit version of Oracle, but a
double check might be useful (as always).

> >> Preparing to launch Oracle Universal Installer from
> >> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM. Please wait
> >> ...oracle@unimark:~/database$ Oracle Universal Installer,
> >> Versi                                 on 10.2.0.1.0 Production

       Do you have a requirement to install exactly 10.2.0.1? I've had
my share of problems with installations of 10.2 on Debian, while 11 was
(almost) painless. If possible I'd recommend a switch to the newest
version.

> >> Exception java.lang.UnsatisfiedLinkError:
> >> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM/jre/1.4.2/lib/i386/libawt.so:
> >> libXp.so.6: wrong ELF class: ELFCLASS64 occurred..
> >> java.lang.UnsatisfiedLinkError:
> >> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM/jre/1.4.2/lib/i386/libawt.so:
> >> libXp.so.6: wrong ELF class: ELFCLASS64

       Based on this snippet I'd say, that a 32 bit version of
libawt.so tries to use libXp.so which is only available in 64 bits on
your system. Unfortunately, even though Oracle packages are available
for AMD64, the installer itself requires 32 bit Java to be present. So
I'd check if appropriate Java version is present. At least that was one
the quirks during my installation attempts.

       Also with Oracle 11, you can skip most the 'fake requirements'
used to make Oracle think its installed on RHEL or its derivatves, ie.
install it somewhere else than /u01/app/oracle, which was quite hard to
change in 10.2 if I remember well. My current installation for example
resides in /usr/local/oracle/11g1/ which is quite useful.

       Hope it helps.

Regards,
--
Michał Bożek



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: