企业做网站怎么做全自动引流推广软件免费
近期,在某用户的测试环境,需要将RAC转为单机模式,然后进行数据恢复;一开始只是将数据库软件通过make -f ins_rdbms.mk rac_off 和 make -f ins_rdbms.mk ioracle关闭RAC模式;然后在启动数据库(sqlplus / as sysdba登录后startup时报错:ORA-00600: internal error code, arguments: [kgfz_getDiskAccessMode:ntyp], [0], [], [], [], [], [], [], [], [], [], []
ORA-29701: unable to connect to Cluster Synchronization Service);
MOS文档Database reports ORA-600 KGFZ_GETDISKACCESSMODE:NTYP when starting (Doc ID 2587331.1)显示,12.2开始需要彻底卸载集群,进行卸载后可以正常进行启动和恢复(卸载参考How to Deconfigure/Reconfigure(Rebuild OCR) or Deinstall Grid Infrastructure (Doc ID 1377349.1),注意Note: in 12c, or higher, while performing the procedure, instead of rootcrs.pl, rootcrs.sh should be used if exists in the same location as rootcrs.pl)。
处理过程如下:
1.数据库软件从集群转为单机模式
[oracle@test1 lib]$ make -f ins_rdbms.mk rac_off
rm -f /home/u01/app/product/12.2.0/db_1/lib/libskgxp12.so
cp /home/u01/app/product/12.2.0/db_1/lib//libskgxpg.so /home/u01/app/product/12.2.0/db_1/lib/libskgxp12.so
rm -f /home/u01/app/product/12.2.0/db_1/lib/libskgxn2.so
cp /home/u01/app/product/12.2.0/db_1/lib//libskgxns.so \/home/u01/app/product/12.2.0/db_1/lib/libskgxn2.so
/usr/bin/ar cr /home/u01/app/product/12.2.0/db_1/rdbms/lib/libknlopt.a /home/u01/app/product/12.2.0/db_1/rdbms/lib/ksnkcs.o
[oracle@test1 lib]$ make -f ins_rdbms.mk ioracle
chmod 755 /home/u01/app/product/12.2.0/db_1/bin- Linking Oracle
rm -f /home/u01/app/product/12.2.0/db_1/rdbms/lib/oracle
/home/u01/app/product/12.2.0/db_1/bin/orald -o /home/u01/app/product/12.2.0/db_1/rdbms/lib/oracle -m64 -z noexecstack -Wl,--disable-new-dtags -L/home/u01/app/product/12.2.0/db_1/rdbms/lib/ -L/home/u01/app/product/12.2.0/db_1/lib/ -L/home/u01/app/product/12.2.0/db_1/lib/stubs/ -Wl,-E /home/u01/app/product/12.2.0/db_1/rdbms/lib/opimai.o /home/u01/app/product/12.2.0/db_1/rdbms/lib/ssoraed.o /home/u01/app/product/12.2.0/db_1/rdbms/lib/ttcsoi.o -Wl,--whole-archive -lperfsrv12 -Wl,--no-whole-archive /home/u01/app/product/12.2.0/db_1/lib/nautab.o /home/u01/app/product/12.2.0/db_1/lib/naeet.o /home/u01/app/product/12.2.0/db_1/lib/naect.o /home/u01/app/product/12.2.0/db_1/lib/naedhs.o /home/u01/app/product/12.2.0/db_1/rdbms/lib/config.o -ldmext -lserver12 -lodm12 -lofs -lcell12 -lnnet12 -lskgxp12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -lclient12 -lvsn12 -lcommon12 -lgeneric12 -lknlopt `if /usr/bin/ar tv /home/u01/app/product/12.2.0/db_1/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap12" ; fi` -lskjcx12 -lslax12 -lpls12 -lrt -lplp12 -ldmext -lserver12 -lclient12 -lvsn12 -lcommon12 -lgeneric12 `if [ -f /home/u01/app/product/12.2.0/db_1/lib/libavserver12.a ] ; then echo "-lavserver12" ; else echo "-lavstub12"; fi` `if [ -f /home/u01/app/product/12.2.0/db_1/lib/libavclient12.a ] ; then echo "-lavclient12" ; fi` -lknlopt -lslax12 -lpls12 -lrt -lplp12 -ljavavm12 -lserver12 -lwwg `cat /home/u01/app/product/12.2.0/db_1/lib/ldflags` -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lngsmshd12 -lnro12 `cat /home/u01/app/product/12.2.0/db_1/lib/ldflags` -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lngsmshd12 -lnnzst12 -lzt12 -lztkg12 -lmm -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -lztkg12 `cat /home/u01/app/product/12.2.0/db_1/lib/ldflags` -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lngsmshd12 -lnro12 `cat /home/u01/app/product/12.2.0/db_1/lib/ldflags` -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lngsmshd12 -lnnzst12 -lzt12 -lztkg12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 `if /usr/bin/ar tv /home/u01/app/product/12.2.0/db_1/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo12 -lserver12"; fi` -L/home/u01/app/product/12.2.0/db_1/ctx/lib/ -lctxc12 -lctx12 -lzx12 -lgx12 -lctx12 -lzx12 -lgx12 -lordimt12 -lclsra12 -ldbcfg12 -lhasgen12 -lskgxn2 -lnnzst12 -lzt12 -lxml12 -lgeneric12 -locr12 -locrb12 -locrutl12 -lhasgen12 -lskgxn2 -lnnzst12 -lzt12 -lxml12 -lgeneric12 -lgeneric12 -lorazip -loraz -llzopro5 -lorabz2 -lipp_z -lipp_bz2 -lippdcemerged -lippsemerged -lippdcmerged -lippsmerged -lippcore -lippcpemerged -lippcpmerged -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -lsnls12 -lunls12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12 -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -lasmclnt12 -lcommon12 -lcore12 -laio -lons -lfthread12 `cat /home/u01/app/product/12.2.0/db_1/lib/sysliblist` -Wl,-rpath,/home/u01/app/product/12.2.0/db_1/lib -lm `cat /home/u01/app/product/12.2.0/db_1/lib/sysliblist` -ldl -lm -L/home/u01/app/product/12.2.0/db_1/lib `test -x /usr/bin/hugeedit -a -r /usr/lib64/libhugetlbfs.so && test -r /home/u01/app/product/12.2.0/db_1/rdbms/lib/shugetlbfs.o && echo -Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=2097152 -lhugetlbfs`
test ! -f /home/u01/app/product/12.2.0/db_1/bin/oracle || (\mv -f /home/u01/app/product/12.2.0/db_1/bin/oracle /home/u01/app/product/12.2.0/db_1/bin/oracleO &&\chmod 600 /home/u01/app/product/12.2.0/db_1/bin/oracleO )
mv /home/u01/app/product/12.2.0/db_1/rdbms/lib/oracle /home/u01/app/product/12.2.0/db_1/bin/oracle
chmod 6751 /home/u01/app/product/12.2.0/db_1/bin/oracle
2.启动数据库实例时的报错
[oracle@test1 ~]$ sqlplus / as sysdbaSQL*Plus: Release 12.2.0.1.0 Production on Fri Sep 8 18:33:57 2023Copyright (c) 1982, 2016, Oracle. All rights reserved.Connected to an idle instance.SQL>
SQL>
SQL> startup nomount
ORA-00600: internal error code, arguments: [kgfz_getDiskAccessMode:ntyp], [0], [], [], [], [], [], [], [], [], [], []
ORA-29701: unable to connect to Cluster Synchronization Service
SQL> exit
Disconnected
3.对集群软件进行卸载时的报错及日志--12C开始需要用Note: in 12c, or higher, while performing the procedure, instead of rootcrs.pl, rootcrs.sh should be used if exists in the same location as rootcrs.pl
[root@test1 ~]# /home/u01/grid/crs/install/rootcrs.pl -deconfig -force -verbose
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /home/u01/grid/crs/install /home/u01/grid/crs/install/../../perl/lib) at /home/u01/grid/crs/install/crsinstall.pm line 286.
BEGIN failed--compilation aborted at /home/u01/grid/crs/install/crsinstall.pm line 286.
Compilation failed in require at /home/u01/grid/crs/install/rootcrs.pl line 165.
BEGIN failed--compilation aborted at /home/u01/grid/crs/install/rootcrs.pl line 165.
[root@test1 ~]# /home/u01/grid/crs/install/rootcrs.pl -deconfig -force -verbose -lastnode
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /home/u01/grid/crs/install /home/u01/grid/crs/install/../../perl/lib) at /home/u01/grid/crs/install/crsinstall.pm line 286.
BEGIN failed--compilation aborted at /home/u01/grid/crs/install/crsinstall.pm line 286.
Compilation failed in require at /home/u01/grid/crs/install/rootcrs.pl line 165.
BEGIN failed--compilation aborted at /home/u01/grid/crs/install/rootcrs.pl line 165.
[root@test1 ~]# /home/u01/grid/crs/install/rootcrs.sh -deconfig -force -verbose -lastnode
Using configuration parameter file: /home/u01/grid/crs/install/crsconfig_params
The log of current session can be found at:/home/u01/gridbase/crsdata/test1/crsconfig/crsdeconfig_test1_2023-09-08_06-43-59PM.log
PRCR-1070 : Failed to check if resource ora.cvu is registeredCRS-0184 : Cannot communicate with the CRS daemon.2023/09/08 18:44:10 CLSRSC-180: An error occurred while executing the command '/home/u01/grid/bin/srvctl stop cvu -f'
PRCR-1070 : Failed to check if resource ora.cvu is registeredCRS-0184 : Cannot communicate with the CRS daemon.2023/09/08 18:44:10 CLSRSC-180: An error occurred while executing the command '/home/u01/grid/bin/srvctl remove cvu -f'
PRCR-1068 : Failed to query resourcesCRS-0184 : Cannot communicate with the CRS daemon.2023/09/08 18:44:11 CLSRSC-180: An error occurred while executing the command '/home/u01/grid/bin/srvctl stop scan_listener -f'
PRCR-1068 : Failed to query resourcesCRS-0184 : Cannot communicate with the CRS daemon.2023/09/08 18:44:11 CLSRSC-180: An error occurred while executing the command '/home/u01/grid/bin/srvctl remove scan_listener -y -f'
PRCR-1068 : Failed to query resources
CRS-0184 : Cannot communicate with the CRS daemon.
2023/09/08 18:44:12 CLSRSC-180: An error occurred while executing the command '/home/u01/grid/bin/srvctl stop scan -f'
PRCR-1068 : Failed to query resources
CRS-0184 : Cannot communicate with the CRS daemon.
2023/09/08 18:44:13 CLSRSC-180: An error occurred while executing the command '/home/u01/grid/bin/srvctl remove scan -y -f'
PRCR-1070 : Failed to check if resource ora.net1.network is registered
CRS-0184 : Cannot communicate with the CRS daemon.
PRCR-1070 : Failed to check if resource ora.helper is registered
CRS-0184 : Cannot communicate with the CRS daemon.
PRCR-1070 : Failed to check if resource ora.ons is registered
CRS-0184 : Cannot communicate with the CRS daemon.2023/09/08 18:44:13 CLSRSC-180: An error occurred while executing the command '/home/u01/grid/bin/srvctl config nodeapps'