设为首页 收藏本站
查看: 723|回复: 0

[经验分享] Oracle 学习之卸载Oracle 11g

[复制链接]

尚未签到

发表于 2018-9-9 09:49:13 | 显示全部楼层 |阅读模式
[oracle@localhost deinstall]$ ./deinstall -home $ORACLE_HOME  
Location of logs /home/oracle/deinstall/./logs/
  

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

  

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

  

  
Checking for existence of the Oracle home location /u01/app/oracle/product/11.2.0/db_1
  
Oracle Home type selected for deinstall is: Oracle Single Instance Database
  
Oracle Base selected for deinstall is: /u01/app/oracle
  
Checking for existence of central inventory location /u01/app/oraInventory
  
Checking for sufficient temp space availability on node(s) : 'localhost.localdomain'
  

  
## [END] Install check configuration ##
  

  

  
Network Configuration check config START
  

  
Network de-configuration trace file location: /home/oracle/deinstall/./logs/netdc_check2015-08-22_12-34-54-AM.log
  

  
Network Configuration check config END
  

  
Database Check Configuration START
  

  
Database de-configuration trace file location: /home/oracle/deinstall/./logs/databasedc_check2015-08-22_12-35-03-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 []: orcl
  

  
###### For Database 'orcl' ######
  

  
Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database) [1]:
  
Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/orcl]:
  
Specify the storage type used by the Database ASM|FS []: FS
  

  
Specify the list of directories if any database files exist on a shared file system. If 'orcl' subdirectory is found, then it will be deleted. Otherwise, the specified directory will be deleted. Alternatively, you can specify list of database files with full path [ ]: /u01/app/oracle/oradata
  

  
Specify the fast recovery area location, if it is configured on the file system. If 'orcl' subdirectory is found, then it will be deleted. []: /u01/app/oracle/fast_recovery_area
  

  
Specify the database spfile location [ ]: /u01/app/oracle/product/11.2.0/db_1/dbs/
  

  
Database Check Configuration END
  

  
Enterprise Manager Configuration Assistant START
  

  
EMCA de-configuration trace file location: /home/oracle/deinstall/./logs/emcadc_check2015-08-22_12-42-35-AM.log
  

  
Checking configuration for database orcl
  
Enterprise Manager Configuration Assistant END
  
Oracle Configuration Manager check START
  
OCM check log file location : /home/oracle/deinstall/./logs//ocm_check_2015-08-22_12-42-35-AM.log
  
Oracle Configuration Manager check END
  

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

  

  
####################### CHECK OPERATION SUMMARY #######################
  
Oracle Home selected for deinstall is: /u01/app/oracle/product/11.2.0/db_1
  
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
  
The following databases were selected for de-configuration : orcl
  
Database unique name : orcl
  
Storage used : FS
  
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
  
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: '/home/oracle/deinstall/./logs/deinstall_deconfig2015-08-22_12-34-51-AM.out'
  
Any error messages from this session will be written to: '/home/oracle/deinstall/./logs/deinstall_deconfig2015-08-22_12-34-51-AM.err'
  

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

  
Enterprise Manager Configuration Assistant START
  

  
EMCA de-configuration trace file location: /home/oracle/deinstall/./logs/emcadc_clean2015-08-22_12-42-35-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: /home/oracle/deinstall/./logs/databasedc_clean2015-08-22_12-42-38-AM.log
  
Database Clean Configuration START orcl
  
This operation may take few minutes.
  
Database Clean Configuration END orcl
  

  
Network Configuration clean config START
  

  
Network de-configuration trace file location: /home/oracle/deinstall/./logs/netdc_clean2015-08-22_12-43-44-AM.log
  

  
De-configuring backup files...
  
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 : /home/oracle/deinstall/./logs//ocm_clean_2015-08-22_12-42-35-AM.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 '/u01/app/oracle/product/11.2.0/db_1' from the central inventory on the local node : Done
  

  
Delete directory '/u01/app/oracle/product/11.2.0/db_1' on the local node : Done
  

  
Delete directory '/u01/app/oraInventory' on the local node : Done
  

  
Delete directory '/u01/app/oracle' on the local node : Done
  

  
Oracle Universal Installer cleanup was successful.
  

  
Oracle Universal Installer clean END
  

  

  
## [START] Oracle install clean ##
  

  
Clean install operation removing temporary directory '/tmp/deinstall2015-08-22_00-34-49AM' on node 'localhost'
  

  
## [END] Oracle install clean ##
  

  

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

  

  
####################### CLEAN OPERATION SUMMARY #######################
  
Successfully de-configured the following database instances : orcl
  
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 '/u01/app/oracle/product/11.2.0/db_1' from the central inventory on the local node.
  
Successfully deleted directory '/u01/app/oracle/product/11.2.0/db_1' on the local node.
  
Successfully deleted directory '/u01/app/oraInventory' on the local node.
  
Successfully deleted directory '/u01/app/oracle' on the local node.
  
Oracle Universal Installer cleanup was successful.
  

  

  
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'localhost' at the end of the session.
  

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

  

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



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-568551-1-1.html 上篇帖子: Oracle的ERP系统中报表不好用? 下篇帖子: Oracle 学习之 11g Clone 安装
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表