Manual Oracle Uninstall

2023-10-17 03:18
文章标签 oracle manual uninstall

本文主要是介绍Manual Oracle Uninstall,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

Manual Oracle Uninstall

手动卸载oracle

A number of people have contacted me regarding problems uninstalling Oracle products. The two methods listed below should only be used as a last resort and will remove *all* Oracle software allowing a re-install. If you make any mistakes they can be quite destructive so be careful.

  • Windows
  • UNIX

Windows

In the past I've had many problems uninstalling all Oracle products from Windows systems. Here's my last resort method:

在之前我已经windows 系统上卸载oracle时碰到了很多问题以下是我最新整理的一些方法:

  • Uninstall all Oracle components using the Oracle Universal Installer (OUI).
  • 使用oui来卸载搜有组件
  • Run regedit.exe and delete the HKEY_LOCAL_MACHINE/SOFTWARE/Oracle key. This contains registry entires for all Oracle products.
  • 命令行下运行  regedit,在注册表中删除     HKEY_LOCAL_MACHINE/SOFTWARE/Oracle   键。这里包含了oracle 产品所有的注册记录。
  • If you are running 64-bit Windows, you should also delete the HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Oracle key if it exists.
  • 64位的windows,需要删除    HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Oracle  (如果有的话)
  • Delete any references to Oracle services left behind in the following part of the registry (HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Ora*).
  • 删除所有与oracle 服务相关的记录,也就是 (HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Ora*). 遗留下来的记录

          It should be pretty obvious which ones relate to Oracle.

           记录内容应当与oracle紧密相关。

 

  • Reboot your machine.
  • 重启服务器
  • Delete the "C:\Oracle" directory, or whatever directory is your ORACLE_BASE.
  • 删除$oracle_home 下所有的目录
  • Delete the "C:\Program Files\Oracle" directory.
  • 删除 "C:\Program Files\Oracle 所有内容
  • If you are running 64-bit Wiindows, you should also delete the "C:\Program Files (x86)\Oracle" directory.
  • 如果是64位的系统,需要额外删除   C:\Program Files (x86)\Oracle
  • Empty the contents of your "C:\temp" directory.
  • 清空   C:\temp
  • Empty your recycle bin.
  • 清空回收站

At this point your machine will be as clean of Oracle components as it can be without a complete OS reinstall.

Remember, manually editing your registry can be very destructive and force an OS reinstall so only do it as a last resort.

手工编辑注册表是一项非常危险的操作。

If some DLLs can't be deleted, try renaming them, the after a reboot delete them.

如果某些ddls不能被删除,可以尝试重命名他们,或者重启后再去删除它们。

UNIX

Uninstalling all products from UNIX is a lot more consistent. If you do need to resort to a manual uninstall you should do something like:

  • Uninstall all Oracle components using the Oracle Universal Installer (OUI).
  • 使用oui卸载oracle组件
  • Stop any outstanding processes using the appropriate utilities.

  • 停掉所有与oracle相关的进程

    # oemctl stop oms user/password
    # agentctl stop
    # lsnrctl stop
    Alternatively you can kill them using the kill -9 pid command as the root user

          你也可以使用kill -9 pid 来杀进程。.

  • Delete the files and directories below the $ORACLE_HOME.

  • 删除 $ORACLE_HOME. 目录

  • # cd $ORACLE_HOME

  • # rm -Rf *

  • With the exception of the product directory, delete directories below the $ORACLE_BASE
  • .一些特殊情况下,删除$ORACLE_BASE
    # cd $ORACLE_BASE
    # rm -Rf admin doc jre o*
  • Delete the /etc/oratab file. If using 9iAS delete the /etc/emtab file also.
  • 删除 /etc/oratab 文件,如果使用了9iAS 还需删除 /etc/emtab
  • # rm /etc/oratab /etc/emtab

Hope this helps. Regards Tim...

这篇关于Manual Oracle Uninstall的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!


原文地址:
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.chinasem.cn/article/222571

相关文章

Oracle 通过 ROWID 批量更新表的方法

