Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

enterprise manager cannot be started under OEL

REDO LOGOct 19 2012 — edited Oct 19 2012
Hi all
I have installed oracle database 11gR2 on oracle enterprise linux 6.2, the database runs properly
but still have problems in the enterprise manager, and by issuing the startup command I got this error:
[oracle@localhost Desktop]$ emctl startup dbconsole
The following exception occurred: 
java.net.UnknownHostException: ol6-112.localdomain: ol6-112.localdomain
	at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
	at java.net.InetAddress.getAllByName(InetAddress.java:1072)
	at java.net.InetAddress.getAllByName(InetAddress.java:1008)
	at java.net.InetAddress.getByName(InetAddress.java:958)
	at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:4289)
	at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:4252)
	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.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:598)
	at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:167)
	at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:155)
	at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2364)
	at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3290)
Although there was an exception it might be possible for the program to continue.
EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/OC4J_DBConsole_localhost_DB11G not found. 
I have created the OC4J_DBConsole_localhost_DB11G directory and copy the contents of the OC4J_DBConsole_ol6-112.localdomain_DB11G to it, because I though that the problem was in the machine name, then I issued the same command and get the following error:

[oracle@localhost Desktop]$ emctl startup dbconsole
The following exception occurred: 
java.net.UnknownHostException: ol6-112.localdomain: ol6-112.localdomain
	at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
	at java.net.InetAddress.getAllByName(InetAddress.java:1072)
	at java.net.InetAddress.getAllByName(InetAddress.java:1008)
	at java.net.InetAddress.getByName(InetAddress.java:958)
	at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:4289)
	at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:4252)
	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.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:598)
	at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:167)
	at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:155)
	at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2364)
	at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3290)
Although there was an exception it might be possible for the program to continue.
EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/ol6-112.localdomain_DB11G not found.
if you notice, the last error line has changed from EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/OC4J_DBConsole_localhost_DB11G not found.

to EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/ol6-112.localdomain_DB11G not found


is there any thing that is missed during installation process?

thanks from help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2012
Added on Oct 19 2012
20 comments
2,152 views