ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle软件安装 - 什么情况下需要relink all

Oracle软件安装 - 什么情况下需要relink all

原创 Linux操作系统 作者:tolywang 时间:2009-12-02 09:49:37 0 删除 编辑

http://www.itpub.net/viewthread.php?tid=645870&extra=&page=1  

 

同一种os 但是大版本有差异,比如 linux  redhat  AS2.1 和  AS3  ,虽然直接拷贝也可能可以用,但还是建议重新link一下。 

To relink Oracle executables:
1. Verify whether ORACLE_HOME is correctly set.
2. Set LD_LIBRARY_PATH to include
$ORACLE_HOME/lib.
3. Execute the appropriate relink command:
– relink all (relinks all Oracle executables)
– relink oracle (relinks the database executables)
– relink network (relinks listener, cman, names)
– relink oemagent (relinks the Intelligent Agent)
– relink utilities (relinks sqlplus, imp, exp)
– relink ctx (relinks Oracle Text)

Using the Oracle Relink Utility
Oracle Corporation does not distribute complete executables. Instead, it distributes
individual object files, library archives of object files, and some source files which then get
“linked” at the operating system level during installation to create usable executables. This
guarantees a reliable integration with functions provided by the OS system libraries. If the
OS or Oracle object files change, then Oracle executables should be “relinked” to create
updated executables that are properly integrated with the operating system.
Relinking occurs automatically when a patch set is installed, but must be performed
manually when:
• An OS upgrade has occurred
• A change has been made to the OS system libraries. This can occur during the
application of an OS patch.
• A new install failed during the relinking phase
• An individual Oracle patch has been applied (explicit relink instructions are usually
included in README or integrated into the patch install script)
To relink, you may use the relink utility as shown in the slide, or manually relink with the
make command. Unlike OPatch, the relink utility does not return positive feedback. Unless
you receive an error message, the relink succeeded.

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/35489/viewspace-621794/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14695370