1.emca
可以看到
2.emca -config dbcontrol db -repos recreate
3.依次输入信息后,报错
查看emca_repos_drop_2014-12-31_02-12-21-上午日志发现
[31-12-2014 10:12:23] Enter SYS user's password :
[31-12-2014 10:12:23]
[31-12-2014 10:12:23] Enter repository user password :
[31-12-2014 10:12:23]
[31-12-2014 10:12:23] Getting temporary tablespace from database...
[31-12-2014 10:12:25] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=W5NVP9NWF6FHLTW)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=SYDB))): ORA-12541: TNS: 无监听程序 (DBD ERROR: OCIServerAttach)
监听未启动造成,启动监听后
配置成功
可以看到
![](http://img.blog.itpub.net/blog/attachment/201412/31/26600495_1419991939E85M.png?x-oss-process=style/bb)
2.emca -config dbcontrol db -repos recreate
![](http://img.blog.itpub.net/blog/attachment/201412/31/26600495_1419992070Wb0T.png?x-oss-process=style/bb)
3.依次输入信息后,报错
![](http://img.blog.itpub.net/blog/attachment/201412/31/26600495_1419992925u8Dd.png?x-oss-process=style/bb)
查看emca_repos_drop_2014-12-31_02-12-21-上午日志发现
[31-12-2014 10:12:23] Enter SYS user's password :
[31-12-2014 10:12:23]
[31-12-2014 10:12:23] Enter repository user password :
[31-12-2014 10:12:23]
[31-12-2014 10:12:23] Getting temporary tablespace from database...
[31-12-2014 10:12:25] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=W5NVP9NWF6FHLTW)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=SYDB))): ORA-12541: TNS: 无监听程序 (DBD ERROR: OCIServerAttach)
监听未启动造成,启动监听后
![](http://img.blog.itpub.net/blog/attachment/201412/31/26600495_1419993147sELS.png?x-oss-process=style/bb)
配置成功
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26600495/viewspace-1385819/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26600495/viewspace-1385819/