Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle 9iR2 install problem on HP-UX 11.00 64bit

SOLVED
Go to solution
Cicortas Florin_1
Occasional Visitor

Oracle 9iR2 install problem on HP-UX 11.00 64bit

Hello everybody.

I am testing installation of 9iR2 on our dev environment... everything should be ok, since on the same machine I already installed 8.1.7

The hardware is an HP9000 K Class with 2GB ram, HP-UX 11.00

Before i have applied the patches that oracle required it worked but during 61% linking stage, I got this error: Error in invoking target install of makefile /u01/app/oracle/product/9.2.0/ins_plsql.mk

I have set the environment with these parameters:


ORACLE_HOME=/test2/app/oracle/product/9.2.0; export ORACLE_HOME
ORACLE_BASE=/test2/app/oracle; export ORACLE_BASE
ORACLE_SID=test; export ORACLE_SID
ORACLE_OWNER=oraclet; export ORACLE_OWNER
ORACLE_TERM=xterm; export ORACLE_TERM
JAVA_HOME=/opt/java1.3; export JAVA_HOME
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
NLS_LANGUAGE=$NLS_LANG; export NLS_LANGUAGE
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rdbms/lib:$LD_LIBRARY_PATH
SHLIB_PATH=$SHLIB_PATH:$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32
export LD_LIBRARY_PATH
export SHLIB_PATH
stty erase
PATH=$PATH:/opt/java1.3/bin:/bin:/usr/bin:/usr/sbin:/etc:/opt/bin:/usr/ccs/bin:/usr/local/bin:$ORACLE_HOME/bin
export PATH
TMP=/test1/tmp; export TMP
TMPDIR=/test1/tmp; export TMPDIR
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib:$ORACLE_HOME/jdbc/lib/classes12.zip
export CLASSPATH


However I cannot install this new release.
It fails with this error:


$ ./runInstaller
Initializing Java Virtual Machine from /test1/tmp/OraInstall2002-09-14_07-27-45P
M/jre/bin/java. Please wait...
shl_load: No such file or directory
Exception in thread "main" java.lang.UnsatisfiedLinkError: /test1/tmp/OraInstall
2002-09-14_07-27-45PM/jre/lib/PA_RISC2.0/libmawt.sl: No such file or directory
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 java.awt.Toolkit.loadLibraries(Toolkit.java:1073)
at java.awt.Toolkit.(Toolkit.java:1117)
at java.awt.Component.(Component.java:406)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)



Did anyone had the same issue?


Regards,
Florin
Work as though you would live forever, and live as though you would die today.
13 REPLIES
Andreas D. Skjervold
Honored Contributor
Solution

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

Hi

The first CD's of this release was createtd without this library. You have to request the new / correct CD or obtaion the library from som other source.

---

From Metalink:??
fact: Oracle Universal Installer 9.2.0.1
fact: HP 9000 Series HP-UX (64-bit)
symptom: Installation fails
symptom: Exception in thread "main"java.lang.UnsatisfiedLinkError
symptom: libmawt.sl: no such file or directory
cause: The software installation from CD part# A91857-01 and A91860-01
fails with the following error:
../jre/lib/PA_RISC2.0/libmawt.sl: No such file or directory

because on that CD-PACK was missing the library.

fix:

