如何删除oracle实例及无用的OracleDBConsole服务
发布网友
发布时间:2022-04-12 10:16
我来回答
共1个回答
热心网友
时间:2022-04-12 11:45
当oracle实例不再使用时需将无用的oracle删除掉,且无需存在于服务列表中,具体操作如下:
1、删除OracleService实例
开始程序-Oracle - OraDb10g_home1-配置和移植工具-Database Configuration Assistant--删除实例
选中要删除的实例名,一直点击下一步
删除实例之后从服务列表中自动删除了OracleServiceXXX名称
2、实例删除了但发现OracleDBConsoleXXX,OracleJobSchelerXXX在服务列表中都存在
删除服务列表中的OracleJobSchelerXXX,具体操作如下:
"regedit"打开注册表,修改HEKY_LOCAL_MACHINE->SYSTEM-CurentControlSet->Services->找到OracleServiceXXX发现已不存在,则说明实例已从服务列表中删除
只需要找到OracleDBConsoleXXX,OracleJobSchelerXXX删除,删除完成电脑重启
3、瑞星删除Oracle实例解决
服务中的OracleServiceGIST没有了
注册表中HEKY_LOCAL_MACHINE->SYSTEM-CurentControlSet->Services->
OracleServiceGIST也没有了。
解决:
找一台装有oracle数据库的机器,把上面的注册键值信息导出,是一个xxx.reg文件
然后复制到本机桌面上,用editplus编辑,将所有实例名信息改成本机的实例名,如OracleServiceXXX改成
OracleServiceGIST,再双击运行,即在本机注册表中生成注册信息。
重启机器,注册表中信息生成,服务中信息生成,启动OracleService实例时,
报错,找不到路径,原来先前的xxx.reg文件的那台机器的Oracle数据库是装在C盘,
而本机的Oracle数据库是装在D盘的,
"regedit"打开注册表,修改HEKY_LOCAL_MACHINE->SYSTEM-CurentControlSet->Services->
OracleServiceGIST的ImagePath键值信息为d:\oracle\ora92\bin\ORACLE.EXE GIST,
再在服务里启动OracleServiceGIST,能正常运行。
导出的xxx.reg文件内容:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceGIST]
"Type"=dword:00000010
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):64,00,3a,00,5c,00,6f,00,72,00,61,00,63,00,6c,00,65,00,5c,00,\
6f,00,72,00,61,00,39,00,32,00,5c,00,62,00,69,00,6e,00,5c,00,4f,00,52,00,41,\
00,43,00,4c,00,45,00,2e,00,45,00,58,00,45,00,20,00,47,00,49,00,53,00,54,00,\
00,00
"DisplayName"="OracleServiceGIST"
"ObjectName"="LocalSystem"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceGIST\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceGIST\Enum]
"0"="Root\\LEGACY_ORACLESERVICEGIST\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001