I have also encountered this problem. Found a solution on the Internet. The next section refers to it PUB.
Install oracle11g 64-bit. Create a database to the end of the day, the report says EM cannot be created.
Emca_2010_06_13_11_05_36.log as follows:
.... Omit part ...
Info: Uploading configuration data to the EM data archive (this operation may take some time) ...
2010-6-13 11:05:43 Oracle.sysman.emcp.EMReposConfig uploadconfigdatatorepository
Configuration: An error occurred while uploading configuration data to the repository
Oracle.sysman.emdrep.config.ConfigurationException:FATAL Configuration Exceptions
At Oracle.sysman.emdrep.config.EMSchemaConfiguration.perform (emschemaconfiguration.java:232)
At Oracle.sysman.emcp.EMReposConfig.uploadConfigDataToRepository (emreposconfig.java:674)
At Oracle.sysman.emcp.EMReposConfig.invoke (emreposconfig.java:370)
At Oracle.sysman.emcp.EMReposConfig.invoke (emreposconfig.java:147)
At Oracle.sysman.emcp.EMConfig.perform (emconfig.java:222)
At Oracle.sysman.assistants.util.em.EMConfiguration.run (emconfiguration.java:460)
At Java.lang.Thread.run (thread.java:595)
2010-6-13 11:05:43 Oracle.sysman.emcp.EMReposConfig Invoke
Info: For more information, see Log files in d:\oracle\cfgtoollogs\emca\erp\emca_repos_config_< date >.log.
2010-6-13 11:05:43 Oracle.sysman.emcp.EMReposConfig Invoke
Critical: An error occurred while uploading configuration data to the repository
2010-6-13 11:05:43 Oracle.sysman.emcp.EMConfig Perform
Critical: An error occurred while uploading configuration data to the repository
For more information, see log files in D:\oracle\cfgtoollogs\dbca\erp\emConfig.log.
2010-6-13 11:05:43 Oracle.sysman.emcp.EMConfig Perform
Configuration: Stack Trace:
Oracle.sysman.emcp.exception.EMConfigException: An error occurred while uploading configuration data to the repository
At Oracle.sysman.emcp.EMReposConfig.invoke (emreposconfig.java:382)
At Oracle.sysman.emcp.EMReposConfig.invoke (emreposconfig.java:147)
At Oracle.sysman.emcp.EMConfig.perform (emconfig.java:222)
At Oracle.sysman.assistants.util.em.EMConfiguration.run (emconfiguration.java:460)
At Java.lang.Thread.run (thread.java:595)
2010-6-13 11:05:43 Oracle.sysman.emcp.EMConfig Restoreouiloc
Configuration: Restoring Oracle.installer.oui_loc to D:\oracle\product\11.1.0\db_1\oui
Emca_repos_config_2010_06_13_11_05_42.log as follows:
2010-6-13 11:05:43 Oracle.sysman.emdrep.config.EMSchemaConfiguration Perform
Information: oraclehome:d:\oracle\product\11.1.0\db_1
2010-6-13 11:05:43 oracle.sysman.emdrep.config.EMSchemaConfiguration getconfigurationxmls
Info: [D:\oracle\product\11.1.0\db_1\sysman\admin\emdrep\sql\core\configuration.xml]
2010-6-13 11:05:43 oracle.sysman.emdrep.config.EMSchemaConfiguration getconfigintegrations
Info: Number of Configuration instances:1
2010-6-13 11:05:43 oracle.sysman.emdrep.config.EMSchemaConfiguration getconfigintegrations
Information: Oracle.sysman.emdrep.util.TransxWrapper
D:\oracle\product\11.1.0\db_1\jlib/transx.zip
D:\oracle\product\11.1.0\db_1\xdk/lib/transx.zip
D:\oracle\product\11.1.0\db_1\lib/transx.zip
D:\oracle\product\11.1.0\db_1\lib/xmlparserv2.jar
D:\oracle\product\11.1.0\db_1\lib/xsu12.jar
D:\oracle\product\11.1.0\db_1\jlib/xdb.jar
D:\oracle\product\11.1.0\db_1\rdbms/jlib/xdb.jar
D:\oracle\product\11.1.0\db_1\jdbc/lib/ojdbc14.jar
D:\oracle\product\11.1.0\db_1\sysman/jlib/emcore.jar
D:\oracle\product\11.1.0\db_1\oc4j/jdbc/lib/ojdbc14.jar
D:\oracle\product\11.1.0\db_1\oc4j/jdbc/lib/ojdbc14dms.jar
D:\oracle\product\11.1.0\db_1\jdbc/lib/ojdbc5.jar
D:\oracle\product\11.1.0\db_1\jdbc/lib/ojdbc5dms.jar
D:\oracle\product\11.1.0\db_1\oc4j/lib/dms.jar
D:\oracle\product\11.1.0\db_1\oc4j/jdbc/lib/dms.jar
D:\oracle\product\11.1.0\db_1\dms/lib/dms.jar
2010-6-13 11:05:43 Oracle.sysman.emdrep.config.IConfigurationContext createconnection
Info: Jdbcurl = jdbc:oracle:thin:@ (description= (address_list= (address=) (PROTOCOL=TCP) (host=xmjfjy_r710_01 ))) (Connect_data= (SERVICE_NAME=ERP)))
2010-6-13 11:05:43 Oracle.sysman.emdrep.config.IConfigurationContext createconnection
Info: Jdbcurl = jdbc:oracle:oci:@ (description= (address_list= (address=) (PROTOCOL=TCP) (host=xmjfjy_r710_01) )) (Connect_data= (SERVICE_NAME=ERP)))
2010-6-13 11:05:43 Oracle.sysman.emdrep.config.emschemaconfiguration$configinstance Run
Severity: null
Java.lang.reflect.InvocationTargetException
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:585)
At Oracle.sysman.emdrep.config.emschemaconfiguration$configinstance.run (emschemaconfiguration.java:469)
At Java.lang.Thread.run (thread.java:595)
caused By:java.lang.UnsatisfiedLinkError:no ocijdbc10 in Java.library.path
At Java.lang.ClassLoader.loadLibrary (classloader.java:1682)
At Java.lang.Runtime.loadLibrary0 (runtime.java:822)
At Java.lang.System.loadLibrary (system.java:993)
At Oracle.jdbc.driver.t2cconnection$1.run (t2cconnection.java:3139)
At java.security.AccessController.doPrivileged (Native Method)
At Oracle.jdbc.driver.T2CConnection.loadNativeLibrary (t2cconnection.java:3135)
At Oracle.jdbc.driver.T2CConnection.logon (t2cconnection.java:221)
At Oracle.jdbc.driver.physicalconnection.<init> (physicalconnection.java:519)
At Oracle.jdbc.driver.t2cconnection.<init> (t2cconnection.java:132)
At Oracle.jdbc.driver.T2CDriverExtension.getConnection (t2cdriverextension.java:78)
At Oracle.jdbc.driver.OracleDriver.connect (oracledriver.java:816)
At Java.sql.DriverManager.getConnection (drivermanager.java:525)
At Java.sql.DriverManager.getConnection (drivermanager.java:140)
At Oracle.sysman.emdrep.config.IConfigurationContext.createConnection (iconfigurationcontext.java:201)
At Oracle.sysman.emdrep.config.IConfigurationContext.createConnection (iconfigurationcontext.java:240)
At Oracle.sysman.emdrep.config.IConfigurationContext.getConnection (iconfigurationcontext.java:194)
At Oracle.sysman.emdrep.config.IConfigurationContext.init (iconfigurationcontext.java:96)
... 6 more
2010-6-13 11:05:43 Oracle.sysman.emdrep.config.EMSchemaConfiguration Perform
Warning: Exception occured during execution of Oracle.sysman.emdrep.util.TransxWrapper
2010-6-13 11:05:43 Oracle.sysman.emdrep.config.EMSchemaConfiguration Perform
Severity: FATAL EXCEPTIONS:
FATAL Configuration Exceptions
Here is the resolution process:
First of all, I suspect that the network problem, directly in the native ping hostname, through.
Second, the suspicion of firewall problems, shut down the firewall, and then reinstall, the error is still.
Find an explanation for this problem on OTN:
Cause
The Windows machine was in a Active Directory and is using IPV6. When the short hostname is pinged, it's resolved via the fully qualified hostname to an IPV6 (ISATAP) address eg:-
Ping Machine1
Pinging machine1.uk.oracle.com [fe80::f1bb:2ed:4d5a:1732] with + bytes 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 are not IPV6 compliant. Grid Control 11.1.0.1 is IPV6 compliant. The version of Dbconsole which is built around Grid Control 11.1.0.1 would be IPV6 compliant. (the version which dbconsole is built round are shown in the output of Emctl status agent).
Solution
ADD entries into the host file, to force IPv4 style resolution:-
1) Edit the windows\system32\drivers\etc\hosts file
2) Add an entry for the format:-
<ipaddress> <fully qualified hostname> <short hostname>
eg.
138.3.146.333 machine1.uk.oracle.com machine1
Now while pinging the short hostname, the IPv4 style IPAddress is returned.
Simple explanation:
2008 by default with IPV 6 protocol resolution, ping hostname, it is resolved to IPV6 (ISATAP) address through full hostname
Example: Ping www.swsport.com
Dbconsole 11.2 Controls 10.2.0.4 around the grid, so IPV6 compatibility is not supported. Grid Control 11.1.0.1 is IPV6 compatible: (which dbconsole built-in version of the output emctl the status agent).
This means that the operating system uses IPV 6 to resolve the address, and your EM does need to IPV 4 to resolve the address. Workaround: Forcibly use IPV4 to resolve addresses
1) edit Windows \ SYSTEM32 \ DRIVERS \ ETC \ Hosts file
2) Add an entry for the machine of the format:-2) adding an entry to the format:-
<ipaddress> <fully qualified hostname> <short hostname> <IP address >< fully qualified hostname > < short host name
eg. for example.
192.168.77.1 swspor.oraclemachine.com Oraclemachine
. Now, when performing a ping short hostname, the IPv4 form IPAddress is back.
After:
|
Manually rebuilding the EM database
Here is the process of EMCA creating EM, which is a rough demonstration:
1. Delete the build failed EM archive:
C:\Documents and Settings\administrator>emca-deconfig dbcontrol db-repos drop
2. Re-create the EM archive:
C:\Documents and Settings\administrator>emca-config Dbcontrol db-repos Create |
|
|
win_server_2008 Loading EM data fails when installing ORACLE_11G EM