Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

90

积分

0

好友

0

主题
1#
发表于 2012-4-20 22:54:47 | 查看: 5613| 回复: 2
opatch apply失败,请ML帮忙分析下原因,谢谢
环境信息:
db oracle 9.2.0.7
gzlt:oracle 12>oslevel -s
5300-05-00


ld: 0711-870 WARNING: Symbol table entry 93 in object /oracle/QAS/920_64/lib//libpls9.a[pen.o]:

        Unknown symbol type 17. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 37 in object /oracle/QAS/920_64/lib//libpls9.a[pen.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 38 in object /oracle/QAS/920_64/lib//libpls9.a[pen.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 111 in object /oracle/QAS/920_64/lib//libpls9.a[pen.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 112 in object /oracle/QAS/920_64/lib//libpls9.a[pen.o]:

        Unknown symbol type 17. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 7 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 1. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 8 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 17 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 18 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 27. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 251 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 252) in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        The symbol refers to a csect with symbol number 0, which was not

        found. The new symbol cannot be associated with a csect and

        is being ignored.

ld: 0711-870 WARNING: Symbol table entry 505 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 522 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-870 WARNING: Symbol table entry 523 in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        Unknown symbol type 0. The symbol is being copied to the output file.

ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 524) in object /oracle/QAS/920_64/lib//libpls9.a[pvm.o]:

        The symbol refers to a csect with symbol number 0, which was not

        found. The new symbol cannot be associated with a csect and

        is being ignored.

ld: 0711-866 INTERNAL ERROR: Output symbol table size miscalculated.

ld: 0711-759 INTERNAL ERROR: Source file xoutxx.c, line 470.

        Depending on where this product was acquired, contact your service

        representative or the approved supplier.

make: 1254-004 The error code from the last command is 16.





Stop.

Make failed.  If you continue, you will have to run make manually on the local system.  
Do you want to STOP?
Please respond Y|N >
Y
Local make failed.  See log file for details.

ERROR: OPatch failed as make operation did not succeed!

gzlt:oracle 12>
2#
发表于 2012-4-21 22:03:36
你在打哪一个 patch ?
action plan:

列出一下命令的输出:

mount


OSpackagesOK=true
if /usr/bin/test -x /usr/bin/lslpp
then
  for PACKAGE in "bos.adt.base" "bos.adt.lib" "bos.adt.libm" "bos.perf.perfstat" "bos.perf.libperfstat" "bos.perf.proctools"
  do
    if [ `/usr/bin/lslpp -l | /usr/bin/grep -c $PACKAGE` != 0 ]
    then
      STATE=`/usr/bin/lslpp -l | /usr/bin/grep $PACKAGE | /usr/bin/awk '{print $3}' | /usr/bin/sed '2,$d'`
      if [ $STATE != "COMMITTED" ]
      then
         if [ $STATE != "APPLIED" ]
         then
            /usr/bin/echo "$PACKAGE"NotApplied
            OSpackagesOK=false
         fi
      fi
    else
      /usr/bin/echo "$PACKAGE"NotInstalled
      OSpackagesOK=false
    fi
  done
else
  /usr/bin/echo "NoAccess"

  OSpackagesOK=false
fi
if [ $OSpackagesOK = true ]
then
   /usr/bin/echo "All required OS packages are installed"
fi


OSpatchesOK=true
if /usr/bin/test oslevel
then
  OSVER4CHAR=`/usr/bin/oslevel -r | /usr/bin/awk -F- '{print $1}'`
else
  OSVER4CHAR="0000"
fi
if test -x /usr/sbin/instfix
then
  if [ $OSVER4CHAR -eq "5200" ]
  then
    for PATCH in IY63133 IY64978 IY63366 IY64691 IY64737 IY65001
    do
      if [ `/usr/sbin/instfix -ik $PATCH 2>&1 | /usr/bin/grep -ic "no"` != 0 ]
      then
        /usr/bin/echo "$PATCH"_NotInstalled
        OSpatchesOK=false
      fi
    done
    if [ `/usr/sbin/instfix -ik 5200-04_AIX_ML 2>&1 | /usr/bin/grep -ic "no"` != 0 ]
    then
      /usr/bin/echo "5200-04_AIX_ML_NotInstalled"

      OSpatchesOK=false
    fi
  elif [ $OSVER4CHAR -eq "5300" ]
    then
    for PATCH in IY58143 IY59386 IY60930 IY66513 IY70159
    do
      if [ `/usr/sbin/instfix -ik $PATCH 2>&1 | /usr/bin/grep -ic "no"` != 0 ]
      then
        /usr/bin/echo "$PATCH"_NotInstalled
        OSpatchesOK=false
      fi
    done
    if [ `/usr/sbin/instfix -ik 5300-02_AIX_ML 2>&1 | /usr/bin/grep -ic "no"` != 0 ]
    then
      /usr/bin/echo "5300-02_AIX_ML_NotInstalled"
      OSpatchesOK=false
    fi
  fi
else
  /usr/bin/echo "NoAccess"

  OSpatchesOK=false
fi
if [ $OSpatchesOK = true ]
then
   /usr/bin/echo "PatchesFound"
fi

回复 只看该作者 道具 举报

3#
发表于 2012-4-23 11:04:49
gzlt:/#sh /tmp/patch.sh
All required OS packages are installed
PatchesFound

回复 只看该作者 道具 举报

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

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-15 13:02 , Processed in 0.049336 second(s), 22 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569