在网络上查询了关于emca的已经使用方法主要是以下这些:
1、使用emca -deconfig dbcontrol db命令删除配置
2、使用emca -repos drop删除repository
3、使用emca -config dbcontrol db -repos create 创建Database Control
在重新配置的时候还是提示: SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration
Assistant again . 网上大多的意见都是检查listener的问题,逐个尝试,还是无法解决。
在检查动态注册listener的时候,发现service_names不对
SQL> sho parameter service_names;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string orcl.rhel
把该参数改为实例的sid,重新使用emca命令配置就没有问题了。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29997949/viewspace-1452302/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29997949/viewspace-1452302/