在配置生产环境中的ORACLE环境的时候,系统全新安装依然遇见了错误,是EM的错误,在ORACLE官网查询错误,找到了错误的原因及解决方案,具体说明如下,问题做个记录,方便日后问题解决及其他人员问题帮助。
Error Uploading Configuration Data To The Repository" whenconfiguring dbconsole [ID 1233913.1]
Cause
The windows machine is in an active directory and is using IPv6.When the short hostname is pinged,it is resolved via the fullyqualified hostname to an IPv6 (ISATAP) address eg:-
ping machine1
Pinging machine1.uk.oracle.com [fe80::f1bb:2ed:4d5a:1732] with 32bytes of data:
Reply from fe80::f1bb:2ed:4d5a:1732: time<1ms
Dbconsole 11.2 is built around Grid Control 10.2.0.4 and so is notIPv6 compliant. Grid Control 11.1.0.1 is IPv6 compliant.. Theversion of dbconsole which is built around Grid Control 11.1.0.1will be IPv6 compliant. (the version which dbconsole is built roundis shown in the output of emctl status agent).
Solution
Add entries into the host file,to force IPv4 styleresolution:-1) edit the windows\system32\drivers\etc\hosts file
2) add an entry for the machine of the format:-
<ipaddress> <fullyqualified hostname> <shorthostname>
eg.
IPAddress MachineName
Now when pinging the short hostname,the ipv4 style ipaddress isreturned.
修改完对应的Host文件后,需要重建一下EM,非常简单,只需要两步即可:
1.emca-deconfig dbcontrol db -repos drop
2.emca -config dbcontrol db-repos create