AIX 配置ASM


AIX平台为
引用
# oslevel -r
5300-06


配置CSS进程报错:
引用
# localconfig add
/etc/oracle does not exist. Creating it now.
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 102) is not exported from
                   dependent module /usr/lib/libC.a[ansi_64.o].
        0509-136   Symbol _Getnumpunct__FPCc (number 106) is not exported from
                   dependent module /usr/lib/libC.a[ansi_64.o].
        0509-136   Symbol __ct__Q2_3std8_LocinfoFPCci (number 176) is not exported from
                   dependent module /usr/lib/libC.a[ansi_64.o].
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Configuration for local CSS has been initialized

Adding to inittab
A file or directory in the path name does not exist.
/etc/init.cssd[911]: /etc/oracle/scls_scr/mcsvr/root/cssrun: 0403-005 Cannot create the specified file.
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
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 102) is not exported from
                   dependent module /usr/lib/libC.a[ansi_64.o].
        0509-136   Symbol _Getnumpunct__FPCc (number 106) is not exported from
                   dependent module /usr/lib/libC.a[ansi_64.o].
        0509-136   Symbol __ct__Q2_3std8_LocinfoFPCci (number 176) is not exported from
                   dependent module /usr/lib/libC.a[ansi_64.o].
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started


详见 metalink ID 334726.1


查看系统xlC.rte进程:
引用
# 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



xlC.aix50.rte下载地址为:
ftp://ftp.software.ibm.com/aix/products/ccpp/xlc-rte-aix-v8/

解压xlC.aix50.rte包:
引用
# uncompress xlc.rte.aix50.aug2006a.ptf.tar.Z
# tar -xvf  xlc.rte.aix50.aug2006a.ptf.tar
x xlC.aix50.rte.08.00.0000.0000.bff, 21315072 bytes, 41631 media blocks.
x xlC.aix50.rte.08.00.0000.0005.bff, 21453824 bytes, 41902 media blocks.
x xlC.msg.Ja_JP.rte.08.00.0000.0000.bff, 11776 bytes, 23 media blocks.
x xlC.msg.Ja_JP.rte.08.00.0000.0005.bff, 5120 bytes, 10 media blocks.
x xlC.msg.en_US.rte.08.00.0000.0000.bff, 10240 bytes, 20 media blocks.
x xlC.msg.en_US.rte.08.00.0000.0005.bff, 5120 bytes, 10 media blocks.
x xlC.msg.ja_JP.rte.08.00.0000.0000.bff, 11776 bytes, 23 media blocks.
x xlC.msg.ja_JP.rte.08.00.0000.0005.bff, 5120 bytes, 10 media blocks.
x xlC.rte.08.00.0000.0000.bff, 4022272 bytes, 7856 media blocks.
x xlC.rte.08.00.0000.0005.bff, 5120 bytes, 10 media blocks.
x xlsmp.aix50.rte.01.06.0000.0000.bff, 215040 bytes, 420 media blocks.
x xlsmp.aix50.rte.01.06.0000.0002.bff, 219136 bytes, 428 media blocks.
x xlsmp.msg.EN_US.rte.01.06.0000.0000.bff, 6144 bytes, 12 media blocks.
x xlsmp.msg.EN_US.rte.01.06.0000.0002.bff, 4096 bytes, 8 media blocks.
x xlsmp.msg.JA_JP.rte.01.06.0000.0000.bff, 7168 bytes, 14 media blocks.
x xlsmp.msg.JA_JP.rte.01.06.0000.0002.bff, 8192 bytes, 16 media blocks.
x xlsmp.msg.Ja_JP.rte.01.06.0000.0000.bff, 6144 bytes, 12 media blocks.
x xlsmp.msg.Ja_JP.rte.01.06.0000.0002.bff, 7168 bytes, 14 media blocks.
x xlsmp.msg.ZH_CN.rte.01.06.0000.0000.bff, 5632 bytes, 11 media blocks.
x xlsmp.msg.ZH_CN.rte.01.06.0000.0002.bff, 4096 bytes, 8 media blocks.
x xlsmp.msg.Zh_CN.rte.01.06.0000.0000.bff, 5120 bytes, 10 media blocks.
x xlsmp.msg.Zh_CN.rte.01.06.0000.0002.bff, 4096 bytes, 8 media blocks.
x xlsmp.msg.en_US.rte.01.06.0000.0000.bff, 6144 bytes, 12 media blocks.
x xlsmp.msg.en_US.rte.01.06.0000.0002.bff, 4096 bytes, 8 media blocks.
x xlsmp.msg.ja_JP.rte.01.06.0000.0000.bff, 6144 bytes, 12 media blocks.
x xlsmp.msg.ja_JP.rte.01.06.0000.0002.bff, 7168 bytes, 14 media blocks.
x xlsmp.msg.zh_CN.rte.01.06.0000.0000.bff, 5120 bytes, 10 media blocks.
x xlsmp.msg.zh_CN.rte.01.06.0000.0002.bff, 4096 bytes, 8 media blocks.
x xlsmp.rte.01.06.0000.0000.bff, 10752 bytes, 21 media blocks.
x xlsmp.rte.01.06.0000.0002.bff, 4096 bytes, 8 media blocks.


升级fileset:
引用
# smitty install_latest


升级后结果显示:
引用
# lslpp -l |grep xlC
  xlC.aix50.rte              8.0.0.5  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          8.0.0.5  COMMITTED  C Set ++ Runtime
  xlC.rte                    8.0.0.5  COMMITTED  C Set ++ Runtime

重配CSS:
引用
# localconfig reset
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Configuration for local CSS has been initialized

Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        mcsvr
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)


其他过程不赘述

你可能感兴趣的:(oracle,C++,c,css,AIX)