Linux Oracle启动OEM遇到的一些问题

将sysman以及dbsnmp两个用户解锁。

SQL> alter user sysman account unlock identified by sys;
User altered.
 
SQL> alter user dbsnmp account unlock identified by sys;
User altered.

问题:SYSMAN already exists…

Mar 9, 2022 8:53:09 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
	at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
	at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1000)
	at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
	at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
	at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:510)
	at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:228)
	at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
	at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
	at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
	at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
	at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
	at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
Mar 9, 2022 8:53:09 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository

解决方法:
  1. 删除系统管理员架构: emca -deconfig dbcontrol db -repos drop
  2. 重新创建:emca -config dbcontrol db -repos create

关闭和启动用emctl start/stop dbconsole命令

## 启动
emctl start dbconsole
## 关闭
emctl stop dbconsole
## 查看
emctl status dbconsole
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值