《Oracle通过ROWID批量更新表的方法》在Oracle数据库中,使用ROWID进行批量更新是一种高效的更新方法,因为它直接定位到物理行位置,避免了通过索引查找的开销,下面给大家介绍Orac... 目录oracle 通过 ROWID 批量更新表ROWID 基本概念性能优化建议性能UoTrFPH优化建议注

PostgreSQL 序列(Sequence) 与 Oracle 序列对比差异分析

《PostgreSQL序列(Sequence)与Oracle序列对比差异分析》PostgreSQL和Oracle都提供了序列(Sequence)功能,但在实现细节和使用方式上存在一些重要差异,... 目录PostgreSQL 序列(Sequence) 与 oracle 序列对比一 基本语法对比1.1 创建序

Oracle数据库常见字段类型大全以及超详细解析

《Oracle数据库常见字段类型大全以及超详细解析》在Oracle数据库中查询特定表的字段个数通常需要使用SQL语句来完成,:本文主要介绍Oracle数据库常见字段类型大全以及超详细解析,文中通过... 目录前言一、字符类型(Character)1、CHAR:定长字符数据类型2、VARCHAR2:变长字符数

Oracle存储过程里操作BLOB的字节数据的办法

《Oracle存储过程里操作BLOB的字节数据的办法》该篇文章介绍了如何在Oracle存储过程中操作BLOB的字节数据,作者研究了如何获取BLOB的字节长度、如何使用DBMS_LOB包进行BLOB操作... 目录一、缘由二、办法2.1 基本操作2.2 DBMS_LOB包2.3 字节级操作与RAW数据类型2.

查看Oracle数据库中UNDO表空间的使用情况(最新推荐)

《查看Oracle数据库中UNDO表空间的使用情况(最新推荐)》Oracle数据库中查看UNDO表空间使用情况的4种方法:DBA_TABLESPACES和DBA_DATA_FILES提供基本信息,V$... 目录1. 通过 DBjavascriptA_TABLESPACES 和 DBA_DATA_FILES

Oracle登录时忘记用户名或密码该如何解决

《Oracle登录时忘记用户名或密码该如何解决》:本文主要介绍如何在Oracle12c中忘记用户名和密码时找回或重置用户账户信息,文中通过代码介绍的非常详细,对同样遇到这个问题的同学具有一定的参... 目录一、忘记账户:二、忘记密码:三、详细情况情况 1:1.1. 登录到数据库1.2. 查看当前用户信息1.

oracle DBMS_SQL.PARSE的使用方法和示例

《oracleDBMS_SQL.PARSE的使用方法和示例》DBMS_SQL是Oracle数据库中的一个强大包,用于动态构建和执行SQL语句,DBMS_SQL.PARSE过程解析SQL语句或PL/S... 目录语法示例注意事项DBMS_SQL 是 oracle 数据库中的一个强大包,它允许动态地构建和执行

PLsql Oracle 下载安装图文过程详解

《PLsqlOracle下载安装图文过程详解》PL/SQLDeveloper是一款用于开发Oracle数据库的集成开发环境,可以通过官网下载安装配置,并通过配置tnsnames.ora文件及环境变... 目录一、PL/SQL Developer 简介二、PL/SQL Developer 安装及配置详解1.下

oracle如何连接登陆SYS账号

《oracle如何连接登陆SYS账号》在Navicat12中连接Oracle11g的SYS用户时,如果设置了新密码但连接失败,可能是因为需要以SYSDBA或SYSOPER角色连接,解决方法是确保在连接... 目录oracle连接登陆NmOtMSYS账号工具问题解决SYS用户总结oracle连接登陆SYS账号

Oracle数据库如何切换登录用户(system和sys)

《Oracle数据库如何切换登录用户(system和sys)》文章介绍了如何使用SQL*Plus工具登录Oracle数据库的system用户,包括打开登录入口、输入用户名和口令、以及切换到sys用户的... 目录打开登录入口登录system用户总结打开登录入口win+R打开运行对话框,输php入:sqlp