问题描述
问题:
# /oracle/app/oracle/product/10.2.0/crs_1/root.sh WARNING: directory '/oracle/app/oracle/product/10.2.0' is not owned by root WARNING: directory '/oracle/app/oracle/product' is not owned by root WARNING: directory '/oracle/app/oracle' is not owned by root WARNING: directory '/oracle/app' is not owned by root WARNING: directory '/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured Checking to see if any 9i GSD is up Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/oracle/app/oracle/product/10.2.0' is not owned by root WARNING: directory '/oracle/app/oracle/product' is not owned by root WARNING: directory '/oracle/app/oracle' is not owned by root WARNING: directory '/oracle/app' is not owned by root WARNING: directory '/oracle' is not owned by root exec(): 0509-036 Cannot load program crsctl.bin because of the following errors: 0509-130 Symbol resolution failed for crsctl.bin because: 0509-136 Symbol _Getctype__FPCc (number 101) is not exported from dependent module /usr/lib/libC.a[ansi_64.o]. 0509-136 Symbol _Getnumpunct__FPCc (number 105) is not exported from dependent module /usr/lib/libC.a[ansi_64.o]. 0509-192 Examine .loader section symbols with the 'dump -Tv' command. Failure initializing entries in /etc/oracle/scls_scr/bdpbak1.
专家解答
解决的问题很简单,其它也是自己没有认真看官方文档的原因,原来没有在这么低的版本安装过,下面是官方文档中的要求
The following operating system filesets are required: bos.adt.basebos.adt.lib bos.adt.libm bos.perf.libperfstat bos.perf.perfstat bos.perf.proctools rsct.basic.rte rsct.compat.clients.rte xlC.aix50.rte 7.0.0.4 xlC.rte 7.0.0.1 To obtain the previous two xlC filesets mentioned here, Oracle Database10gR2 users who do not install the IBM XL C/C++ Enterprise Edition V7.0 compiler should install the IBM XL C/C++ Enterprise Edition V7.0 for AIX Runtime Environment Component. Download all runtime environment file sets, with no license requirement, in one package from the following Web site:
下面是自己环境的情况
# lslpp -l|grep xlC xlC.aix50.rte 6.0.0.13 COMMITTED C Set ++ Runtime for AIX 5.0 xlC.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor xlC.msg.en_US.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor xlC.msg.en_US.rte 6.0.0.0 COMMITTED C Set ++ Runtime xlC.rte 6.0.0.0 COMMITTED C Set ++ Runtime # lslpp -l|grep xlC xlC.adt.include 10.1.0.0 COMMITTED C Set ++ Application xlC.aix50.rte 10.1.0.0 COMMITTED XL C/C++ Runtime for AIX 5.3 xlC.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor xlC.msg.en_US.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor xlC.msg.en_US.rte 10.1.0.0 COMMITTED XL C/C++ Runtime xlC.rte 10.1.0.0 COMMITTED XL C/C++ Runtime 可以运行xlC来查看是否成功,再次运行root.sh正常
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。