OC4J Configuration issue. OC4J_DBConsole_ip_sid not found [message #304313] |
Tue, 04 March 2008 18:05 |
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 #304833 is a reply to message #304472] |
Thu, 06 March 2008 19:14 |
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 #526992 is a reply to message #526990] |
Fri, 14 October 2011 04:21 |
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>
|
|
|