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 type (自定义类型的使用)

oracle - type   type定义: oracle中自定义数据类型 oracle中有基本的数据类型,如number,varchar2,date,numeric,float....但有时候我们需要特殊的格式, 如将name定义为(firstname,lastname)的形式,我们想把这个作为一个表的一列看待,这时候就要我们自己定义一个数据类型 格式 :create or repla

ORACLE 11g 创建数据库时 Enterprise Manager配置失败的解决办法 无法打开OEM的解决办法

在win7 64位系统下安装oracle11g,在使用Database configuration Assistant创建数据库时,在创建到85%的时候报错,错误如下: 解决办法: 在listener.ora中增加对BlueAeri-PC或ip地址的侦听,具体步骤如下: 1.启动Net Manager,在“监听程序”--Listener下添加一个地址,主机名写计

Oracle Start With关键字

Oracle Start With关键字 前言 旨在记录一些Oracle使用中遇到的各种各样的问题. 同时希望能帮到和我遇到同样问题的人. Start With (树查询) 问题描述: 在数据库中, 有一种比较常见得 设计模式, 层级结构 设计模式, 具体到 Oracle table中, 字段特点如下: ID, DSC, PID; 三个字段, 分别表示 当前标识的 ID(主键), DSC 当

oracle分页和mysql分页

mysql 分页 --查前5 数据select * from table_name limit 0,5 select * from table_name limit 5 --limit关键字的用法:LIMIT [offset,] rows--offset指定要返回的第一行的偏移量,rows第二个指定返回行的最大数目。初始行的偏移量是0(不是1)。   oracle 分页 --查前1-9

ORACLE语法-包(package)、存储过程(procedure)、游标(cursor)以及java对Result结果集的处理

陈科肇 示例: 包规范 CREATE OR REPLACE PACKAGE PACK_WMS_YX IS-- Author : CKZ-- Created : 2015/8/28 9:52:29-- Purpose : 同步数据-- Public type declarations,游标 退休订单TYPE retCursor IS REF CURSOR;-- RETURN vi_co_co

Oracle主键和外键详解及实用技巧

在 Oracle 数据库中,主键(Primary Key)和外键(Foreign Key)用于维护数据库表之间的数据完整性。 1. 主键(Primary Key) 主键是一列或多列,能够唯一标识表中的每一行。表中只能有一个主键,并且主键列不能为空(即 NOT NULL)。 特性: 唯一性:主键中的每一个值都是唯一的,不能重复。非空性:主键列不能包含 NULL 值。索引:Oracle 自动为

分享MSSQL、MySql、Oracle的大数据批量导入方法及编程手法细节

1:MSSQL SQL语法篇: BULK INSERT      [ database_name . [ schema_name ] . | schema_name . ] [ table_name | view_name ]         FROM 'data_file'        [ WITH       (      [ [ , ] BATCHSIZE = batch_siz

Oracle start with connect BY 死循环

解决办法 检查start with前有没有where条件, 如果有的话,套一层select,再 Oracle start with connect BY

Java调用Oracle存储过程一

一、通过PL/SQL工具连接上Oracle数据库,创建表zx_test_procedure 二、创建存储过程 ①无返回值的存储过程 存储过程为: create or replace procedure testa (para1 in varchar2,para2 in varchar2) as begin insert into zx_test_procedure(i_id,i_n

PL/SQL工具创建Oracle数据库表,实现id字段的自动递增

通过PL/SQL工具,创建Oracle数据库表,如何实现字段ID自动递增; Oracle的自增需要依靠序列和触发器共同实现 比如:先创建一个表 create table test (id int primary key, name varchar2(10)); 创建一个序列 create sequence test_seq increment by 1 start with 1  min