dataguard删除掉从库

我这里的是dataguard环境,我尝试将从库删除进行重新配置,下面是报错个解决办法:

 

[oracle@18c_single ~]$ dbca -silent -deleteDatabase -sourceDB ora18c
[FATAL] [DBT-10201] Delete database operation cannot be performed.
CAUSE: There are no databases present on the system.


原因:
在/etc/oratab文件中没有数据库的记录信息。
手动在文件中添加数据库的信息即可。
ora18c:/u01/app/oracle/product/18.0.0.0/db_1:N


[oracle@18c_single ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/18.0.0.0/db_1
[oracle@18c_single ~]$ echo $ORACLE_SID
ora18c
[oracle@18c_single ~]$ dbca -silent -deleteDatabase -sourceDB ora18c
Enter SYS user password:

[WARNING] [DBT-19202] The Database Configuration Assistant will delete the Oracle instances and datafiles for your database. All information in the database will be destroyed.
Prepare for db operation
32% complete
Connecting to database
35% complete
39% complete
42% complete
45% complete
48% complete
52% complete
65% complete
Updating network configuration files
68% complete
Deleting instance and datafiles
84% complete
100% complete
Database deletion completed.
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/ora18c/ora18c5.log" for further details.

posted @   slnngk  阅读(379)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2020-05-28 cachecloud安装部署
点击右上角即可分享
微信分享提示