• How to Deinstall Oracle Clusterware Home Manually


    ###sample 0:安装GI 和DB soft 都成功,如何回退DB soft

    [opdb@pdbdb01:/db/db/app/db/product/11204/deinstall]$ ./deinstall
    Checking for required files and bootstrapping ...
    Please wait ...
    Location of logs /db/db/app/oraInventory/logs/

    ############ ORACLE DEINSTALL & DECONFIG TOOL START ############


    ######################### CHECK OPERATION START #########################
    ## [START] Install check configuration ##


    Checking for existence of the Oracle home location /db/db/app/db/product/11204
    Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database
    Oracle Base selected for deinstall is: /db/db/app/db
    Checking for existence of central inventory location /db/db/app/oraInventory
    Checking for existence of the Oracle Grid Infrastructure home /db/db/grid/11.2.0
    The following nodes are part of this cluster: pdbdb01,pdbdb02
    Checking for sufficient temp space availability on node(s) : 'pdbdb01,pdbdb02'

    ## [END] Install check configuration ##


    Network Configuration check config START

    Network de-configuration trace file location: /db/db/app/oraInventory/logs/netdc_check2019-04-26_08-33-43-PM.log

    Network Configuration check config END

    Database Check Configuration START

    Database de-configuration trace file location: /db/db/app/oraInventory/logs/databasedc_check2019-04-26_08-33-46-PM.log

    Use comma as separator when specifying list of values as input

    Specify the list of database names that are configured in this Oracle home []:
    Database Check Configuration END

    Enterprise Manager Configuration Assistant START

    EMCA de-configuration trace file location: /db/db/app/oraInventory/logs/emcadc_check2019-04-26_08-33-59-PM.log

    Enterprise Manager Configuration Assistant END
    Oracle Configuration Manager check START
    OCM check log file location : /db/db/app/oraInventory/logs//ocm_check1132.log
    Oracle Configuration Manager check END

    ######################### CHECK OPERATION END #########################


    ####################### CHECK OPERATION SUMMARY #######################
    Oracle Grid Infrastructure Home is: /db/db/grid/11.2.0
    The cluster node(s) on which the Oracle home deinstallation will be performed are:pdbdb01,pdbdb02
    Oracle Home selected for deinstall is: /db/db/app/db/product/11204
    Inventory Location where the Oracle home registered is: /db/db/app/oraInventory
    No Enterprise Manager configuration to be updated for any database(s)
    No Enterprise Manager ASM targets to update
    No Enterprise Manager listener targets to migrate
    Checking the config status for CCR
    pdbdb01 : Oracle Home exists with CCR directory, but CCR is not configured
    pdbdb02 : Oracle Home exists with CCR directory, but CCR is not configured
    CCR check is finished
    Do you want to continue (y - yes, n - no)? [n]: y
    A log of this session will be written to: '/db/db/app/oraInventory/logs/deinstall_deconfig2019-04-26_08-33-30-PM.out'
    Any error messages from this session will be written to: '/db/db/app/oraInventory/logs/deinstall_deconfig2019-04-26_08-33-30-PM.err'

    ######################## CLEAN OPERATION START ########################

    Enterprise Manager Configuration Assistant START

    EMCA de-configuration trace file location: /db/db/app/oraInventory/logs/emcadc_clean2019-04-26_08-33-59-PM.log

    Updating Enterprise Manager ASM targets (if any)
    Updating Enterprise Manager listener targets (if any)
    Enterprise Manager Configuration Assistant END
    Database de-configuration trace file location: /db/db/app/oraInventory/logs/databasedc_clean2019-04-26_08-34-20-PM.log

    Network Configuration clean config START

    Network de-configuration trace file location: /db/db/app/oraInventory/logs/netdc_clean2019-04-26_08-34-20-PM.log

    De-configuring Listener configuration file on all nodes...
    Listener configuration file de-configured successfully.

    De-configuring Naming Methods configuration file on all nodes...
    Naming Methods configuration file de-configured successfully.

    De-configuring Local Net Service Names configuration file on all nodes...
    Local Net Service Names configuration file de-configured successfully.

    De-configuring Directory Usage configuration file on all nodes...
    Directory Usage configuration file de-configured successfully.

    De-configuring backup files on all nodes...
    Backup files de-configured successfully.

    The network configuration has been cleaned up successfully.

    Network Configuration clean config END

    Oracle Configuration Manager clean START
    OCM clean log file location : /db/db/app/oraInventory/logs//ocm_clean1132.log
    Oracle Configuration Manager clean END
    Setting the force flag to false
    Setting the force flag to cleanup the Oracle Base
    Oracle Universal Installer clean START

    Detach Oracle home '/db/db/app/db/product/11204' from the central inventory on the local node : Done

    Failed to delete the directory '/db/db/app/db/product/11204'. The directory is in use.
    Delete directory '/db/db/app/db/product/11204' on the local node : Failed <<<<

    Failed to delete the directory '/db/db/app/db/product/11204'. The directory is in use.
    Failed to delete the directory '/db/db/app/db/product/11204'. The directory is in use.
    Failed to delete the directory '/db/db/app/db/product'. The directory is not empty.
    Failed to delete the directory '/db/db/app/db'. The directory is not empty.
    Delete directory '/db/db/app/db' on the local node : Failed <<<<

    Detach Oracle home '/db/db/app/db/product/11204' from the central inventory on the remote nodes 'pdbdb02' : Done

    Delete directory '/db/db/app/db/product/11204' on the remote nodes 'pdbdb02' : Failed <<<<

    Could not remove listed directories based on '/tmp/OraInstall2019-04-26_08-34-26-PM/installRemoveDirFile.lst' from nodes 'pdbdb02'. [PRKC-1083 : Failed to remove listed directory in "/tmp/OraInstall2019-04-26_08-34-26-PM/installRemoveDirFile.lst" to any of the given nodes "pdbdb02 ".
    Error on node pdbdb02:rm: 0653-609 Cannot remove /db/db/app/db/product/11204/.
    The file access permissions do not allow the specified action.]

    Error on node pdbdb02:rm: 0653-609 Cannot remove /db/db/app/db/product/11204/.
    The file access permissions do not allow the specified action.]

    Delete directory '/db/db/app/db' on the remote nodes 'pdbdb02' : Failed <<<<

    The directory '/db/db/app/db' could not be deleted on the nodes 'pdbdb02'.
    Oracle Universal Installer cleanup completed with errors.

    Oracle Universal Installer clean END


    ## [START] Oracle install clean ##

    Clean install operation removing temporary directory '/tmp/deinstall2019-04-26_08-33-12PM' on node 'pdbdb01'
    Clean install operation removing temporary directory '/tmp/deinstall2019-04-26_08-33-12PM' on node 'pdbdb02'

    ## [END] Oracle install clean ##


    ######################### CLEAN OPERATION END #########################


    ####################### CLEAN OPERATION SUMMARY #######################
    Cleaning the config for CCR
    As CCR is not configured, so skipping the cleaning of CCR configuration
    CCR clean is finished
    Successfully detached Oracle home '/db/db/app/db/product/11204' from the central inventory on the local node.
    Failed to delete directory '/db/db/app/db/product/11204' on the local node.
    Failed to delete directory '/db/db/app/db' on the local node.
    Successfully detached Oracle home '/db/db/app/db/product/11204' from the central inventory on the remote nodes 'pdbdb02'.
    Failed to delete directory '/db/db/app/db/product/11204' on the remote nodes 'pdbdb02'.
    Failed to delete directory '/db/db/app/db' on the remote nodes 'pdbdb02'.
    Oracle Universal Installer cleanup completed with errors.

    Oracle deinstall tool successfully cleaned up temporary directories.
    #######################################################################


    ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

     

    ###sampe 1: 安装GI 失败,如何回退GI SOFT

     

    GOAL

    In 11gR2, deinstall is the recommended tool to deinstall an Oracle Clusterware(Grid Infrastructure) home, however it does not apply to certain scenarios or failures in some cases. 

    This notes provides instruction to manually remove current/active clusterware home.

    Before removing current/active clusterware home, it's necessary to deconfigure Grid Infrastructure, refer to note 1377349.1 for steps. 

    To remove pre-upgrade clusterware home after successful upgrade to newer GI version, refer to note 1346305.1

    SOLUTION

    Before removing current/active clusterware home, it's necessary to deconfigure Grid Infrastructure, refer to note 1377349.1 for steps

    To remove a home, as clusterware user execute the following on any node:

    export ORACLE_HOME=<clusterware-home>

    ## detach ORACLE_HOME
    $ORACLE_HOME/oui/bin/runInstaller -detachHome -silent ORACLE_HOME=$ORACLE_HOME

    ## confirm $ORACLE_HOME is removed from central inventory:
    $ORACLE_HOME/OPatch/opatch lsinventory -all   

    ## remove files in ORACLE_HOME manually on all nodes
    /bin/rm -rf $ORACLE_HOME               ##>> if grid user fails to remove all files, switch to root user 

    unset ORACLE_HOME

    If it fails for any reason, as clusterware user execute the following on all nodes:

    export ORACLE_HOME=<clusterware-home>

    ## detach ORACLE_HOME
    $ORACLE_HOME/oui/bin/runInstaller -detachHome -silent -local ORACLE_HOME=$ORACLE_HOME

    ## confirm $ORACLE_HOME is removed from central inventory:
    $ORACLE_HOME/OPatch/opatch lsinventory -all   

    ## remove files in ORACLE_HOME manually
    /bin/rm -rf $ORACLE_HOME               ##>> if grid user fails to remove all files, switch to root user 

    unset ORACLE_HOME
     
     
    cd /etc/oracle
    rm -rf *
     
     
     
     

    ###issue 1.2
    感谢 wenzhongyan
    https://blog.csdn.net/wenzhongyan/article/details/48312903

    节点1.root.sh 报错
    CRS-2728: A resource type with the name 'ora.daemon.type' is already register


    由于系统资源繁忙,导致创建失败,一般情况下,跟主机性能偏差有关, 第一个节点 用roothas.pl 卸载,在重新加载在重新加载root.sh
    fix:

    find / -name roothas.pl
    $grid_home/install/
    ./roothas.pl -deconfig -force -verbose

    re-run

    root.sh

    ##isse 1.3

    感谢官网
    #节点2跑root.sh 失败,第二个节点用 rootcrs.pl 卸载,在重新加载root.sh
    问题: AIX node two root.sh 报错,crsconfig_lib.pm 11814


    ##解决方法,


    1. correct the NIC configuration (naming) to match the information stored in the OCR
    修改网络内核参数,重启主机,生效

    2. as the root user run the following command to allow a rerun of 'root.sh' on the new node:

    find / -name rootcrs.pl

    #$GRID_HOME/crs/install/rootcrs.pl -deconfig -force -verbose

    3. as user root rerun
    $GRID_HOME/root.sh

    ###sample 3:安装GI 和DB soft 都成功,如何回退DB soft 和GI soft

    卸载rac,先卸载database,再卸载grid,卸载前不要停crs,保持在运行状态,按照以下步骤卸载:

    如果有数据库在运行并且注册到GI,DB 需要(DBCA 卸载)

    卸载database(只须在一个节点运行):(GRID 需要online状态)
    (运行$ORACLE_HOME/deinstall/deinstall命令,根据提示输入必要的信息)
    [opdb@pdbdb01:/db/db/app/db/product/11204/deinstall]$ ./deinstall
    Checking for required files and bootstrapping ...
    Please wait ...
    Location of logs /db/db/app/oraInventory/logs/

    ############ ORACLE DEINSTALL & DECONFIG TOOL START ############


    ######################### CHECK OPERATION START #########################
    ## [START] Install check configuration ##


    Checking for existence of the Oracle home location /db/db/app/db/product/11204
    Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database
    Oracle Base selected for deinstall is: /db/db/app/db
    Checking for existence of central inventory location /db/db/app/oraInventory
    Checking for existence of the Oracle Grid Infrastructure home /db/db/grid/11.2.0
    The following nodes are part of this cluster: pdbdb01,pdbdb02
    Checking for sufficient temp space availability on node(s) : 'pdbdb01,pdbdb02'

    ## [END] Install check configuration ##


    Network Configuration check config START

    Network de-configuration trace file location: /db/db/app/oraInventory/logs/netdc_check2019-05-07_09-09-51-AM.log

    Network Configuration check config END

    Database Check Configuration START

    Database de-configuration trace file location: /db/db/app/oraInventory/logs/databasedc_check2019-05-07_09-09-54-AM.log

    Use comma as separator when specifying list of values as input

    Specify the list of database names that are configured in this Oracle home [db]:

    ###### For Database 'db' ######

    Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database|3.RAC Database|4.RAC One Node Database) [3]:
    Specify the list of nodes on which this database has instances [pdbdb01, pdbdb02]:
    Specify the list of instance names [db1, db2]:
    Specify the local instance name on node pdbdb01 [db1]:
    Specify the diagnostic destination location of the database [/db/db/app/db/diag/rdbms/db]:
    Specify the storage type used by the Database ASM|FS []: ASM


    Database Check Configuration END

    Enterprise Manager Configuration Assistant START

    EMCA de-configuration trace file location: /db/db/app/oraInventory/logs/emcadc_check2019-05-07_09-11-10-AM.log

    Checking configuration for database db
    Enterprise Manager Configuration Assistant END
    Oracle Configuration Manager check START
    OCM check log file location : /db/db/app/oraInventory/logs//ocm_check4988.log
    Oracle Configuration Manager check END

    ######################### CHECK OPERATION END #########################


    ####################### CHECK OPERATION SUMMARY #######################
    Oracle Grid Infrastructure Home is: /db/db/grid/11.2.0
    The cluster node(s) on which the Oracle home deinstallation will be performed are:pdbdb01,pdbdb02
    Oracle Home selected for deinstall is: /db/db/app/db/product/11204
    Inventory Location where the Oracle home registered is: /db/db/app/oraInventory
    The following databases were selected for de-configuration : db
    Database unique name : db
    Storage used : ASM
    No Enterprise Manager configuration to be updated for any database(s)
    No Enterprise Manager ASM targets to update
    No Enterprise Manager listener targets to migrate
    Checking the config status for CCR
    pdbdb01 : Oracle Home exists with CCR directory, but CCR is not configured
    pdbdb02 : Oracle Home exists with CCR directory, but CCR is not configured
    CCR check is finished
    Do you want to continue (y - yes, n - no)? [n]: y
    A log of this session will be written to: '/db/db/app/oraInventory/logs/deinstall_deconfig2019-05-07_09-09-39-AM.out'
    Any error messages from this session will be written to: '/db/db/app/oraInventory/logs/deinstall_deconfig2019-05-07_09-09-39-AM.err'

    ######################## CLEAN OPERATION START ########################

    Enterprise Manager Configuration Assistant START

    EMCA de-configuration trace file location: /db/db/app/oraInventory/logs/emcadc_clean2019-05-07_09-11-10-AM.log

    Updating Enterprise Manager ASM targets (if any)
    Updating Enterprise Manager listener targets (if any)
    Enterprise Manager Configuration Assistant END
    Database de-configuration trace file location: /db/db/app/oraInventory/logs/databasedc_clean2019-05-07_09-12-14-AM.log
    Database Clean Configuration START db
    This operation may take few minutes.
    Database Clean Configuration END db

    Network Configuration clean config START

    Network de-configuration trace file location: /db/db/app/oraInventory/logs/netdc_clean2019-05-07_09-12-41-AM.log

    De-configuring Listener configuration file on all nodes...
    Listener configuration file de-configured successfully.

    De-configuring Naming Methods configuration file on all nodes...
    Naming Methods configuration file de-configured successfully.

    De-configuring Local Net Service Names configuration file on all nodes...
    Local Net Service Names configuration file de-configured successfully.

    De-configuring Directory Usage configuration file on all nodes...
    Directory Usage configuration file de-configured successfully.

    De-configuring backup files on all nodes...
    Backup files de-configured successfully.

    The network configuration has been cleaned up successfully.

    Network Configuration clean config END

    Oracle Configuration Manager clean START
    OCM clean log file location : /db/db/app/oraInventory/logs//ocm_clean4988.log
    Oracle Configuration Manager clean END
    Setting the force flag to false
    Setting the force flag to cleanup the Oracle Base
    Oracle Universal Installer clean START

    Detach Oracle home '/db/db/app/db/product/11204' from the central inventory on the local node : Done

    Delete directory '/db/db/app/db/product/11204' on the local node : Done

    Failed to delete the directory '/db/db/app/db'. The directory is in use.
    Delete directory '/db/db/app/db' on the local node : Failed <<<<

    Detach Oracle home '/db/db/app/db/product/11204' from the central inventory on the remote nodes 'pdbdb02' : Done

    Delete directory '/db/db/app/db/product/11204' on the remote nodes 'pdbdb02' : Done

    Delete directory '/db/db/app/db' on the remote nodes 'pdbdb02' : Failed <<<<

    The directory '/db/db/app/db' could not be deleted on the nodes 'pdbdb02'.
    Oracle Universal Installer cleanup completed with errors.

    Oracle Universal Installer clean END


    ## [START] Oracle install clean ##

    Clean install operation removing temporary directory '/tmp/deinstall2019-05-07_09-09-03AM' on node 'pdbdb01'
    Clean install operation removing temporary directory '/tmp/deinstall2019-05-07_09-09-03AM' on node 'pdbdb02'

    ## [END] Oracle install clean ##


    ######################### CLEAN OPERATION END #########################


    ####################### CLEAN OPERATION SUMMARY #######################
    Successfully de-configured the following database instances : db
    Cleaning the config for CCR
    As CCR is not configured, so skipping the cleaning of CCR configuration
    CCR clean is finished
    Successfully detached Oracle home '/db/db/app/db/product/11204' from the central inventory on the local node.
    Successfully deleted directory '/db/db/app/db/product/11204' on the local node.
    Failed to delete directory '/db/db/app/db' on the local node.
    Successfully detached Oracle home '/db/db/app/db/product/11204' from the central inventory on the remote nodes 'pdbdb02'.
    Successfully deleted directory '/db/db/app/db/product/11204' on the remote nodes 'pdbdb02'.
    Failed to delete directory '/db/db/app/db' on the remote nodes 'pdbdb02'.
    Oracle Universal Installer cleanup completed with errors.

    Oracle deinstall tool successfully cleaned up temporary directories.
    #######################################################################


    ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

    [opdb@pdbdb01:/db/db/app/db/product/11204/deinstall]$


    卸载grid(只须在一个节点运行): (GRID 需要offline状态)

    [grid@pdbdb01:/db/db/grid/11.2.0/deinstall]$ ./deinstall
    Checking for required files and bootstrapping ...
    Please wait ...
    Location of logs /db/db/app/oraInventory/logs/

    ############ ORACLE DEINSTALL & DECONFIG TOOL START ############


    ######################### CHECK OPERATION START #########################
    ## [START] Install check configuration ##


    Checking for existence of the Oracle home location /db/db/grid/11.2.0
    Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
    Oracle Base selected for deinstall is: /db/db/app/grid
    Checking for existence of central inventory location /db/db/app/oraInventory
    Checking for existence of the Oracle Grid Infrastructure home /db/db/grid/11.2.0
    The following nodes are part of this cluster: pdbdb01,pdbdb02
    Checking for sufficient temp space availability on node(s) : 'pdbdb01,pdbdb02'

    ## [END] Install check configuration ##

    Traces log file: /db/db/app/oraInventory/logs//crsdc.log

    Network Configuration check config START

    Network de-configuration trace file location: /db/db/app/oraInventory/logs/netdc_check2019-05-07_09-19-58-AM.log

    Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER]:

    Network Configuration check config END

    Asm Check Configuration START

    ASM de-configuration trace file location: /db/db/app/oraInventory/logs/asmcadc_check2019-05-07_09-21-03-AM.log

    Automatic Storage Management (ASM) instance is detected in this Oracle home /db/db/grid/11.2.0.
    ASM Diagnostic Destination : /db/db/app/grid
    ASM Diskgroups : +db_OCR,+NEW_DATA,+NEW_FRA
    ASM diskstring : /dev/*_disk*
    Diskgroups will be dropped
    De-configuring ASM will drop all the diskgroups and it's contents at cleanup time. This will affect all of the databases and ACFS that use this ASM instance(s).
    If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'. Do you want to modify above information (y|n) [n]:

    ######################### CHECK OPERATION END #########################


    ####################### CHECK OPERATION SUMMARY #######################
    Oracle Grid Infrastructure Home is: /db/db/grid/11.2.0
    The cluster node(s) on which the Oracle home deinstallation will be performed are:pdbdb01,pdbdb02
    Oracle Home selected for deinstall is: /db/db/grid/11.2.0
    Inventory Location where the Oracle home registered is: /db/db/app/oraInventory
    Following RAC listener(s) will be de-configured: LISTENER
    ASM instance will be de-configured from this Oracle home
    Do you want to continue (y - yes, n - no)? [n]: y
    A log of this session will be written to: '/db/db/app/oraInventory/logs/deinstall_deconfig2019-05-07_09-19-46-AM.out'
    Any error messages from this session will be written to: '/db/db/app/oraInventory/logs/deinstall_deconfig2019-05-07_09-19-46-AM.err'

    ######################## CLEAN OPERATION START ########################
    ASM de-configuration trace file location: /db/db/app/oraInventory/logs/asmcadc_clean2019-05-07_09-23-18-AM.log
    ASM Clean Configuration START
    ASM Clean Configuration END

    Network Configuration clean config START

    Network de-configuration trace file location: /db/db/app/oraInventory/logs/netdc_clean2019-05-07_09-24-08-AM.log

    De-configuring RAC listener(s): LISTENER

    De-configuring listener: LISTENER
    Stopping listener: LISTENER
    Listener stopped successfully.
    Unregistering listener: LISTENER
    Listener unregistered successfully.
    Listener de-configured successfully.

    De-configuring Naming Methods configuration file on all nodes...
    Naming Methods configuration file de-configured successfully.

    De-configuring Local Net Service Names configuration file on all nodes...
    Local Net Service Names configuration file de-configured successfully.

    De-configuring Directory Usage configuration file on all nodes...
    Directory Usage configuration file de-configured successfully.

    De-configuring backup files on all nodes...
    Backup files de-configured successfully.

    The network configuration has been cleaned up successfully.

    Network Configuration clean config END


    (注意以下脚本先在远程节点运行,再在本地节点运行,按照提示操作)
    ---------------------------------------->

    The deconfig command below can be executed in parallel on all the remote nodes. Execute the command on the local node after the execution completes on all the remote nodes.

    Run the following command as the root user or the administrator on node "pdbdb02".

    /tmp/deinstall2019-05-07_09-19-12AM/perl/bin/perl -I/tmp/deinstall2019-05-07_09-19-12AM/perl/lib -I/tmp/deinstall2019-05-07_09-19-12AM/crs/install /tmp/deinstall2019-05-07_09-19-12AM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2019-05-07_09-19-12AM/response/deinstall_Ora11g_gridinfrahome1.rsp"

    Run the following command as the root user or the administrator on node "pdbdb01".

    /tmp/deinstall2019-05-07_09-19-12AM/perl/bin/perl -I/tmp/deinstall2019-05-07_09-19-12AM/perl/lib -I/tmp/deinstall2019-05-07_09-19-12AM/crs/install /tmp/deinstall2019-05-07_09-19-12AM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2019-05-07_09-19-12AM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode

    Press Enter after you finish running the above commands

    <----------------------------------------
    Setting the force flag to false
    Setting the force flag to cleanup the Oracle Base
    Oracle Universal Installer clean START

    Detach Oracle home '/db/db/grid/11.2.0' from the central inventory on the local node : Done

    Failed to delete the directory '/db/db/grid/11.2.0'. The directory is in use.
    Delete directory '/db/db/grid/11.2.0' on the local node : Failed <<<<

    Failed to delete the directory '/db/db/app/grid'. The directory is in use.
    Delete directory '/db/db/app/grid' on the local node : Failed <<<<

    Detach Oracle home '/db/db/grid/11.2.0' from the central inventory on the remote nodes 'pdbdb02' : Done

    Delete directory '/db/db/grid/11.2.0' on the remote nodes 'pdbdb02' : Failed <<<<

    Could not remove listed directories based on '/tmp/OraInstall2019-05-07_09-39-39-AM/installRemoveDirFile.lst' from nodes 'pdbdb02'. [PRKC-1083 : Failed to remove listed directory in "/tmp/OraInstall2019-05-07_09-39-39-AM/installRemoveDirFile.lst" to any of the given nodes "pdbdb02 ".
    Error on node pdbdb02:rm: 0653-609 Cannot remove /db/db/grid/11.2.0/.
    The file access permissions do not allow the specified action.]
    Delete directory '/db/db/app/oraInventory' on the remote nodes 'pdbdb02' : Failed <<<<

    The directory '/db/db/app/oraInventory' could not be deleted on the nodes 'pdbdb02'.
    Delete directory '/db/db/app/grid' on the remote nodes 'pdbdb02' : Failed <<<<

    The directory '/db/db/app/grid' could not be deleted on the nodes 'pdbdb02'.
    Oracle Universal Installer cleanup completed with errors.

    Oracle Universal Installer clean END


    ## [START] Oracle install clean ##

    Clean install operation removing temporary directory '/tmp/deinstall2019-05-07_09-19-12AM' on node 'pdbdb01'
    Clean install operation removing temporary directory '/tmp/deinstall2019-05-07_09-19-12AM' on node 'pdbdb02'

    ## [END] Oracle install clean ##

    ######################### CLEAN OPERATION END #########################


    ####################### CLEAN OPERATION SUMMARY #######################
    ASM instance was de-configured successfully from the Oracle home
    Following RAC listener(s) were de-configured successfully: LISTENER
    Oracle Clusterware is stopped and successfully de-configured on node "pdbdb02"
    Oracle Clusterware is stopped and successfully de-configured on node "pdbdb01"
    Oracle Clusterware is stopped and de-configured successfully.
    Successfully detached Oracle home '/db/db/grid/11.2.0' from the central inventory on the local node.
    Failed to delete directory '/db/db/grid/11.2.0' on the local node.
    Failed to delete directory '/db/db/app/grid' on the local node.
    Successfully detached Oracle home '/db/db/grid/11.2.0' from the central inventory on the remote nodes 'pdbdb02'.
    Failed to delete directory '/db/db/grid/11.2.0' on the remote nodes 'pdbdb02'.
    Failed to delete directory '/db/db/app/oraInventory' on the remote nodes 'pdbdb02'.
    Failed to delete directory '/db/db/app/grid' on the remote nodes 'pdbdb02'.
    Oracle Universal Installer cleanup completed with errors.

    Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'pdbdb01,pdbdb02' at the end of the session.
    Oracle deinstall tool successfully cleaned up temporary directories.
    #######################################################################


    ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

     
  • 相关阅读:
    通过git命令行从github或服务器上克隆、修改和更新项目
    将项目部署到 github上(部署到码云操作一样,前提是有码云账号)
    tp5中代替tp3.2中的一些方法
    关于ThinkPHP下使用Uploadify插件 仅有火狐提示HTTP Error (302)错误的解决办法
    nginx轮询宕机解决
    nginx实现动静分离
    nginx实现负载均衡
    nginx实现反向代理
    解决表单重复提交
    解决跨域问题
  • 原文地址:https://www.cnblogs.com/feiyun8616/p/10770190.html
Copyright © 2020-2023  润新知