
{"id":8255,"date":"2019-11-20T14:55:00","date_gmt":"2019-11-20T14:55:00","guid":{"rendered":"https:\/\/rax-stg-wp-aws.com\/blogs\/relinking-oracle-v18c-grid-infrastructure-for-cluster-and-database-binaries\/"},"modified":"2026-11-03T19:29:31","modified_gmt":"2026-11-03T19:29:31","slug":"relinking-oracle-v18c-grid-infrastructure-for-cluster-and-database-binaries","status":"publish","type":"blogs","link":"https:\/\/www.rackspace.com\/en-gb\/blogs\/relinking-oracle-v18c-grid-infrastructure-for-cluster-and-database-binaries\/","title":{"rendered":"Relinking Oracle v18c grid infrastructure for cluster and database binaries"},"content":{"rendered":"<p><strong>Introduction<\/strong><\/p>\n<p>This blog provides insights about what relinking is, why it is required, and how you&nbsp;relink Oracle\u00a9&nbsp;object files.<\/p>\n<p>For any language, you need the predefined functions, which are defined inside&nbsp;the library files for that language and are required to compile the code to&nbsp;create a binary format file (object file). The object files are then linked&nbsp;together with operating system (OS) libraries to create a single executable&nbsp;file. For linking the files, the process needs to find all the function definitions&nbsp;before it can generate an executable from the components.<\/p>\n<p><strong>What does it mean to relink Oracle Home binaries?<\/strong><\/p>\n<p>Oracle software is shipped in the form of object and archive files and then&nbsp;grouped in a compressed Java\u00a9&nbsp;Archive (jar) format. The object files are&nbsp;then relinked at the operating system (OS) level during installation to create&nbsp;usable executables. This relinking guarantees reliable integration with the&nbsp;functions provided by the OS system libraries. During relinking, the current&nbsp;executables are renamed and saved, while the new executables are generated.&nbsp;After the new executables are in place and you verify that the new executables&nbsp;work, you can delete the old executables in the directory <strong>ORACLE_HOME\/bin<\/strong>. Each&nbsp;old executable has an &#8216;<em>O<\/em>&#8216; appended to its file name. For example, <strong>exp.exe<\/strong>&nbsp;is&nbsp;renamed to <strong>expO.exe<\/strong>.<\/p>\n<p>The following directories in Oracle Home contain various object and archive&nbsp;files:<\/p>\n<ul>\n<li>&nbsp; &nbsp;&nbsp;<strong>\/lib<\/strong><\/li>\n<li>&nbsp; &nbsp;&nbsp;<strong>\/usr\/lib<\/strong><\/li>\n<li>&nbsp; &nbsp;&nbsp;<strong>$ORACLE_HOME\/lib<\/strong><\/li>\n<li>&nbsp; &nbsp;&nbsp;<strong>$ORACLE_HOME\/rdbms\/lib<\/strong><\/li>\n<li>&nbsp; &nbsp;&nbsp;<strong>$ORACLE_HOME\/\\&lt;product\\&gt;\/lib<\/strong><\/li>\n<\/ul>\n<p>The <strong>sysliblist<\/strong>&nbsp;file, found in <strong>$ORACLE_HOME\/rdbms\/lib<\/strong>&nbsp;or <strong>$ORACLE_HOME\/lib<\/strong>,&nbsp;contains a list of other libraries, which you need to include.<\/p>\n<p><strong>&nbsp;Why is Oracle Home relinking required?<\/strong><\/p>\n<p>Oracle Home relinking must occur to link Oracle-provided object files to the OS&nbsp;system library.<\/p>\n<p>Relinking occurs automatically under the following circumstances:<\/p>\n<ul>\n<li>&nbsp; &nbsp; The Oracle Universal Installer (OUI) installed an Oracle database.<\/li>\n<li>&nbsp; &nbsp; The OUI applied an Oracle database patchset.<\/li>\n<li>&nbsp; &nbsp; The `OPatch` utility applied an Oracle database patch.<\/li>\n<\/ul>\n<p>You can also perform relinking manually.<br \/>\n&nbsp;<\/p>\n<p><strong>When is manual relinking required?<\/strong><\/p>\n<p>You need to perform manual relinking in the following circumstances:<\/p>\n<ul>\n<li>&nbsp; &nbsp; After an OS upgrade or downgrade.<\/li>\n<li>&nbsp; &nbsp; After an OS patch.<\/li>\n<li>&nbsp; &nbsp; If there are missing library files in RDBMS home.<\/li>\n<li>&nbsp; &nbsp; If you need to reset the Oracle Home binaries permission.<\/li>\n<\/ul>\n<p><strong>&nbsp;Steps to manually relink Oracle object files<\/strong><\/p>\n<p>Before starting the relink operation, you need to stop all the services that&nbsp;run from the <strong>$ORACLE_HOME<\/strong>&nbsp;directory. Shut down all the databases,&nbsp;listeners, Oracle Automatic Storage (ASM) instances, and cluster services.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture1_23.png\" alt=\"relinking Oracle pic 1\" \/><\/p>\n<p><strong>&nbsp;Root access required&nbsp;<\/strong><\/p>\n<p>Use root access to run the following command to unlock <strong>GRID_HOME<\/strong>:<\/p>\n<p>&nbsp; &nbsp; <em># cd GRID_HOME\/crs\/install<br \/>\n&nbsp; &nbsp; # rootcrs.sh -unlock<\/em><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture2_20.png\" alt=\"relinking oracle pic 2\" \/><\/p>\n<p><strong>&nbsp;Oracle Grid Infrastructure cluster owner access required&nbsp;<\/strong><\/p>\n<p>Use the Oracle Grid Infrastructure cluster owner access to perform the<br \/>\nfollowing steps:<\/p>\n<p>Verify that the environment variables <strong>$ORACLE_HOME<\/strong>&nbsp;and <strong>$PATH<\/strong>&nbsp;are set properly.&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture3_13.png\" alt=\"relinking oracle pic 3\" \/><\/p>\n<p>Take a backup of <strong>$ORACLE_HOME\/rdbms\/lib\/config.o<\/strong>&nbsp;before executing the&nbsp;relink command.&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture4_11.png\" alt=\"relinking oracle pic 4\" \/><\/p>\n<p>Execute the following commands to relink <strong>GRID_HOME<\/strong>:&nbsp;<\/p>\n<p><em>&nbsp; &nbsp; $ export ORACLE_HOME=Grid_home<br \/>\n&nbsp; &nbsp; $ Grid_home\/bin\/relink all<\/em><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture5_11.png\" alt=\"relinking oracle pic 5\" \/><\/p>\n<p>Review the relink log file for any errors.<\/p>\n<p><strong>&nbsp;Root access required&nbsp;<\/strong><\/p>\n<p>Use root access to run the following commands to lock the <strong>GRID-HOME<\/strong>&nbsp;binaries:<\/p>\n<p><em>&nbsp; &nbsp; # cd Grid_home\/rdbms\/install\/<br \/>\n&nbsp; &nbsp; # .\/rootadd_rdbms.sh<br \/>\n&nbsp; &nbsp; # cd Grid_home\/crs\/install<br \/>\n&nbsp; &nbsp; # rootcrs.sh -lock<\/em><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture6_8.png\" alt=\"relinking oracle pic 6\" \/><\/p>\n<p><strong>&nbsp;Relink Oracle database binaries&nbsp;<\/strong><\/p>\n<p>Make sure the environment variables <strong>$ORACLE_HOME<\/strong> and <strong>$PATH<\/strong> are set properly.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture7_8.png\" alt=\"relinking oracle pic 7\" \/><\/p>\n<p>Before proceeding with relink command, set <strong>umask<\/strong>&nbsp;to <em>022<\/em>.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26630-body-Picture8_8.png\" alt=\"relinking oracle pic 8\" \/><\/p>\n<p>&nbsp;<strong>Review the relink log file for any errors.<\/strong><\/p>\n<p>The <em>relink all<\/em>&nbsp;command resets the permissions of <strong>extjob<\/strong>, <strong>jssu<\/strong>, <strong>oradism<\/strong>, and <strong>externaljob.ora<\/strong>.<\/p>\n<p>You also need to execute the following commands, as root, to change permissions&nbsp;for the specified binaries:<\/p>\n<p><em>&nbsp;chown root $ORACLE_HOME\/bin\/oradism<br \/>\n&nbsp; &nbsp; chmod 4750 $ORACLE_HOME\/bin\/oradism<br \/>\n&nbsp; &nbsp; chown root $ORACLE_HOME\/bin\/extjob<br \/>\n&nbsp; &nbsp; chmod 4750 $ORACLE_HOME\/bin\/extjob<br \/>\n&nbsp; &nbsp; chown root $ORACLE_HOME\/rdbms\/admin\/externaljob.ora<br \/>\n&nbsp; &nbsp; chmod 640 &nbsp;$ORACLE_HOME\/rdbms\/admin\/externaljob.ora<br \/>\n&nbsp; &nbsp; chown root $ORACLE_HOME\/bin\/jssu<br \/>\n&nbsp; &nbsp; chmod 4750 $ORACLE_HOME\/bin\/jssu<br \/>\n&nbsp; &nbsp; chown root $ORACLE_HOME\/bin\/nmb<br \/>\n&nbsp; &nbsp; chmod 4710 $ORACLE_HOME\/bin\/nmb<br \/>\n&nbsp; &nbsp; chown root $ORACLE_HOME\/bin\/nmhs<br \/>\n&nbsp; &nbsp; chmod 4710 $ORACLE_HOME\/bin\/nmhs<br \/>\n&nbsp; &nbsp; chown root $ORACLE_HOME\/bin\/nmo<br \/>\n&nbsp; &nbsp; chmod 4710 $ORACLE_HOME\/bin\/nmo<\/em><\/p>\n<p>Start all clusters, database services, and verify that everything is working&nbsp;properly.<\/p>\n<p><strong>&nbsp;Conclusion<\/strong><\/p>\n<p>The relink process uses the combined expertise of the database administrator,&nbsp;system administrator, operating system programmer, and software programmer, and it ensures&nbsp;that the Oracle software works properly after you&#8217;ve done major changes to the&nbsp;servers at OS level.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Relinking Oracle v18c grid infrastructure for cluster and database binaries<\/p>\n","protected":false},"author":2,"featured_media":8257,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"content-type":"","nid":"26630","content_type":"blog","created_by":"10130","authored_on":"2024-02-20T14:55:00+00:00","field_article_industries":"","tag_category":"Technical","field_blog_author_text":"by Rackspace Technology Staff","seo_description":"Gain insights into relinking Oracle object files for ensuring availability and functionality. Learn about requirements and implementation.\r\n","field_featured_image":"","insights_image":"\/wp-content\/uploads\/2026\/blog_technical_images\/26630-insights_image-oracle-technical-blog-1-insights.jpg","field_partners":"Oracle","rxt_platforms":"Oracle","product":"","publisheddate":"2019-11-20T14:55:00","rxt_solutions":"Databases","opengraph_tag":"","x_tag":"","teaser_flag":"Technical Blog","seo_titile":"Relinking Oracle grid infrastructure for binaries | Rackspace Technology","field_topics":"","field_slug":"relinking-oracle-v18c-grid-infrastructure-for-a-cluster-and-database-binaries","footnotes":""},"categories":[178],"tags":[206,204],"class_list":["post-8255","blogs","type-blogs","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-oracle","tag-technical"],"_links":{"self":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/8255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs"}],"about":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/types\/blogs"}],"author":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/comments?post=8255"}],"version-history":[{"count":3,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/8255\/revisions"}],"predecessor-version":[{"id":9997,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/8255\/revisions\/9997"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/media\/8257"}],"wp:attachment":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/media?parent=8255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/categories?post=8255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/tags?post=8255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}