Obtain the following CDs by making new shipping request:
CD-PACK A99108-01 (Part#A99149-01 - A99152-01) replaced.
The new/correct version of the release
Released on 21-June-2002

OR

Workaround: copy the library 'libmawt.sl' from the HP site and place it into
the location that fails.

Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Cicortas Florin_1
Occasional Visitor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

I don't know where i can download 'libmawt.sl' from HP and where should i put it.
The 4 Cd's i donloaded two weeks ago from Oracle are the 14 May 2002.
I checked and the 'libmawt.sl' is on the first cd - here - Disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix/lib/PA_RISC2.0/libmawt.sl
Work as though you would live forever, and live as though you would die today.
Andreas D. Skjervold
Honored Contributor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

Hi

Have seen this workaround:

Copied the media to disk. Created softlink from disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix/lib/PA_RISC2.0/libmawt.sl to
disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix/lib/PA_RISC2.0/motif21/libmawt.sl

Or You might install Java 1.3.1.02 on beforehand.

Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Cicortas Florin_2
Occasional Visitor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

I have installed Java 1.3.1.0.6 from HP Site and copied /bin and /lib folders from /opt/java1.3/jre/ to the Oracle's Disk1 in this location :
Disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix
But it keep giving almost the same error message:
Initializing Java Virtual Machine from /test1/tmp/OraInstall2002-09-17_06-02-48PM/jre/bin/java. Please wait...
shl_load: No such file or directory
Exception in thread "main" java.lang.UnsatisfiedLinkError: /test1/tmp/OraInstall2002-09-17_06-02-48PM/jre/lib/PA_RISC2.0/libmawt.sl: specified library, or one of its dependencies, does not exist.
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 java.awt.Toolkit.loadLibraries(Toolkit.java:1068)
at java.awt.Toolkit.(Toolkit.java:1112)
at java.awt.Component.(Component.java:401)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
Andreas D. Skjervold
Honored Contributor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

Hi

Did you try the link to the motif21 directory?

rgds
Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Ted Ellis_2
Honored Contributor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

try and adjust the CLASSPATH and maybe the JAVA_HOME:

add /opt/java1.3/jre/lib/PA_RISC/ to your path and re-export... also check for the missing file... it is most likely there:

find /opt/java1.3 -name libmawt.sl and make sure it is under the directory above.

may want to try JAVA_HOME as /opt/java1.3/jre

Ted
Cicortas Florin_1
Occasional Visitor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

I tried linking, even copying libmawt.sl but still doesn't work. I've set the path of CLASSPATH and JAVA_HOME and nothing still the same.
Work as though you would live forever, and live as though you would die today.
Yogeeraj_1
Honored Contributor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

hi florin,

did you run the the following command before the installation:
=============================
$ su - root
$ cd /usr/lib
$ ln -s /usr/lib/libX11.3 libX11.sl
$ ln -s /usr/lib/libXIE.2 libXIE.sl
$ ln -s /usr/lib/libXext.3 libXext.sl
$ ln -s /usr/lib/libXhp11.3 libXhp11.sl
$ ln -s /usr/lib/libXi.3 libXi.sl
$ ln -s /usr/lib/libXm.4 libXm.sl
$ ln -s /usr/lib/libXp.2 libXp.sl
$ ln -s /usr/lib/libXt.3 libXt.sl
$ ln -s /usr/lib/libXtst.2 libXtst.sl
==============================

Refer to attached document for more details.

Also, do not use relative paths for launching the installation.

Hope this helps!

best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Sam Waran
Occasional Advisor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

Florin - I am getting the same problem installing oracle 9.2.0 on hp-ux 11.11. Can you help to pont me in the right direction? I have made the Links, and the recomended changes as outlined by Oracle 9i Installation Guide May 2002 Part # A96167-01. I am a Unix beginer.Thanks.
Sam Waran
Occasional Advisor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

My problems went away when I mounted CD rom drive, copied all the folders to a local drive and then installed my Oracle from there. For some reasons FTP did not work even in bit format.
Juergen Nagel_1
Frequent Advisor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

Hello,

I had the same error.
In my case following has solved the problem.

copy the file
./Disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix/lib/
PA_RISC/motif21/libmawt.sl
to
./Disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix/lib/
PA_RISC/libmawt.sl
and the file
./Disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix/lib/
PA_RISC2.0/motif21/libmawt.sl
to
./Disk1/stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/hpunix/lib/
PA_RISC2.0/libmawt.sl

I hope that will help.

Best Regards
Juergen
Srikanth_19
Occasional Visitor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit

Refer Metalink Docid :

Doc ID: Note:222403.1

Cheers,
Srikanth M.
Onur Karakan
Advisor

Re: Oracle 9iR2 install problem on HP-UX 11.00 64bit


Hi Florin,

'Before i have applied the patches that oracle required it worked but during 61% linking stage, I got this error: Error in invoking target install of makefile /u01/app/oracle/product/9.2.0/ins_plsql.mk '
for this error you may delete "-z defs" in line "LD_SELF_CONTAINED="-z defs" from genclntsh file. and then make "retry".

http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_1.shtml

i had seen following error when installing into linux but i dont remember exactly. perhaps you should add the $JAVA_HOME/bin into $PATH. i think it was this.

good luck.

Onur