码迷,mamicode.com
首页 > 其他好文 > 详细

dataguard删除掉从库

时间:2021-06-02 14:09:20      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:cti   mat   files   product   log   oracl   opera   文件中   not   

我这里的是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.

dataguard删除掉从库

标签:cti   mat   files   product   log   oracl   opera   文件中   not   

原文地址:https://www.cnblogs.com/hxlasky/p/14821491.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!