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?
Similar Messages
-
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,
MatthiasYou 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.
-
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 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. -
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 -
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...
MarionI'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 -
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 Ive 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,
VitorCan 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. -
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 DBAFirewalls?
DNS translation issues? -
Oracle Enterprise Manager Database Control is not working properly
Hello!
I have a problem with Oracle Enterprise Manager Database Control, the web console. When I open the browser, instead of showing the login window, it shows the window where three arrows, the database instance, the listener, and the conection, that are red and down.
However they are working correctly, the database is up and working, but the EM doesn't show anything else.
Is there a way to make it work again?
Thanks!The Enterprise Manager has lost sync with the database.
The only way I know to do this remotely is to tell the OEM to shut down and/or bring up the database - twice. It'll try and fail and perhaps eventually reset it's pointers.
I'd really like Oracle to create a 're-sync to actual state' URL ... there must be an easy way, such as flushing the collected metrics or something. -
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 -
Preparing for Oracle OCA 11g using an Oracle Express 10g database
As a software application developer, I have been considering Oracle certification for a while to enhance my skill set. Unfortunately I don't have access to a commercial Oracle installation, and would like to use a free version of Oracle Express during my studies. The latest OCA courses largely focus on Oracle 11g, and it would appear that there is no free (Express) 11g database available yet.
Could anyone please advise me whether it would be possible and practical to prepare for the 1Z0-051 Oracle Database 11g: SQL Fundamentals I and 1Z0-052 Oracle Database 11g: Administration I exams using an Oracle Express 10g database instance, while accompanied by the relevant Oracle 11g study material? In other words, is the overlap between Oracle 10g and 11g sufficient that a solid understanding of 10g could allow me to successfully sit the 11g exams? Furthermore, would the Express edition of the database provide sufficient functionality to prepare for the Administration exam?user10750763 wrote:
As a software application developer, I have been considering Oracle certification for a while to enhance my skill set. Unfortunately I don't have access to a commercial Oracle installation, and would like to use a free version of Oracle Express during my studies. The latest OCA courses largely focus on Oracle 11g, and it would appear that there is no free (Express) 11g database available yet.
Could anyone please advise me whether it would be possible and practical to prepare for the 1Z0-051 Oracle Database 11g: SQL Fundamentals I and 1Z0-052 Oracle Database 11g: Administration I exams using an Oracle Express 10g database instance, while accompanied by the relevant Oracle 11g study material? In other words, is the overlap between Oracle 10g and 11g sufficient that a solid understanding of 10g could allow me to successfully sit the 11g exams? Furthermore, would the Express edition of the database provide sufficient functionality to prepare for the Administration exam?Using Oracle 10g express edition to prepare for 1z0-051 should be OK.
(http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=1080544&lang=US&p_exam_id=1Z0_051 says Exam 051 has been validated against Oracle Database 10g and Oracle Database 11g. Training on either version will be appropriate preparation.).
For 1z0-052 the situation is different. Oracle 10g express edition hides some of the administration tasks ... you really need to be using 11g.
If you dont waht Oracle 11g all over your regular machine then I would typically recommend install Oracle Enterprise Linux either on a spare machine with a dual core or HT processor and with 2GB or more of memory (eg Dell gx280 or better); or using a virtualisation solution on your current machine (ram would need to be 3GB or higher) (eg virtualbox or whatever ... though windows as a guest can have a license issue). -
Oracle Enterprise Manager Database Control
Please help me.
Here's oracle installing step:
1. Install Oracle 11g software with "Advance" option. I just install software without creating a Data base at this time.
2. Create a Data base with DBCA
I couldn't see the Oracle Enterprise Manager Database Control at "Services " window while
"Chapter 3: Getting Started with Oracle Enterprise Manager" says that:
This chapter introduces you to Oracle Enterprise Manager Database Control. The Oracle Universal Installer installs Oracle Enterprise Manager Database Control when you install the Oracle software. Enterprise Manager Database Control provides a Web-based interface that you can use to manage your Oracle instance and database.
Thank in advance!Hi,
You didn’t create a Database that’s why you don’t have Oracle Enterprise Manager Database Control.
Create Database with DBCA and you will get an option “Configure database with Enterprise manager” (step 5).
At the end of DB creation you will get a link for Oracle Enterprise Manager Database Control.
Browse the link to open EM Database control.
If you choose to create DB with Oracle installation then you will get Oracle Enterprise Manager Database Control.
Regards,
Satishbabu Gunukula
http://oracleracexpert.blogspot.com -
Differences between Oracle 9i & 10g database
I had a query as to what are the differences between Oracle 9i & 10g database. I have heard of a partioning feature which is there in 10g but not in 9i. I hope, my question is clear.
Please, help in solving the doubt.
regardsHi,
Differences between oracle 10g and 9i
regards
Jafar -
How to manage a 9i instance with the standart 10g DB control?
Is it possible to manage a 9i instance with the standart 10g DB control(not Grid Control)? If yes, how :)
Thank you.No it isn't, you need grid
-
How to check image size in oracle 9i & 10g database
hi,
i have inserted an Image into a table in oracle database & I want to View the Query How to check image size in oracle 9i & 10g database
thanks
Edited by: user8920919 on May 30, 2010 1:43 AMuser8920919 wrote:
hi,
How to check image size in oracle 9i & 10g database
thanksWhat do you mean with "image size"?
Maybe you are looking for
-
Accounting Document not Cleared using BAPI_ACC_DOCUMENT_POST
Dear Experts, I am Using BAPI_ACC_DOCUMENT_POST to post the GL'S , Accounting document is getting created successfully . My Doubt is whether this bapi will clear the Accounting document automatically or we have to use any other function module to cle
-
Error while testing JCO connections
Hi, Can anyone please help me with the following error.I am getting this when I'm testing my JCO connection : RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=cgnsap13 SYSNR=01 GWHOST=cgnsap13 GWSERV=sapgw01 PCS=1 LOCA
-
I want to see the group on the contact card
Hi, Is there any way to see--on the contact card-- the groups that a particular contact belongs to? Is there a plugin that adds this functionality?
-
Entering current time in StarOffice 7 Calc
Can anyone please tell me if it is possible, with a shortcut key to enter the current time in Calc, please? What I want to do is the same as Ctrl/Shift/Colon in Micro$oft Excel where that key combination enters the current time in the highlighted cel
-
Hi, I'm currently checking out my new copy of shake and attempting to get my head around a very new way of working! Just running through the tutorials and have run into something which is confusing me...any help would be great! Basically, I'm using t