Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBconsole won't restart after change hostname

Status
Not open for further replies.

sillyVM

Technical User
Feb 14, 2007
144
US
Hi all,
I have a problem, after I change the hostname of the machine, the dbconsole will not restart. It says OC4J Configuration issue. /home/oracle/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4j_DBConsole_XXXX.XXX.com_orcl not found.

XXXX.XXX is my new host.Domain.com address.

So I tried this,
emca -config dbcontrol db -repos create
but I can not give a DBSNMP password, this wouldn't work
then i tried this,
emca -deconfig dbcontrol db -repos drop
This will give me an error says database instance is not available. But it is running with listner up. anyway I can reconfigure the server? it's running on a ubuntu linux. Thank you.


 
I have the problem resolved. I did
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create

drop and created dbconsole. The problem was the database isn't started the corrected way. I started it now using dbstart script and everything worked.
 
Maybe a bit late now but just FYI. I had exactly this problem a few months ago, got in touch with oracle support and they gave me similar commands to run but i couldn't run them cos i didn't know the dbsnmp password.
(which i think is not actually set during a default install, so if you don't set it yourself - which i didn't, you can run into this problem).

A friend told me the 5 second fix, which was to run the dbca config assistant, this wizard allowed me to re-set dbsnmp password, then it all worked. Mind you i have a windows setup, dunno if same tricks work on linux
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top