From: Daniel Suleyman on
*Any advice will be appreciated.

LOG*


> oracle(a)mach:~/database$ ./runInstaller -ignoreSysPrereqs -responsefile
> /home/oracle/sampleOracle.rsp
> Starting Oracle Universal Installer...
>
> Checking installer requirements...
>
> Checking operating system version: must be redhat-3, SuSE-9, redhat-4,
> UnitedLinux-1.0, asianux-1 or asianux-2
> Failed <<<<
>
>
> >>> Ignoring required pre-requisite failures. Continuing...
>
> Preparing to launch Oracle Universal Installer from
> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM. Please wait ...oracle(a)unimark:~/database$
> Oracle Universal Installer, Versi on
> 10.2.0.1.0 Production
> Copyright (C) 1999, 2005, Oracle. All rights reserved.
>
> 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
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at sun.security.action.LoadLibraryAction.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
> at sun.awt.DebugHelper.<clinit>(Unknown Source)
> at java.awt.Component.<clinit>(Unknown Source)
> at
> oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
> at
> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
> at
> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
> at
> oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)
> at
> oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)
> at
> oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
> Exception in thread "main" java.lang.NoClassDefFoundError
> at
> oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
> at
> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
> at
> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
> at
> oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)
> at
> oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
> at
> oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
>
>
>
> *ENVIRONMNET*
>
> TERM=xterm
> SHELL=/bin/bash
> TMPDIR=/home/u01/tmp
> SSH_CLIENT=
> OLDPWD=/home/oracle
> SSH_TTY=/dev/pts/6
> USER=oracle
> LD_LIBRARY_PATH=/home/chroot/lenny_32/lib/:/home/chroot/lenny_32/usr/lib/
> TEMP=/home/u01/tmp
> ORACLE_SID=orcl
> ORACLE_BASE=/home/u01/app/oracle
> MAIL=/var/mail/oracle
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
> PWD=/home/oracle/database
> JAVA_HOME=/usr/lib/j2sdk1.5-sun/
> LANG=en_US.UTF-8
> SHLVL=1
> HOME=/home/oracle
> LOGNAME=oracle
>
> DISPLAY=127.0.0.1:0.0
> _=/usr/bin/env
>
From: Umarzuki Mochlis on
2009/9/25 Daniel Suleyman <danikpro(a)gmail.com>:
> Any advice will be appreciated.

the installer supports 64 bit?

>
> LOG
>
>>
>> oracle(a)mach:~/database$ ./runInstaller -ignoreSysPrereqs -responsefile
>> /home/oracle/sampleOracle.rsp
>> Starting Oracle Universal Installer...
>>
>> Checking installer requirements...
>>
>> Checking operating system version: must be redhat-3, SuSE-9, redhat-4,
>> UnitedLinux-1.0, asianux-1 or asianux-2
>>
>>         Failed <<<<
>>
>>
>> >>> Ignoring required pre-requisite failures. Continuing...
>>
>> Preparing to launch Oracle Universal Installer from
>> /home/u01/tmp/OraInstall2009-09-25_12-50-45PM. Please wait
>> ...oracle(a)unimark:~/database$ Oracle Universal Installer,
>> Versi                                 on 10.2.0.1.0 Production
>> Copyright (C) 1999, 2005, Oracle. All rights reserved.
>>
>> 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
>>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>>         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
>>         at java.lang.ClassLoader.loadLibrary(Unknown Source)
>>         at java.lang.Runtime.loadLibrary0(Unknown Source)
>>         at java.lang.System.loadLibrary(Unknown Source)
>>         at sun.security.action.LoadLibraryAction.run(Unknown Source)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
>>         at sun.awt.DebugHelper.<clinit>(Unknown Source)
>>         at java.awt.Component.<clinit>(Unknown Source)
>>         at
>> oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
>>         at
>> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
>>         at
>> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
>>         at
>> oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)
>>         at
>> oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)
>>         at
>> oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
>> Exception in thread "main" java.lang.NoClassDefFoundError
>>         at
>> oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
>>         at
>> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
>>         at
>> oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
>>         at
>> oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)
>>         at
>> oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
>>         at
>> oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
>>
>>
>>
>> ENVIRONMNET
>>
>> TERM=xterm
>> SHELL=/bin/bash
>> TMPDIR=/home/u01/tmp
>> SSH_CLIENT=
>> OLDPWD=/home/oracle
>> SSH_TTY=/dev/pts/6
>> USER=oracle
>> LD_LIBRARY_PATH=/home/chroot/lenny_32/lib/:/home/chroot/lenny_32/usr/lib/
>> TEMP=/home/u01/tmp
>> ORACLE_SID=orcl
>> ORACLE_BASE=/home/u01/app/oracle
>> MAIL=/var/mail/oracle
>> PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
>> PWD=/home/oracle/database
>> JAVA_HOME=/usr/lib/j2sdk1.5-sun/
>> LANG=en_US.UTF-8
>> SHLVL=1
>> HOME=/home/oracle
>> LOGNAME=oracle
>>
>> DISPLAY=127.0.0.1:0.0
>> _=/usr/bin/env



--
Regards,

Umarzuki Mochlis
http://gameornot.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Michał Bożek on
On Fri, 25 Sep 2009 21:50:45 +0800
Umarzuki Mochlis <umarzuki(a)gmail.com> wrote:

> 2009/9/25 Daniel Suleyman <danikpro(a)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(a)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(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Daniel Suleyman on
кому: мне, debian-user
Показать подробные сведения 18:50 (16 ч. назад)


Umarzuki Mochlis: No it dosent' the problem was in X's. i am not having any
graphical environment on system../runInstaller -ignoreSysPrereqs
-responsefile /home/oracle/sampleOracle.rsp

helped to install software: Ihave chrooted environment of 32 bit lenny(I
used 32 bit libraries from it to install oracle on 64 bit lenny)

michal_bozek

Yes I am installing 64 bit oracle

No requiremnets, can you describe what needed to install 11G?

i managed to install oracle on /home/u01/app/oracle/product/10.2.1/db1/bin.



Now I have other problem :(


/home/u01/app/oracle/product/10.2.1/db1/bin$ ./sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 26 11:35:12 2009

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Enter user-name: sys as sysdba
Enter password:
oracleorcl: error while loading shared libraries: libaio.so.1: cannot open
shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact


installing libaio1 now....i will post results and full solution if I will be
suceeded .....

2009/9/26 Michał Bożek <michal_bozek(a)lavabit.com>

> On Fri, 25 Sep 2009 21:50:45 +0800
> Umarzuki Mochlis <umarzuki(a)gmail.com> wrote:
>
> > 2009/9/25 Daniel Suleyman <danikpro(a)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(a)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(a)lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster(a)lists.debian.org
>
>
From: Daniel Suleyman on
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(a)lavabit.com>

> On Fri, 25 Sep 2009 21:50:45 +0800
> Umarzuki Mochlis <umarzuki(a)gmail.com> wrote:
>
> > 2009/9/25 Daniel Suleyman <danikpro(a)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(a)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(a)lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster(a)lists.debian.org
>
>