Operating System - HP-UX
1747988 Members
4637 Online
108756 Solutions
New Discussion юеВ

How to relink Oracle 8.1.7.3 DB after patches are applied.

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

How to relink Oracle 8.1.7.3 DB after patches are applied.

Hi,

We plan on installing OS patches.
One of those patches is PHSS_27964. The README file says that Oracle needs to be relinked. My question is what are the procedures to relink the Oracle database?
(I don't have access to Metalink).

Server: HP-UX 11.0 VPO 6.14 Oracle 8.1.7.3

10 points to any good answer.
Thank you
Gino
5 REPLIES 5
Massimo Bianchi
Honored Contributor
Solution

Re: How to relink Oracle 8.1.7.3 DB after patches are applied.

Hi,
easy way:
- shudown oracle
- shutdown listener
- shutdown every other oracle application, like dbsnmp

su - oracleuser
relink all


If that does not help, i will come with the longer solution....

HTH,
Massimo


Massimo Bianchi
Honored Contributor

Re: How to relink Oracle 8.1.7.3 DB after patches are applied.

Hi,
longer solution, usefull when relinkin releases < 8.1


If you do need to relink, you can do it from the command line.
Login as the OS user who installed Oracle, normally "oracle".
Each product has it's own "make" file. The make file is located in the $ORACLE_HOME/"product"/lib directory. In each make file there is a list of "targets", you need to use one of the targets.
Example:
cd $ORACLE_HOME/rdbms/install
make -f ins_rdbms.mk install
cd $ORACLE_HOME/network/install
make -f ins_network.mk install
cd $ORACLE_HOME/sqlplus/install
make -f ins_sqlplus.mk install

Make sure the database and listener are shutdown before you relink.


HTH,
Massimo
T G Manikandan
Honored Contributor

Re: How to relink Oracle 8.1.7.3 DB after patches are applied.

Make sure the database and listener are down.

NO oracle processes running
Install the patches.

1.Login as oracle
2.Make sure LD_LIBRARY_PATH and ORACLE_HOME are set properly.
3.$ORACLE_HOME/bin/relink all


Thanks
T G Manikandan
Honored Contributor

Re: How to relink Oracle 8.1.7.3 DB after patches are applied.

check the metalink doc
Yogeeraj_1
Honored Contributor

Re: How to relink Oracle 8.1.7.3 DB after patches are applied.

Hi Gino,

to add to above replies,

To relink individual products:

E.g.
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk install


% cd $ORACLE_HOME/sqlplus/lib
% make -f ins_sqlplus.mk install


% cd $ORACLE_HOME/network/lib
% make -f ins_net_server.mk install

Finally, unless you have a specific reason for installing patchset 8.1.7.3, the latest available is 8.1.7.4 would be recommended install.

regards
Yogeeraj

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