EM 10g Database Control - Status: Agent Unreachable

Hi,
OS: AIX 5L
Database: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit
We have installed 2 instances with EM 10g database control option.
At the end EM was running over the second database.
Then we switch it to look over the first one by reconfiguring these files:
$ORACLE_HOME/sysman/config/emd.properties;
$ORACLE_HOME/sysman/config/pref/dbastudio-oradba.crd.
Now EM seems to work fine except for this error: Agent Unreachable.
oradba@aix09(:SIGP)/u01/apps/oradba/product/10.1.0/aix09_SIGP/sysman/log > emctl status agent
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.2.0
OMS Version : 10.1.0.2.0
Protocol Version : 10.1.0.2.0
Agent Home : /u01/apps/oradba/product/10.1.0/aix09_SIGP
Agent binaries : /u01/apps/oradba/product/10.1.0
Agent Process ID : 4284428
Parent Process ID : 3399760
Agent URL : http://aix09:1830/emd/main
Started at : 2004-08-09 12:24:29
Started by user : oradba
Last Reload : 2004-08-09 12:24:29
Last successful upload : (none)
Last attempted upload : 2004-08-09 14:29:51
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 1955
Size of XML files pending upload(MB) : 50.12
Available disk space on upload filesystem : 4.60%
Agent is Running and Ready
/aix09_SIGP/sysman/log/ emagent.trc:
2004-08-09 14:31:53 Thread-1910 ERROR upload: Failed to upload file A0000001.xml, ret = -2
2004-08-09 14:31:53 Thread-1910 WARN upload: FxferSend: received http error in header from repository: http:/
/aix09:5500/em/upload/
ERROR-400|ORA-04020: deadlock detected while trying to lock object 30x700000021709BF80x700000021B01D200x700000
0267473A8
2004-08-09 14:31:53 Thread-1910 ERROR upload: Failed to upload file A0000001.xml, ret = -2
2004-08-09 14:31:53 Thread-1910 ERROR upload: 3 Failures in a row for A0000001.xml, we give up
2004-08-09 14:31:53 Thread-1910 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
After connecting as sysman I’ve ran these statements:
SQL> SELECT emd_url
2 FROM mgmt_targets t
3 WHERE t.target_name = 'aix09'
4 AND t.target_type = 'host';
EMD_URL
http://aix09:1830/emd/main
SQL> SELECT t.target_name, t.target_type,
2 TO_CHAR(t.load_timestamp,'DD-MON-YYYY HH24:MI:SS') "discovery_time
3 TO_CHAR(t.last_updated_time,'DD-MON-YYYY HH24:MI:SS') "last_metada
ta_load",
4 TO_CHAR(a.marker_timestamp,'DD-MON-YYYY HH24:MI:SS') "last_severit
y_load",
5 TO_CHAR(t.last_load_time,'DD-MON-YYYY HH24:MI:SS') "last_metric_lo
ad"
6 FROM mgmt_targets t, mgmt_availability_marker a
7 WHERE t.target_guid = a.target_guid
8 AND t.target_name = 'aix09'
9 AND t.target_type = 'host';
TARGET_NAME
TARGET_TYPE discovery_time
last_metadata_load last_severity_load last_metric_load
aix09
host 03-AUG-2004 14:47:55
05-AUG-2004 18:28:45 05-AUG-2004 18:30:42 05-AUG-2004 17:13:55
Does any one know what do I have to do to solve this problem ?
Thanks in advance,
Vitor

Can you start a browser on the client machine?
(netscape/mozilla) and try to load
http://aix09:1830/emd/main
Make sure both the client and the OMS server can resolve aix09 hostname
Make sure the client can resolve the OMS server name.

