Home » RDBMS Server » Enterprise Manager » OC4J Configuration issue. OC4J_DBConsole_ip_sid not found (oracle10g on windows xp)
OC4J Configuration issue. OC4J_DBConsole_ip_sid not found [message #304313] Tue, 04 March 2008 18:05 Go to next message
steven0712
Messages: 3
Registered: February 2008
Location: Maryland
Junior Member
Hello,

I have a new install of 10g running on xp. All seems to be working fine except for the Db Console.
This command...
C:\>emctl status dbconsole
throws...
OC4J Configuration issue. C:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole_xxx.xxx.xxx.xxx_LOCAL10G not found.
where xxx... is my ip address???

The directory name is actually OC4J_DBConsole_MY-LT_LOCAL10G.

My tnsnames shows my host as MY-LT, so I'm not sure why it's looking for an ip address.

I did a search off my oracle home in all .ora and .xml files, but did not see this address listed.
I figured there may be a var assigned this ip instead of the hostname but found none.

To note, I do not have a ORACLE_HOME setup. I do have an ORACLE_SID setup (local10g). This is the only Db running on this host.

The listener is up and I am able to connect via sql without issue.

Any help is appreciated.
Thanks,.
Re: OC4J Configuration issue. OC4J_DBConsole_ip_sid not found [message #304472 is a reply to message #304313] Wed, 05 March 2008 06:10 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
How did you create your database?

Doesn't sound like you configured your database for database control. Check Configuring Database Control During and After the Oracle Database 10g Installation.
Re: OC4J Configuration issue. OC4J_DBConsole_ip_sid not found [message #304559 is a reply to message #304472] Wed, 05 March 2008 11:45 Go to previous messageGo to next message
steven0712
Messages: 3
Registered: February 2008
Location: Maryland
Junior Member
The Db was created from the Oracle 10g install. I don't recall any options referencing Db control. I will check out the link. Thanks for the reply.
Re: OC4J Configuration issue. OC4J_DBConsole_ip_sid not found [message #304833 is a reply to message #304472] Thu, 06 March 2008 19:14 Go to previous messageGo to next message
steven0712
Messages: 3
Registered: February 2008
Location: Maryland
Junior Member
Bummer. Still having some issues. I setup oracle home and sid and ran >emca -config dbcontrol db.
It shows my host as the ipaddress and not the alias. I am sure this will cause a problem, so I did not continue.

Output shows...
Database host name ..........: xxx.xxx.xxx.xxx
Should be...
Database host name ..........: my_lt

All my %ORACLE_HOME% settings, dir names, etc that show host show it as my_lt. Not sure where it's looking for host. Maybe this is a windows setting. Any ideas? Thanks.

Re: OC4J Configuration issue. OC4J_DBConsole_ip_sid not found [message #526990 is a reply to message #304833] Fri, 14 October 2011 04:16 Go to previous messageGo to next message
dba_7722
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Adding to same issue:

getting error when stop OEM:

litening:/opt/oracle/product/11.2.0/bin>export ORACLE_HOME=/opt/oracle/product/11.2.0
litening:/opt/oracle/product/11.2.0/bin>export ORACLE_SID=infoddp
litening:/opt/oracle/product/11.2.0/bin>emctl stop dbconsole
OC4J Configuration issue. /opt/oracle/product/11.2.0/oc4j/j2ee/OC4J_DBConsole_pacdcinfoddpapa2.cable.comcast.com_infoddp not found.
litening:/opt/oracle/product/11.2.0/bin>


any suggestion ..??

Thanks.
Re: OC4J Configuration issue. OC4J_DBConsole_ip_sid not found [message #526992 is a reply to message #526990] Fri, 14 October 2011 04:21 Go to previous message
dba_7722
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Later it is resolved when setting variable ORACLE_HOSTNAME.

litening:/opt/oracle/product/11.2.0/oc4j/j2ee>export ORACLE_HOSTNAME=liteningv
litening:/opt/oracle/product/11.2.0/oc4j/j2ee>emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
http://liteningv:4300/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
 ...  Stopped.
litening:/opt/oracle/product/11.2.0/oc4j/j2ee>
Previous Topic: 11gR2 Grid Control - SVG or Flash?
Next Topic: NOT ABLE TO CONNECT DATABASE
Goto Forum:
  


Current Time: Fri Nov 22 16:34:25 CST 2024