Operating System - HP-UX
1748151 Members
3722 Online
108758 Solutions
New Discussion юеВ

Re: Oracle Patching problem

 
Rob Kunicki
New Member

Oracle Patching problem

We are trying to patch 8.1.7 (I know old and not supported but we do not have choice). All goes fine but at the linking part we get an error:

ERROR IN INVOKING TARGET INSTALL OF MAKEFILE
/OPT/ORACLE/8.1.7/RDBMS/LIB/INS_RDBMS.MK

and as suggested in other threads we find following in make.log file:

- Linking Oracle
rm -f /opt/oracle/8.1.7/rdbms/lib/oracle
cc -Wl,+s -Wl,+n -o /opt/oracle/8.1.7/rdbms/lib/oracle -L/opt/oracle/8.1.7/rdbms/lib -L/opt/oracle/8.1.7/lib -o /opt/oracle/8.1.7/rdbms/lib/oracle -Wl,-PF,linkorderfile -Wl,+Ostaticprediction /opt/oracle/8.1.7/rdbms/lib/opimai.o /opt/oracle/8.1.7/rdbms/lib/ssoraed.o /opt/oracle/8.1.7/rdbms/lib/ttcsoi.o /opt/oracle/8.1.7/rdbms/lib/kpuasvr.o /opt/oracle/8.1.7/lib/nautab.o /opt/oracle/8.1.7/lib/naeet.o /opt/oracle/8.1.7/lib/naect.o /opt/oracle/8.1.7/lib/naedhs.o /opt/oracle/8.1.7/rdbms/lib/config.o -lserver8 -lskgxp8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 /opt/oracle/8.1.7/rdbms/lib/defopt.o -lknlopt -lslax8 -lpls8 -lplp8 -lserver8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lknlopt -lslax8 -lpls8 -lplp8 `cat /opt/oracle/8.1.7/rdbms/lib/nmliblist` -ldbicx8 -ldbicx8 -ljox8 -lserver8 -lwwg8 -lobk `sed -e 's/-ljava//g' /opt/oracle/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /opt/oracle/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `sed -e 's/-ljava//g' /opt/oracle/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /opt/oracle/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lserver8 `if ar tv /opt/oracle/8.1.7/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo8"; fi` -lordts8 -lctxc8 -lctx8 -lzx8 -lgx8 -lctx8 -lzx8 -lgx8 -lordvirt8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /opt/oracle/8.1.7/lib/sysliblist` -lm
/usr/ccs/bin/ld: Unsatisfied symbols:
kkx_same_src (first referenced in /opt/oracle/8.1.7/lib/libserver8.a(kkp.o)) (code)

Stop.

Stop.
*** Error exit code 1
*** Error exit code 1

We verified all the environment and kernel settings as suggested in other threads but no luck for couple of days now.
13 REPLIES 13
Steven E. Protter
Exalted Contributor

Re: Oracle Patching problem

One of the oracle files needed to complete the make/compile may be corrupt. You may need to get

/opt/oracle/8.1.7/lib/libserver8.a

and other relavent files from another system.

If unavailable, you may need to redo the initial oracle install.

This post assumes SHLIB_PATH and other relavent environment variables are correct.

Also note, you are using /usr/ccs/bin/ld

/usr/ccs/bin needs to be on the SHLIB_PATH and PATH and needs to be fully patched on the OS level.

Oracle has OS quarterly patch requirements that alos must be met to success with this process.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eric Antunes
Honored Contributor

Re: Oracle Patching problem

Hi Rob,

What is your maxdsiz value (maxdsiz_64bits if your binaries are in 64 bits...)? It must be greater than 300 Mb...

Best Regards,

Eric Antunes

Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: Oracle Patching problem

Hi again,

Post also the following:

#swapinfo -tam

You need to have enough contiguous swap space.

Finally, swchunk kernel parameter should be equal to 4096.

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: Oracle Patching problem

Hi again,

I verified that I don't have this libserver8.a library so it must be 64 bit lib!

If you are not running a 64 bits RDBMS, you must download the 32 bits patch!!

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
A. Clay Stephenson
Acclaimed Contributor

Re: Oracle Patching problem

kkx_same_src is defined in kkxwtp.o in the rdbms/lib directory. Add that .o to the link list.
If it ain't broke, I can fix that.
Rob Kunicki
New Member

Re: Oracle Patching problem

Thank you for fast response.

my swapinfo:

# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 235 -235
memory 1533 1330 203 87%
total 5629 1565 4064 28% - 0 -
#

maxdsize 536870912
maxdsize 1073741824
swchunk is set to 2048 (I will change it and try again)

Thank You
Yogeeraj_1
Honored Contributor

Re: Oracle Patching problem

hi Rob,

also have a look at metalink note: 255922.1
Subject: Patchset 8.1.7.4 Installation Fails with Undefined Symbol kkx_same_src,skgxntrace

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)
Rob Kunicki
New Member

Re: Oracle Patching problem

I did try everything that suggested with no luck.
And I do not have access to Metalink as of yet.
Eric Antunes
Honored Contributor

Re: Oracle Patching problem

Hi,

In my opinion you have the wrong bits version patch.

Please go to $ORACLE_HOME/bin and execute:

$file oracle

If you run on 32 bits, you'll get something like this:

oracle: PA-RISC1.1 shared executable dynamically linked -not stripped

If your are running with 64 bits, you will get the "64 bits" somewhere...


So, what do you get typing "file oracle"??


Best Regards,

Eric Antunes
Each and every day is a good day to learn.