cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle installation error

SOLVED
Go to solution
sreejith_4
Frequent Advisor

Oracle installation error

Hi,

I am gettign a following error while installing Oracle 9.2.0.4 on HP-UX 11.11
"Error in invoking target install of makefile /home/oracle/OraHome1/ctx/lib/ins_ctx.mk"

/oracle/OraHome1/install/make.log file shows the following error

/usr/ccs/bin/ld: Can't find library for -lXm


Any idea ?

Thanks
Sreejith M
9 REPLIES
Ravi_8
Honored Contributor

Re: Oracle installation error

Hi,


You haven't set the kernel values required by oracle 9i, refer the installation docs for the kernel parameters to be set.

http://www.oracle.com/technology/documentation/oracle9i.html
never give up
sreejith_4
Frequent Advisor

Re: Oracle installation error

Hi,

Its all set accordingly. I don't think Kernel parameters are the issues

Thanks
Sreejith M
bhavin asokan
Honored Contributor

Re: Oracle installation error

hi,

have you created the following links before 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


HP Document KBRC00003627 states that you must create the following
three soft links:

ln -s /usr/lib/Motif2.1/libXm.4 /usr/lib/Motif2.1/libXm.sl
ln -s /usr/lib/libXt.3 /usr/lib/libXt.sl
ln -s /usr/lib/libX11.3 /usr/lib/libX11.sl

You check /usr/lib and the links are there.




#oracle environment variables
DISPLAY=mymachine:0.0
export DISPLAY
ORACLE_HOME=/oracle/product/9.0.1; export ORACLE_HOME
ORACLE_BASE=/oradb; export ORACLE_BASE
ORACLE_SID=OEMREP; export ORACLE_SID
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.US7ASCII; export NLS_LANG
#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


i think mainly it may be due to libXm links

regds,

Yogeeraj_1
Honored Contributor

Re: Oracle installation error

hi Sreejith,

This is a common problem.
See metalink note: 151547.1

The problem you are getting is because the linker (ld) cannot locate the X11/Motif shared libraries in /usr/lib.

Proceed as follows:
a. Verify if libXm.sl exists in /usr/lib
b. Check for base X11/Motif libraries
ls -al libXm.*
c. Create the shared library as a symbolic link to the base X11/Motif library.
ln -s libXm.4 libXm.sl

NB. You should do the same for the other libraries, libXt.sl and libX11.sl.

you can then proceed with your installation.

hope this helps!

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
sreejith_4
Frequent Advisor

Re: Oracle installation error

Hi,

This problem has been solved now.

Bu there is an other issue.

The installation and linking is successful now and it goes to Oracle DB creation window.
Attaching the error which i am getting now

Thanks in advance

Sreejith M
Peter Godron
Honored Contributor
Solution

Re: Oracle installation error

Hi,
can you please increase the max. number of semaphores (SEMMNS) or reduce number of processes in init.ora.

If required see metalink for explanation.

Regards
bhavin asokan
Honored Contributor

Re: Oracle installation error

hi,


see the links below

http://forums.oracle.com/forums/thread.jsp?forum=61&thread=30983&message=190390


http://oracle.ittoolbox.com/groups/groups.asp?v=ORACLE-DB-INSTALLS-L&i=297100


and make it sure that there is enough space in /tmp (at least 450MB) and in oracle installation folder.

regds,
Indira Aramandla
Honored Contributor

Re: Oracle installation error

Hi Sreejith,

From you error message ORA-ORA-27302,ORA-27303,ORA-27146 can happen if your init.ora - processes parameter is set too high, but the kernel is not configured to handle this.

Suggestion to fix the issue:
Increase your kernel parameters , specifically the semaphore related parameters such as SEMMNI,SEMMNS, SEMMSL & SEMMNI.
OR
Decrease the processes value in the init.ora and try restarting the instance.

Also, make sure that there are no 'hanging or dead ' processes that are consuming the shared memory and semaphore resources.

You can use the ipcs and the ipcrm command for this.


Indira A
Never give up, Keep Trying
sreejith_4
Frequent Advisor

Re: Oracle installation error

Hi,

Thank you all
I have increased SEMMNI and the problem is solved now

Thanks once again

Sreejith M