现象:
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'
|