Similar Messages

  • Status:  Agent Unreachable

    Hi,
    I have installed 10g. I could access the EM very easily, once all the required services were started. it was http://host:5500/em
    Then I installed another database, other than the default which was orcl.
    Then the port number changed (I do not know why, but when I looked in portlist.ini) just to try different ports, I figured out, it was not
    http://host:5502/em
    when I hit it, it prompts for userid and password. I was so happy looking at this screen, but once I enter the userid and password, what is get is
    Status: Agent Unreachable with Startup/Shutdown option. When I click on it, I get error "500 Internal Server Error" in my browser.
    Thanks in advance

    If you have done two different Oracle Installations that will use different Standalone DB Console and two different Agents, your system may have had a problem starting the two agents.
    If you are using Windows, have a look at Services to see the Agents which has the name of the new ORACLE_HOME as part of the name. Start the Agent. If you have a problem starting thet new one, stop the first one you installed, then start the new one.

  • Oracle 10g  Database control installation error

    Hi,
    Installing oracle 10g database control had give me an error.But Repository created successfully . please find the log file below
    Is there i need to install ...? before i start to run emca to install Database Control.
    my points of interest are here
    FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
    i didn't find jms.xml,rmi.xml,http-web-site.xml etc in this location /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/
    File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
    Let me know how to slove this error.
    Thanks,
    anil
    Error
    =========
    emca -config dbcontrol db -repos create
    STARTED EMCA at Apr 8, 2008 4:33:25 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXX
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /opt/db/oracle/product/10.2.0
    Database hostname ................ xxx.xxxx.local
    Listener port number ................ 1521
    Database SID ................ XXX
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 8, 2008 4:34:55 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    the following is log generated (emca_2008-04-08_04-33-25-PM.log)
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0]
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml in searching for tag jms-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.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.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1172)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml in searching for tag rmi-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.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.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1176)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml in searching for tag web-site
    with attribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.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.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1180)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/install/staticports.ini
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /opt/db/oracle/product/10.2.0:mcidm11.pacs11.local:null:SDM:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_SDM value: 3938
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_SDM value: 1158
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_SDM value: 5540
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_SDM value: 5520
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: SDM : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-08_04-34-58-PM.log
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig grantPrivsToDbsnmp
    CONFIG: Exception while granting priviliges.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00942: table or view does not exist
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnmp(EMReposConfig.java:503)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:208)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Failed to grant priviliges to dbsnmp.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.unlockAccounts(EMReposConfig.java:566)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:235)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:239)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)

    Hi all,
    i started creating database control repository, when i saw emca running i had seen repository created successfully , but sysman user is not created at this point of time. Then i looked into emca_repos_create_2008-04-10_11-57-03-AM.log file but the file is unable to open because it's looking for file emreposcre.sql which creates sysman user in this location /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    i feel while installing the database these files are not created....? or i need to run any scripts before running emca ....?
    give me some inputs to this thread.
    Thanks,
    nil
    STARTED EMCA at Apr 10, 2008 11:55:41 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXXXX
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 10, 2008 11:57:02 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollog
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 10, 2008 11:57:03 AM
    mcidm11 10.2.0/bin>
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-10_11-57-03-AM.log
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    mcidm11 emca/SDM> pwd
    /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM
    mcidm11 emca/SDM> more emca_repos_create_2008-04-10_11-57-03-AM.log
    SP2-0310: unable to open file "/opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"mcidm11 emca/SDM> cd
    Directory: /opt/db
    mcidm11 /opt/db> cd /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    Directory: /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql
    mcidm11 emdrep/sql> ls
    core db ias ocs

  • Oracle 10G Database Control and Scheduling OWB Process Flow

    Does anyone know how to go about scheduling an OWB Process Flow from
    Oracle 10G Data Base Control. I knew how to do this with Oracle Enterprise Manager 9.2 but we recently upgraded to Oracle Db 10G and the interface has changed significantly.
    Now the interface seems to require a PL/SQL stored procedure to be executed.
    Is there a template procedure that is installed with 10G Data Base Control as there was for 9.2 i.e. oem_exec_template.sql?
    Thanks! Deadline approaching fast...
    Marion

    I've used the oem_exec_template.sql successfully with OWB 10.1 and Oracle 10G Database Control, with a little trial and error at first.
    I'm assuming that your job execution environment is set up correctly, ie. that you can properly execute jobs via the host agent.
    1. Log on to Database Control as SYSTEM, select Jobs from the links at the bottom of the page
    2. In the Results section, Create Job, select "SQL Script" and press Go
    3. In the General section, enter Job Name, and as SQL Script enter e.g.:
    @/u01/app/oracle/owb_oracle_home/owb/rtp/sql/oem_exec_template.sql owb_runtime WF_LOC PROCESS MY_PROCESS , ,
    4. In the Databases section, add your target database
    5. In the Credentials section, I select "Override Preferred Credentials" and use the agent account (oracle on my Linux system) and db user owb_access (OWB Runtime Access user)
    6. Review Schedule tab and submit
    Comments on step 3:
    - the oem_exec_template.sql script must be installed according to the path specified in step 3, on the database host where the OWB Runtime Repository is located
    - owb_runtime is the owner of my OWB Runtime Repository
    - WF_LOC is the name of my Workflow Location as seen in OWB Deployment Manager
    - MY_PROCESS is the name of a deployed Workflow Process
    - the commas indicate that I don't supply any system or custom parameters.
    - step 3 is actually a shell command line that is interpreted by eg. /bin/sh on Unix or cmd on Windows, and must obey proper quoting rules. On windows, I had to specify the empty commas as "\," (including dblquotes)
    Regards, Hans Henrik

  • An instance of Oracle EM 10g Database Control is already running.

    Hello all, I've this problem when I reboot my system and try to start EM console (because it's not working after each reboot until I restarted it):
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.2.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://IC-Server:1158/em/console/aboutApplication
    - An instance of Oracle Enterprise Manager 10g Database Control is already running.
    but if I check the EM status, these are the results:
    IC605 on IC-Server: emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.2.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://IC-Server:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.
    Logs are generated in directory /u01/app/oracle/product/10.2.0/IC-Server_IC605/sysman/log
    IC605 on IC-Server:The only way to solve this that I found -at least for now- it's to stop the EM console, and then start it again.
    And contents of file emdctl.trc are these:
    IC605 on IC-Server: cat emdctl.trc
    2008-09-02 00:11:00 Thread-1 WARN http: snmehl_connect: connect failed to (IC-Server:3938): Connection refused (error = 146)
    .... a lot of similar lines ....
    2008-09-12 00:47:17 Thread-1 WARN http: snmehl_connect: connect failed to (IC-Server:1158): Connection refused (error = 146)
    2008-09-12 01:11:35 Thread-1 WARN http: snmehl_connect: connect failed to (IC-Server:1158): Connection refused (error = 146)
    IC605 on IC-Server:
    Could you give any clue about where I must search for the problem?
    Thanks a lot.
    Martin
    P.S.: Some additional info...
    OS Version:
    # uname -a
    SunOS IC-Server 5.10 Generic_137112-06 i86pc i386 i86pc
    DB Version:
    SQL> conn /as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 289406976 bytes
    Fixed Size 1279820 bytes Variable Size 159385780 bytes
    Database Buffers 125829120 bytes
    Redo Buffers 2912256 bytes
    Database mounted.
    Database opened.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
    PL/SQL Release 10.2.0.2.0 - Production
    CORE 10.2.0.2.0 Production
    TNS for Solaris: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - ProductionEdited by: martinmorono on Sep 14, 2008 3:41 PM

    I've done it. Thanks.
    >SQL> alter session set current_schema = SYSMAN;
    >
    >Session altered.
    >
    >SQL> exec mgmt_target.set_agent_tzrgn('IC-Server:3938','America/Buenos_Aires');
    >
    >PL/SQL procedure successfully completed.
    >
    >SQL>
    But I still have the same trouble with EM Console startup... After rebooting my server, I got this error:
    IC605 on IC-Server: emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.2.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://IC-Server:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.
    Logs are generated in directory /u01/app/oracle/product/10.2.0/IC-Server_IC605/sysman/log
    IC605 on IC-Server: emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.2.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://IC-Server:1158/em/console/aboutApplication
    - An instance of Oracle Enterprise Manager 10g Database Control is already running.
    IC605 on IC-Server:I must to stop and then to start it "again" to be able to use the EM.
    Have you any idea?

  • Unable to open 10g Database Control Webpage from another computer

    Unable to open 10g Database Control Webpage from another computer
    Hi Gurus
    I have just installed Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on my PC Windows XP , created database and configured DB control
    I can open Database Control Webpage on the database machine by typing
    http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    or
    http://136.18.70.189:1158/em
    But can not open it from another PC
    When I do following from another PC
    1. http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    Get error: [code=DNS_NO_DATA] The IP address was not found during the DNS lookup. Contact your system administrator.
    2. http://136.18.70.189:1158/em
    Get error:Can not display web page
    I can ping 136.18.70.189 but not USI2374993VND0.vlgdw2k.visteon.com
    On the other PC I also tried adding 136.18.70.189 to
    tools - internet options - security - local internet - sites - advanced - add this web
    site to the zone as http://136.18.70.189
    But it did not work
    Please help with any ideas
    Thanks a bunch
    New DBA

    Firewalls?
    DNS translation issues?

  • Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0

    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0 is one hour behiend on AIX 5.3.
    I have installed the new timezone version 4 already by oracle DST path database is good OEM main page is showing one hour behiend.
    I have done every possible effort last thing may be i have to update java home i have 1.4 IBM java on the server.
    Please help me in this. Thanks.

    See the Metalink Note *Impact Document for Daylight Saving Time Shift for Enterprise Manager Grid Control [ID 417939.1]* Appendix B - FAQ - point 18
    What is the impact of not patching the JDK on the OMS for 10g Grid Control?
    If you do not patch the JDK on the OMS page refreshed times and possibly other times displayed in the console will be incorrect (they will be off by 1 hour) during an affected period.
    Oracle strongly recommends that you do patch the OMS JDK but we are not aware of any data corruption in the repository nor of any impact on critical EM functionalities (such as severities, notifications and jobs) when the JDK is not patched.

  • Oracle 10g database control

    hi,
    Working on oracle 10g is just like a mirage for me. I have installed and uninstalled it many times on my new laptop, but not been able to work on it, because of many oracle problems. my OS is windows xp prof. sp2. i have cracked my brain on accessing to oracle 10g database control webpage, but have not succeeded yet. everytime i am successful in installing oracle 10g on my machine but everytime i fail to connect to em-database control and got the error 'page can not be displayed'.
    my laptop uses dhcp and it uses a wireless LAN. i install and configure loopback adapter before installing 10g. i have tried with 192.168.x.y as the ip address of the loop back adapter and have put many numbers in place of x, y where 0<x<254 and 0<y<254 . Infact i have tried with 192.168.15.16
    192.168.18.12
    192.168.78.12
    192.168.84.123
    192.168.67.102
    192.168.20.178
    and many more and in all the previous cases i configured subnet mask to be
    255.255.255.0. Everytime database installation is successful but not able to connect to oem db control webpage.
    One more error i get everytime is that whenever i try to connect to database through sql window , sometimes i connect and sometimes i dont.i get the error ORA-12357 TNS Connection Closed.
    i provide username: scott
    password : tiger .
    host string: orcl
    ( orcl is the database name and also the name of the sid).
    But i always am able to connect to the database through command line c:\ prompt and everything works fine.
    Please provide me some solutions for the above problems...

    See Response to your other post
    its very very urgent, please reply

  • 10g database control

    hi,
    Working on oracle 10g is just like a mirage for me. I have installed and uninstalled it many times on my new laptop, but not been able to work on it, because of many oracle problems. my OS is windows xp prof. sp2. i have cracked my brain on accessing to oracle 10g database control webpage, but have not succeeded yet. everytime i am successful in installing oracle 10g on my machine but everytime i fail to connect to em-database control and got the error 'page can not be displayed'.
    my laptop uses dhcp and it uses a wireless LAN. i install and configure loopback adapter before installing 10g. i have tried with 192.168.x.y as the ip address of the loop back adapter and have put many numbers in place of x, y where 0<x><254 and 0<y><254 . Infact i have tried with 192.168.15.16
    192.168.18.12
    192.168.78.12
    192.168.84.123
    192.168.67.102
    192.168.20.178
    and many more and in all the previous cases i configured subnet mask to be
    255.255.255.0. Everytime database installation is successful but not able to connect to oem db control webpage.
    One more error i get everytime is that whenever i try to connect to database through sql window , sometimes i connect and sometimes i dont.i get the error ORA-12357 TNS Connection Closed.
    i provide username: scott
    password : tiger .
    host string: orcl
    ( orcl is the database name and also the name of the sid).
    But i always am able to connect to the database through command line c:\ prompt and everything works fine.
    Please provide me some solutions for the above problems...

    See Response to your other post
    its very very urgent, please reply

  • Waht is compare target option in 10g Database Control

    hi,
    my company use 10g database control (enterprise manager) in host perormance page comare target option i can't understand what is compare target option.

    Allows you to compare the configuration of two targets to each other... How many times have you been asked if two hosts/databases/etc are configured exactly the same because they perform differently.
    If I had a 5 cents for everytime I heard that........ (not that they are always the same.....)

  • Add second instance to Enterprise Manager 10g database control

    Hi,
    I have a server with one Oracle 10g database instance, and I
    configured the local Enterprise Manager database control for it.
    Now I added a second instance on the server, using the same Oracle
    home. Can I manage this new instance using the existing database
    control or do I have to configure a second database control using
    another port? The documentation isn't too clear on this.
    Thanks,
    Matthias

    You can't manage the two database using database control. you have to go for Grid control only if you need to configure two or more instance.

  • How to open the 10g Database Control Webpage from another computer ?

    it is a freshly installed Oracle 10gR2 EE on windows xp professional.. all settings are default by installer.
    i can open the Database Control Webpage on the database machine by typing http://localhost:1158/em in IE.
    however when i try to open it from another pc on the same LAN by using http://database_pc_ip_address:1158/em in IE, it says the page can not be found.
    what else need to be done before i can open the Database Control Webpage from another PC?
    thanks for the help !

    You have a configuration problem on your database machine, LOCALHOST is resolved to the internal loopback address 127.0.0.1, not to the actual IP-Address of the machine. Such a configuration works only locally, for remote access you have to specify a hostname known to the network. Check the installation guide for the correct setup (machines connected to a network or not, DHCP or not):
    http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABBDGBI
    Werner

  • Unable to start Oracle Enterprise Manager 10g Database Control

    We have 2 systems.. one with the database and one with the midtier (both Linux). Our site is currently down and after rebooting it, and trying to start the database console ($ORACLE_HOME/bin/emctl start dbconsole), the db console fails to load. I looked at the sysman log files and got the following
    From emoms.trc
    2011-10-29 01:00:02,536 [JobWorker 6217:Thread-13] ERROR em.jobs executeCommand.159 - UpdateARUTables: Oracle MetaLink credentials are incorrect or missing. Click Patching Setup to set required parameters.
    From emagent.trc
    2011-10-29 10:52:53 Thread-3030621104 ERROR util.files: nmeufile_getLength: Error in lfilen. Error = 2 (No such file or directory)
    From emagentfetchlet.log
    2011-10-29 10:52:52,827 [main] WARN track.OracleInventory collectInventory.439 - ECM: The inventory location file for the special Windows NT case does not exist or is unreadable.
    From emdctl.trc
    2011-11-01 23:21:43 Thread-3065480896 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-240,and testTZoffset for US/Eastern:-300 do not match
    Any help would be greatly appreciated.
    Thanks,
    Cecilia

    yes, that link is pretty much right, Ive run those manual commands many times and MOST of them works fine see below. the recommended way of doing this putst the database into quiesce mode which pretty much kills your DB. As far as I can remember, I did the manual way a couple years ago and had awful trouble with one of the steps (cant remember which) and ended up bringing DB down anyway so I would suggest doing the work in a maintenance window just in case. double check all the steps anyway as it looks like something changed in your environment to cause your initial errors, whatever scenario caused that (permissions or whatever) may still exist.
    14:32:48 SQL> DROP USER sysman CASCADE;
    DROP PUBLIC SYNONYM setemviewusercontext;
    DROP ROLE mgmt_user;
    DROP PUBLIC SYNONYM mgmt_target_blackouts;
    DROP USER mgmt_view;
    DROP USER dbsnmp CASCADE;
    -- remove the os folder contents
    rm $ORACLE_HOME/host_sid/
    rm $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_host_sid
    -- then easiest way to install the repository is to run
    emca -config dbcontrol db -repos create

  • 10g Database Control, View Tablespaces

    Kindly refresh my memory - what does a NEGITIVE value in the USED column mean? (And how to "corret" it)

    You should check the following:
    Navigate to the datafile underneath the tablespace.
    Check if for the datafile the 'Automatically extend datafile when full (AUTOEXTEND)' is checked.
    If so, make sure the value for the current file size does not exceed the value for 'Maximum File Size'. If this is the case, this is the cause of the negative value in the tablespace alert. Simply change the value for 'Maximum File Size' and the alert will clear automatically.
    Rob

  • Oracle Management Console 10g - Job Status - Suspended on Agent Unreachable

    Recently we updated our RDMS from 10.2.0.1 to 10.2.0.4.0 PATCH 25.
    Ever since we upgraded, we have had trouble with our RMAN backups. Now when a scheduled backup begins it never ends. Now whenever we schedule a job, from a backup to any simple system command, the status immediately returns "Suspended on Agent Unreachable".
    We can start and stop the dbconsole successfully, and I can use the OEM to monitor the database, and make changes to that. However, I cannot run any scheduled database jobs through the OEM. However, I can run the rman jobs via the command line.
    The database server, and the OEM console is on the save server. I am not running RAC. Everything database related is on this one server.
    Here are the results for emctl status agent:
    E:\oracle\product\10.2.0\db_1\BIN>emctl status agent
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    Agent Version     : 10.1.0.6.0
    OMS Version       : 10.1.0.6.0
    Protocol Version  : 10.1.0.2.0
    Agent Home        : E:\oracle\product\10.2.0\db_1\content.mydomain.com_ORCL
    Agent binaries    : E:\oracle\product\10.2.0\db_1
    Agent Process ID  : 34372
    Agent URL         : http://content.mydomain.com:3938/emd/main
    Started at        : 2010-01-11 14:58:24
    Started by user   : SYSTEM
    Last Reload       : 2010-01-11 14:58:24
    Last successful upload                       : (none)
    Last attempted upload                        : (none)
    Total Megabytes of XML files uploaded so far :     0.00
    Number of XML files pending upload           :     5016
    Size of XML files pending upload(MB)         :    42.77
    Available disk space on upload filesystem    :    37.94%
    Agent is Running and ReadyHere are the results for emctl status agent:
    E:\oracle\product\10.2.0\db_1\BIN>emctl upload
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..I think the EMD upload error may be the problem, but I'm unsure how to resolve this.
    What do I need to do in order to resolve this issue?
    If any more info would be useful, please let me know and I will post it immediately.
    thanks.

    Rondeyli,
    Thanks, that was it. I followed your instructions, and was able to get the system to work. I had to alter the commands a bit to get them to work on my system, so here is what I did.
    I performed the following steps:
    1. Ran the following command:
            emctl stop dbconsole
    2. deleted all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state
    3. Ran the following command:
           emctl clearstate dbconsole
    4. Ran the following command:
           emctl secure dbconsole
    5. Ran the following command:
           emctl start dbconsoleThis got everything running for me.
    thanks.

Maybe you are looking for