Relinking Oracle Home FAQ (Frequently Asked Questions) (Doc ID 1467060.1)
Relinking Oracle Home FAQ (Frequently Asked Questions) (Doc ID 1467060.1)
Relinking Oracle Home FAQ (Frequently Asked Questions) (Doc ID 1467060.1)
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
1) What is relinking ?
References
APPLIES TO:
Oracle Database - Enterprise Edition - Version 9.2.0.1 to 12.1.0.1 [Release 9.2 to 12.1]
Generic UNIX
PURPOSE
This Document contains Frequently Asked Questions for relinking on Oracle Home , The Concept in this document is applicable for RDBMS
Home .
Ask Questions, Get Help, And Share Your Experiences With This Article
Would you like to explore this topic further with other Oracle Customers, Oracle Employees, and Industry Experts?
Click here to join the discussion where you can ask questions, get help from others, and share your experiences with this specific article.
Discover discussions about other articles and helpful subjects by clicking here to access the main My Oracle Support Community page for
Database Install/Upgrade.
1 of 11
2/5/2015 8:39 AM
Document 131321.1
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
* .o (object file)
* .a (archived file)
* .so or .sl on HP/UX (PA-RISC) (library files)
The following are the directories where various object files and archive files will reside in Oracle Home.
- /lib
- /usr/lib
- $ORACLE_HOME/lib
- $ORACLE_HOME/rdbms/lib
- $ORACLE_HOME/<product>/lib
There is file named sysliblist which lives in $ORACLE_HOME/rdbms/lib or $ORACLE_HOME/lib directory. It contains a list of other
libraries, which need to be included.
2 of 11
2/5/2015 8:39 AM
Document 131321.1
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
3 of 11
2/5/2015 8:39 AM
Document 131321.1
4 of 11
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
"all ", " oracle " , " network", "client" , "client_sharedlib" , "interMedia" , "precomp" , "utilities ", "oemagent", "ldap".
The manual relinking logs can be collected using unix redirection feature as mentioned below :
$
Reference
Note 883299.1 Oracle 11gR2 Relink New Feature
To relink an executable the above command is executed by the user who is logged on to the system as the software owner. The command
is executed from the LIB directory where the <makefile> resides, i.e.
$ORACLE_HOME/<product_name>/lib
2/5/2015 8:39 AM
Document 131321.1
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
relinking logs during installation of Oracle Home binaries can be found in below file:
$ORACLE_HOME/install/make.log
Also you can fine relinking logs in OUI logs for the database installation. Below document describes the details of OUI installation log files:
Note 403212.1 "Location Of Logs For Opatch And OUI
Manual relinking
The manual relinking logs can also be collected using unix redirection feature:
$
Option 1
If relink is performed using OUI then "$ORACLE_HOME/install/relink.log" is not created by default.
To send the relink output to $ORACLE_HOME/install/relink.log we need to redirect the output explicitly.
Option 2
In case of " relink all " command, it always creates a new log file with a name "relink.log" and it will not append log information to the
existing relink log file . The previous log will be saved with a timestamp ( Ex: relinkActions2009-09-14_09-01-10-PM.log )
5 of 11
2/5/2015 8:39 AM
Document 131321.1
6 of 11
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
B) Executing "relink all" will reset the ownership and permission for root owned files. After "relink all", it is recommended to change the
ownership and permission back.
More details are in Note.1555453.1 - Executing "relink all" resets permission of extjob, jssu, oradism, externaljob.ora
The results are written to a HTML file that is located in the RDA output directory.The HTML file can be opened in any web browser and will
give details reports of any OS pre-requirements missing in the server , verify if the OS meets all the OS pre-requirements for installing the
respective database version.
D) Verify if below commands are included in PATH :
which ar
which ld
which cc
which gcc
which make
If any of the above commands does not return the PATH of command it means the command PATH is not set and you have to set it
manually. Also try running these commands manually and see these commands working fine at OS level
E) Check if enough space is availble in /tmp directory and filesystem where ORACLE_HOME Resides
F) The relinking error while installation is gathered in below log file:
$ORACLE_HOME/install/make.log and OUI log file
G) Identify the first occurrence of warning , fatal , error , "stop , "exception , "severe ", "Exit Code 1" messages and these
messages will help you out in identifying the root cause if relinking failure . To find known issues check for known issues section in this
document or search in MOS portal if any known issue exist for these messages .In case you are still facing the issue , please raise an SR
2/5/2015 8:39 AM
Document 131321.1
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
with Oracle Support and upload the above details in SR for investigation.
1) You have downloaded correct version of patch ( Acording to your database version and OS version )
2) The patch zip file name that you have downloaded shows the correct version and platform.
3) The size of the downloaded zip file is the same as shown on the download page.
4) The patch is downloaded/transferred in "BINARY" mode if it is downloaded on the some other machine and then transferred to this
machine.
5) The patch is unzipped at the same server which is being patched.
6 ) Verify if the downloaded patch zip file is not corrupt as per below Note.
Note: 549617.1 - How To Verify The Integrity Of A Patch/Software Download? [Video].
B)
1) Restore from pre-backup stage or in case backup is not availble rollback the failed patch as described in below documentation.
Note.312767.1 How to rollback a failed Interim patch installation.
2) Perform manual relinking of the database , if you still get the same error it means the issue is not with patching , if error is no more
appearing then its issue with patching.
3) Check if enough space is availble in /tmp directory and filesystem where ORACLE_HOME Resides
3) Look into the opatch logs and identify the first occurrence of the error, Below document describe the details of opatch log files.
Note 403212.1 "Location Of Logs For Opatch And OUI"
5) Identify the first occurrence of warning , fatal , error , "stop , "exception , "severe ", "Exit Code 1" messages and these
messages will help you out in identifying the root cause if relinking failure . To find known issues check for known issues section in this
document or search in MOS portal if any known issue exist for these messages .In case you are still facing the issue , please raise an SR
with Oracle Support and upload the above details in SR for investigation.
Where <file> states the name of the library you want to examine and <symbol> names the symbol you are actually looking for.
B) ar
Builds and maintains libraries and archives of .o files. Using this command you can group .o files into a single archive (.a) for use in
creating executables. It is used to insert, delete & replace objects files from an archive library.
7 of 11
2/5/2015 8:39 AM
Document 131321.1
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
C) Symfind
A script available at below location
$ORACLE_HOME/bin/symfind <symbol>:
looks for a symbol in the shared objects of Oracle. This script basically performs the two above commands.
Known Issues
0711-773
0711-783
0711-319
0711-415
0711-224
0711-324
0711-301
0711-345
WARNING:
WARNING:
WARNING:
WARNING:
WARNING:
WARNING:
WARNING:
WARNING:
II) If you are seeing " ld: 0711-780 SEVERE ERROR" while relinking phase you have to follow solution as per below documentaion as this is
not a ignorable error.
Note 1379753.1 AIX: ORA-07445 [ksmpclrpga] OR ORA-07445 [ksupop] ORA-07445 [lxhlinfo] OR Link/Relink/Make Fails With: ld: 0711-780
SEVERE ERROR: Symbol .ksmpfpva (entry 58964) in object libserver11.a[ksmp.o]
8 of 11
2/5/2015 8:39 AM
Document 131321.1
9 of 11
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
The window below is a live discussion of this article (not a screenshot). We encourage you to join the discussion by clicking
the "Reply" link below for the entry you would like to provide feedback on. If you have questions or implementation issues
with the information in the article above, please share that below.
2/5/2015 8:39 AM
Document 131321.1
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
All Places > My Oracle Support Community > Oracle Database (MOSC) > Database Install/Upgrade/Opatch (MOSC) > Discussions
4332 Views
My Rating:
(0 ratings)
Hi We have Sn solaris sparc 5.10 64bit box on which we have 11.2.0.3 database running. I tried to install 11.2.0.4 in different hom
process. Kindly, let me know what i am missing here. Also let me know the procedure of installing 11204 software only option o
already hosting 11203 database.
Thanks in advance,
Actions
As long as you are performing install in another Oracle Home , it should not have any impact , please check if your software its
Note 549617.1 How To Verify The Integrity Of A Patch/Software Download? [Video]
Regards
10 of 11
2/5/2015 8:39 AM
Document 131321.1
11 of 11
hps://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-st...
REFERENCES
NOTE:435071.1 - Can Slibclean command be Executed when the Database is up and running?
NOTE:40721.1 - How to Track Undefined Symbols during Linking
NOTE:61628.1 - 8i: Building Makefiles and Libraries for Oracle Precompilers
NOTE:549617.1 - How to Verify the Integrity of a Patch/Software Download? [Video]
NOTE:1555453.1 - Executing "relink all" resets permission of extjob, jssu, oradism, externaljob.ora
NOTE:69798.1 - Basics of Relinking an Executable or Binary in an Oracle Developer Environment
NOTE:123074.1 - Linking and resolving external symbols in unix
NOTE:312767.1 - How to Rollback a Failed Interim Patch Installation
NOTE:883299.1 - Oracle 11gR2 Relink New Feature
2/5/2015 8:39 AM