RAC一個節點錯誤CRS-4047: No Oracle Clusterware components configured

muxinqing發表於2014-01-14

[grid@his2 install]$ ./rootcrs.pl --help 
Unknown option: dconfig
Usage:
      rootcrs.pl [-verbose] [-upgrade | -patch]
                 [-paramfile ]
                 [-deconfig | -downgrade] [-force] [-lastnode]
                 [-downgrade] [-oldcrshome ] [-version
                 [-unlock [-crshome ]]

      Options:
       -verbose    Run this script in verbose mode
       -upgrade    Oracle HA is being upgraded from previous version
       -patch      Oracle HA is being upgraded to a patch version
       -paramfile  Complete path of file specifying HA parameter values
       -lastnode   Force the node this is executing on to be considered the
                   last node of the install and perform actions associated
                   with configuring the last node
       -downgrade  Downgrade the clusterware
       -version    For use with downgrade; special handling is required if
                   downgrading to 9i. This is the old crs version in the format
                   A.B.C.D.E (e.g 11.1.0.6.0).
       -deconfig   Remove Oracle Clusterware to allow it to be uninstalled or reinstalled.
       -force      Force the execution of steps in delete that cannot be verified
                   to be safe
       -unlock     Unlock CRS home
       -crshome    Complete path of crs home. Use with unlock option.
       -oldcrshome For use with downgrade. Complete path of the old crs home.

      If neither -upgrade nor -patch is supplied, a new install is performed

      To see the full manpage for this program, execute:
        perldoc rootcrs.pl

[grid@his2 install]$ ./rootcrs.pl -deconfig -verbose -force 清楚crs
You must be logged in as root to run this script.
Log in as root and rerun this script.
2014-01-05 17:40:34: Not running as authorized user
Insufficient privileges to execute this script.
root or administrative privileges needed to run the script.
[grid@his2 install]$ exit
logout
[root@his2 etc]# cd /app/grid/product/11.2.0/grid/cr
crf/ crs/
[root@his2 etc]# cd /app/grid/product/11.2.0/grid/crs/install/
[root@his1 install]# ./rootcrs.pl -deconfig -verbose -force
Using configuration parameter file: ./crsconfig_params
Network exists: 1/192.168.20.0/255.255.255.0/eth0, type static
VIP exists: /his1-vip/192.168.20.6/192.168.20.0/255.255.255.0/eth0, hosting node his1
VIP exists: /his2-vip/192.168.20.7/192.168.20.0/255.255.255.0/eth0, hosting node his2
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
PRCR-1014 : Failed to stop resource ora.net1.network
PRCR-1065 : Failed to stop resource ora.net1.network
CRS-2529: Unable to act on 'ora.net1.network' because that would require stopping or relocating 'ora.cvu', but the force option was not specified

ACFS-9200: Supported
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'his1'
CRS-2677: Stop of 'ora.registry.acfs' on 'his1' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'his1'
CRS-2673: Attempting to stop 'ora.crsd' on 'his1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'his1'
CRS-2673: Attempting to stop 'ora.cvu' on 'his1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'his1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'his1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'his1'
CRS-2673: Attempting to stop 'ora.ORACRS.dg' on 'his1'
CRS-2673: Attempting to stop 'ora.ORADATA.dg' on 'his1'
CRS-2673: Attempting to stop 'ora.ORAFAR.dg' on 'his1'
CRS-2677: Stop of 'ora.cvu' on 'his1' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'his1'
CRS-2677: Stop of 'ora.scan1.vip' on 'his1' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.his2.vip' on 'his1'
CRS-2677: Stop of 'ora.his2.vip' on 'his1' succeeded
CRS-2677: Stop of 'ora.ORADATA.dg' on 'his1' succeeded
CRS-2677: Stop of 'ora.ORAFAR.dg' on 'his1' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'his1' succeeded
CRS-2677: Stop of 'ora.ORACRS.dg' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'his1'
CRS-2677: Stop of 'ora.asm' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'his1'
CRS-2677: Stop of 'ora.net1.network' on 'his1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'his1' has completed
CRS-2677: Stop of 'ora.crsd' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'his1'
CRS-2673: Attempting to stop 'ora.crf' on 'his1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'his1'
CRS-2673: Attempting to stop 'ora.evmd' on 'his1'
CRS-2673: Attempting to stop 'ora.asm' on 'his1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'his1'
CRS-2677: Stop of 'ora.asm' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'his1'
CRS-2677: Stop of 'ora.crf' on 'his1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'his1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'his1' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'his1' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'his1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'his1'
CRS-2677: Stop of 'ora.cssd' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'his1'
CRS-2673: Attempting to stop 'ora.diskmon' on 'his1'
CRS-2677: Stop of 'ora.diskmon' on 'his1' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'his1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'his1'
CRS-2677: Stop of 'ora.gpnpd' on 'his1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'his1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node
[root@his1 install]# su - grid
[grid@his1 ~]$ crsctl check crs
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Check failed, or completed with errors.
[grid@his1 ~]$ cd /app/grid/product/11.2.0/grid/

[root@his2 install]# ls
cmdllroot.sh             inittab                 preupdate.sh
crsconfig_addparams.sbs  install.excl            rootcrs.pl
crsconfig_lib.pm         install.incl            roothas.pl
crsconfig_params         installRemove.excl      rootofs.sh
crsconfig_params.sbs     onsconfig               s_crsconfig_defs
crsdelete.pm             oracss.pm               s_crsconfig_his2_env.txt
crspatch.pm              paramfile.crs           s_crsconfig_lib.pm
hasdconfig.pl            ParentDirPerm_his2.txt
[root@his2 install]# cd /app/grid/product/11.2.0/grid/
[root@his2 grid]# sh root.sh               重新執行root.sh指令碼
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /app/grid/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /app/grid/product/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
Adding daemon to inittab
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node his1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
PRKO-2190 : VIP exists for node his2, VIP name his2-vip
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@his2 grid]# su - grid
[grid@his2 ~]$ crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora....ER.lsnr ora....er.type ONLINE    ONLINE    his1       
ora....N1.lsnr ora....er.type ONLINE    ONLINE    his1       
ora.ORAARCH.dg ora....up.type ONLINE    ONLINE    his1       
ora.ORACRS.dg  ora....up.type ONLINE    ONLINE    his1       
ora.ORADATA.dg ora....up.type ONLINE    ONLINE    his1       
ora.asm        ora.asm.type   ONLINE    ONLINE    his1       
ora.crds3db.db ora....se.type ONLINE    ONLINE    his1       
ora.cvu        ora.cvu.type   ONLINE    ONLINE    his1       
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE              
ora....SM1.asm application    ONLINE    ONLINE    his1       
ora....S1.lsnr application    ONLINE    ONLINE    his1       
ora.his1.gsd   application    OFFLINE   OFFLINE              
ora.his1.ons   application    ONLINE    ONLINE    his1       
ora.his1.vip   ora....t1.type ONLINE    ONLINE    his1       
ora....SM2.asm application    ONLINE    ONLINE    his2       
ora....S2.lsnr application    ONLINE    ONLINE    his2       
ora.his2.gsd   application    OFFLINE   OFFLINE              
ora.his2.ons   application    ONLINE    ONLINE    his2       
ora.his2.vip   ora....t1.type ONLINE    ONLINE    his2       
ora....network ora....rk.type ONLINE    ONLINE    his1       
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    his1       
ora.ons        ora.ons.type   ONLINE    ONLINE    his1       
ora....ry.acfs ora....fs.type ONLINE    ONLINE    his1       
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    his1       
[grid@his2 ~]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
----------------------------------------------------------------------------------------------end------------------------------------------------------------------------------

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29065182/viewspace-1070544/,如需轉載,請註明出處,否則將追究法律責任。

相關文章