Home » RDBMS Server » Enterprise Manager » Rebuild of database control problem
Rebuild of database control problem [message #162107] Wed, 08 March 2006 16:21 Go to next message
aughenbm
Messages: 2
Registered: March 2006
Junior Member
somehow my database control got messed up so I couldn't start up the dbconsole using emctl. I'm running 10g on RHEL 3.0
So I ran the following to remove the old repository for sid ftst:
$ORACLE_HOME/sysman/admin/emdrep/bin/RepManager -connect ftst -action drop
This succeeded.
emca -x ftst
This succeeded.
emca

answered all prompts. The output went like the following with the SEVERE error message towards the bottom.

You have specified the following settings
Database ORACLE_HOME ................ /opt/oracle/product/10.1.0/Db_1
Enterprise Manager ORACLE_HOME ................ /opt/oracle/product/10.1.0/Db_1
Database host name ................ vtdb1.cio.byuh.edu
Listener port number ................ 1521
Database SID ................ ftst
Service name ................ ftst
Email address for notification ...............
Email gateway for notification ...............

-----------------------------------------------------------------
Do you wish to continue? [yes/no]: yes
Mar 8, 2006 11:08:04 AM oracle.sysman.emcp.EMConfig updateReposVars
INFO: Updating file /opt/oracle/product/10.1.0/Db_1/sysman/emdrep/config/repository.variables ...
Mar 8, 2006 11:13:30 AM oracle.sysman.emcp.EMConfig createRepository
INFO: Creating repository ...
Mar 8, 2006 11:13:30 AM oracle.sysman.emcp.EMConfig perform
INFO: Repository was created successfully
Mar 8, 2006 11:13:55 AM oracle.sysman.emcp.EMConfig addPortEntries
INFO: Updating file /opt/oracle/product/10.1.0/Db_1/install/portlist.ini ...
Mar 8, 2006 11:13:55 AM oracle.sysman.emcp.EMConfig updateEmdProps
INFO: Updating file /opt/oracle/product/10.1.0/Db_1/sysman/config/emd.properties ...
Mar 8, 2006 11:13:56 AM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: targets.xml file is updated successfully
Mar 8, 2006 11:13:56 AM oracle.sysman.emcp.EMConfig updateEmomsProps
INFO: Updating file /opt/oracle/product/10.1.0/Db_1/sysman/config/emoms.properties ...
Mar 8, 2006 11:13:57 AM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Mar 8, 2006 11:14:17 AM oracle.sysman.emcp.EMConfig setAttributeInXML
SEVERE: Error parsing XML file /opt/oracle/product/10.1.0/Db_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
java.io.FileNotFoundException: /opt/oracle/product/10.1.0/Db_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:41)
at oracle.sysman.emcp.EMConfig.setAttributeInXML(EMConfig.java:4396)
at oracle.sysman.emcp.EMConfig.instantiateOC4JConfigFiles(EMConfig.java:3393)
at oracle.sysman.emcp.EMConfig.updateConfigFiles(EMConfig.java:1485)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:434)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:692)
at oracle.sysman.emcp.EMConfigAssistant.performSetup(EMConfigAssistant.java:641)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:340)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:180)Mar 8, 2006 11:14:17 AM oracle.sysman.emcp.EMConfig updateConfigFiles
SEVERE: Error instantiating OC4J configuration files
Mar 8, 2006 11:14:17 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error updating the necessary configuration files.
Could not complete the configuration. Refer to the log file for details


All I want to do is rebuild the database control. I made sure the port 5500 is available. Running 10g rel. 1 on RHEL 3. Any ideas on what I'm missing?
Re: Rebuild of database control problem [message #190691 is a reply to message #162107] Thu, 31 August 2006 15:09 Go to previous messageGo to next message
mw786
Messages: 1
Registered: August 2006
Junior Member
Were you able to get around this?

I am seeing the error too!

let me know what have you done.
Re: Rebuild of database control problem [message #438545 is a reply to message #190691] Sun, 10 January 2010 20:11 Go to previous message
achellstrom
Messages: 1
Registered: January 2010
Junior Member
Looks like the dbconsole didn't get installed during Oracle Home creation
Use this step if creating a new dbconsole
- execute the following steps:
a. Install the EM components from the database software CD
i. Launch the 10G installer.
ii. Set the destination to your 10g database Oracle home.
iii. Choose 'custom' installation and check the option "Oracle Enterprise Manager 10g Database Control 10.2.x.x"
Previous Topic: Dbconsole error 1053 after windows security patch
Next Topic: Error Installation EM Grid Control 10.2.0.1 on Sun
Goto Forum:
  


Current Time: Thu Mar 28 12:14:57 CDT 2024