重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1257|回复: 0
打印 上一主题 下一主题

[Oracle] Relink fails with $ORACLE_HOME/rdbms/admin/shrept.lst missing

[复制链接]
跳转到指定楼层
楼主
发表于 2025-1-19 00:04:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
Relink fails with error  $ORACLE_HOME/rdbms/admin/shrept.lst missing

[Sep 16, 2013 11:24:36 AM] OUI-67050:Running make for target client_sharedlib
[Sep 16, 2013 11:24:36 AM] Start invoking 'make' at Mon Sep 16 11:24:36 EDT 2013Mon Sep 16 11:24:36 EDT 2013
[Sep 16, 2013 11:24:36 AM] Finish invoking 'make' at Mon Sep 16 11:24:36 EDT 2013
[Sep 16, 2013 11:24:36 AM] OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/oracle/product/11203/db_2"....'genclntsh: Could not locate /oracle/product/11203/db_2/rdbms/admin/shrept.lst
  genclntsh: exiting ...
  make: 1254-004 The error code from the last command is 1.
    Stop.  '
[Sep 16, 2013 11:24:36 AM] Stack Description: java.lang.RuntimeException: genclntsh: Could not locate /oracle/product/11203/db_2/rdbms/admin/shrept.lst
  genclntsh: exiting ...
  make: 1254-004 The error code from the last command is 1.
  Stop.
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.MakeAction.apply(MakeAction.java:587)
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.OPatchSession.runMake(OPatchSession.java:783)
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.MergedPatchObject.invokeConsolidatedMake(MergedPatchObject.java:1954)
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:3542)
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1136)
[Sep 16, 2013 11:24:36 AM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Sep 16, 2013 11:24:36 AM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[Sep 16, 2013 11:24:36 AM] StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Sep 16, 2013 11:24:36 AM] StackTrace: java.lang.reflect.Method.invoke(Method.java:618)
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:322)
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2346)
[Sep 16, 2013 11:24:36 AM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:613)
[Sep 16, 2013 11:24:36 AM] OUI-67050:Running make for target iplshprof
[Sep 16, 2013 11:24:36 AM] Start invoking 'make' at Mon Sep 16 11:24:36 EDT 2013Mon Sep 16 11:24:36 EDT 2013
[Sep 16, 2013 11:24:40 AM] Finish invoking 'make' at Mon Sep 16 11:24:40 EDT 201


改动:
Applying PSU Patch

原因:
$ORACLE_HOME/rdbms/admin/shrept.lst does not exist.

ls -al $ORACLE_HOME/rdbms/admin/shrept.lst
ls: 0653-341 The file $ORACLE_HOME/rdbms/admin/shrept.lst does not exist.

处理方法:
OPTION 1:

Manually copy the file from another Similar installation. (The Oracle Database Binary Installation on Same Platform Architecture)

Using the 'ls -al' command, check that the file has 644 permissions:


-rw-r--r-- $ORACLE_HOME/rdbms/admin/shrept.lst

If necessary, change the permissions using the command:

chmod 644 $ORACLE_HOME/rdbms/admin/shrept.lst
Now manually relink using the command 'relink all'

OPTION 2:

Extract the missing file from the installation media as follows:

For 11.1.0.6

cd $ORACLE_HOME
jar xvf <path>/stage/Components/oracle.rdbms.rsf/11.1.0.6.0/1/DataFiles/filegroup9.jar rdbms/admin/shrept.lst
For 11.2.0.1

cd $ORACLE_HOME
jar xvf <path>/stage/Components/oracle.rdbms.rsf/11.2.0.1.0/1/DataFiles/filegroup11.jar rdbms/admin/shrept.lst
For 11.2.0.2

cd $ORACLE_HOME
jar xvf <path>/stage/Components/oracle.rdbms.rsf/11.2.0.2.0/1/DataFiles/filegroup11.jar rdbms/admin/shrept.lst
For 11.2.0.3

cd $ORACLE_HOME
jar xvf <path>/stage/Components/oracle.rdbms.rsf/11.2.0.3.0/1/DataFiles/filegroup11.jar rdbms/admin/shrept.lst
For 11.2.0.4

cd $ORACLE_HOME
jar xvf <path>/stage/Components/oracle.rdbms.rsf/11.2.0.4.0/1/DataFiles/filegroup11.jar rdbms/admin/shrept.lst
Using the 'ls -al' command, check that the file has 644 permissions:

-rw-r--r-- $ORACLE_HOME/rdbms/admin/shrept.lst


If necessary, change the permissions using the command:

chmod 644 $ORACLE_HOME/rdbms/admin/shrept.lst
Now manually relink using the command 'relink all'

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2025-2-5 02:34 , Processed in 0.114061 second(s), 22 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表