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
Similar Messages
-
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...
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 -
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 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. -
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 PMI'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 DBAFirewalls?
DNS translation issues? -
Installation of Oracle 10g Database on Windows Vista Home Basic
Hi All,
I'm confused about the possibility of installing Oracle 10g Database Server in Windows Home Basic Operating System with Service Pack 1. Please help me out with a confirmation.
Thanks in advance
PrasanthHi Prasanth
Yes that should be possible but is it a production database or just a test database.
you can always control that in metalink if it is supported, I don't believe it is.
Read that documentation to perform the installation.
http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/toc.htm -
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. -
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.
-
Export and import Oracle 10G database
Hello all
Can anyone tell me once for all how can i backup oracle 10G database and restore it in other computer (export and import)
thanks alot
RonDo you can access to metalink?
If not, I copy an paste this doc's....
Doc ID: Note:10767.1
Subject: How to perform FULL System Export/Imports
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/X-HTML
Creation Date: 18-APR-1994
Last Revision Date: 30-AUG-2002
Purpose
This article highlights some important points to consider when performing
a Full System Export and Import.
Scope and Application
It is intended to assist users performing FULL System Exports and Imports.
A Full System Export and Import is a useful way to replicate or clean up
a database. Please note the following guidelines when performing a Full
System Export and Import:
1. When performing the import, ensure you are pointing at the correct
instance. Always check values for the SID and two task driver before
proceeding.
*Note: On Unix systems, just entering a sub-shell, such as using
C-shell, can change the database that the import would work
against.
2. When possible, it is advisable to take a physical copy of the
exported database and the database you intend to import into before
starting the import. This ensures any mistakes are reversible.
3. NEVER run a FULL SYSTEM IMPORT on a machine that has more than one
database UNLESS you are 100% sure all tablespaces have been
pre-created. A full import will create any undefined tablespaces
using the same datafile names as the exported database. There are
situations where this is very dangerous:
-> If the datafiles belong to ANY other database, they will be
CORRUPTED. This is especially true if the exported database is
on the same machine, because its datafiles will be re-used by
the database you are importing into.
-> If the datafiles have names that clash with existing operating
system files.
4. When exporting, it is advisable to also produce a report showing
information you may need before / after the import:
-> List the tablespaces and datafiles
-> List the rollback segments
-> List a count, by user, of each object type such as tables,
indexes, etc.
This enables you to ensure that tablespaces have been pre-created
and to check the success of the import after it is complete.
5. If you are creating a completely new database from an export, remember
to create an extra rollback segment in SYSTEM, and make this available
in the init.ora file before proceeding with the import.
6. There are some versions of export that do not retain sequence numbers
correctly. It is advisable to select next_value for each sequence
after the export so that these can be checked after import.
Following these guidelines will help you to avoid major problems.
Doc ID: Note:174226.1
Subject: How To Copy an Oracle Database To Another Machine
Type: HOWTO
Status: PUBLISHED
Content Type: TEXT/X-HTML
Creation Date: 12-OCT-2001
Last Revision Date: 01-OCT-2003
goal: How to copy an Oracle database to another machine
fact: Oracle Server - Enterprise Edition
fix:
Pre-requisites: The copy is between 2 machines, both have to be on the same OS
and have to have exactly the same database version installed.
1. Make sure the database you want to copy was closed with a SHUTDOWN IMMEDIATE,
SHUTDOWN NORMAL or SHUTDOWN TRANSACTIONAL.
2. Copy init.ora and control files to create instance and be able to go in
mount mode. Check the init.ora for the locations where the controlfiles have
to be, if those locations are not valid on the machine put the control files on
different places and adjust the init.ora accordingly.
3.a. Copy the datafiles (all of them).
b. Copy the redo-logfiles (all of them).
4.a. (Unix only) Set the environment variables:
ORACLE_SID - set to the database name you wish to create
ORACLE_HOME - set to full pathname of the Oracle system home directory
PATH - needs to include $ORACLE_HOME/bin
b. (NT/2000 only) Do 'set ORACLE_SID=<SID>'
Use oradim to create the service for the instance. For more information
on oradim please refer to (the part that refers to creating a new instance):
Note:68720.1 Creating a new 7.3, 8.0, 8.1 Instance/Database
5. Use servermanager (check the name to use for your version of oracle) or
sqlplus (version 9i and above) to startup the database in mount mode.
Do
CONNECT INTERNAL/<PASSWORD>
then
STARTUP MOUNT
Then do a rename of the copied datafiles if they are not in the same path as on
the other machine. For all the files that are in the result of the query:
SELECT NAME FROM V$DATAFILE;
do
ALTER DATABASE RENAME FILE '<oldfullpath>\<filename>' to <
newfullpath>\<filename>';
6. Query the datadictionary for the old location of the redolog files using:
SELECT MEMBER FROM V$LOGFILE;
If the new place is not the same as the old do:
ALTER DATABASE RENAME FILE '<oldfullpath>\<redologfilename>' to &
lt;newfullpath>\<redologfilename>';
7. Now open the database:
ALTER DATBASE OPEN;
****************************************************************** -
How to setup management server in oracle 10g database
guys,
i've installed oracle 10g database into my machine. but i don know how to setup the management server (for scheduling owb10g process flows). unlike 9idb, we have an option emca to setup the management server. if anyone of u knows abt it, please help me. do i need to install the grid control just to have the scheduling mechanism? please advice.Well, it depends heavily on what operating system you're using, what mail server you're trying to install, your network topology, etc. Realistically, this is a question that is probably better asked in a forum for whatever mail server you're trying to install...
Justin -
Error starting up Oracle 10g database.
Hi,
(I had shutdown my database by "shutdown abort")
Now i'm getting the following error while trying to startup Oracle 10g database version :- 10.2.0.1.0.
SQL> startup nomount
ORA-07345: The datafile name must not contain the string '..'.
I get the same error even for startup/ startup mount
currently i'm using only pfile for startup as there is no spfile in dbs directory.Hi Kuljeet,
This is a very strange error, i know, controlfile contains are not read in "no mount" state of database... still i'm getting the error.
The contents of my pfile are as follows :-
============================================================
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Archive
log_archive_dest_1='location=/net/nasdbdmp/vl/nasdbdmp/db_dumps/OQF/data/arch'
#log_archive_format=%t_%s_%r.dbf
log_archive_format=%t_%s_%r
##log_archive_dest='/net/nasdbdmp/vl/nasdbdmp/db_dumps/OQF/data/arch'
# Cache and I/O
db_block_size=8192
# Cluster Database
cluster_database=FALSE
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=DSOLPROD
# Diagnostics and Statistics
background_dump_dest=/vl/dsolprod/oracle/product/admin/DSOLPROD/bdump
core_dump_dest=/vl/dsolprod/oracle/product/admin/DSOLPROD/cdump
user_dump_dest=/vl/dsolprod/oracle/product/admin/DSOLPROD/udump
# Distributed, Replication and Snapshot
open_links=4
# File Configuration
control_files=("/vl/dsolprod/ora2/control/control01.ctl")
db_recovery_file_dest=/vl/dsolprod/db_dumps
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=5
# Miscellaneous
compatible=10.2.0.1.0
# NLS
nls_date_format=dd-mm-yyyy
# Optimizer
optimizer_mode=CHOOSE
# Processes and Sessions
processes=150
# Redo Log and Recovery
log_buffer=22479872
log_checkpoint_interval=10000
log_checkpoint_timeout=1800
# SGA Memory
sga_max_size=314032288
sga_target=314032288
# Security and Auditing
audit_trail=DB
os_authent_prefix=OPS$
remote_os_authent=TRUE
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_retained_size=65536
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
=========================================================== -
Problem Oracle 10g database Installation on Windows 2003 Server
Hi All,
I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
I double-insured that there is enough disk-space and I am also in the Administrators-Group.
Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
Regards
Muhammad Shoaib898118 wrote:
Hi All,
I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
I double-insured that there is enough disk-space and I am also in the Administrators-Group.
Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
Regards
Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names. -
How to configure Oracle Dataguard for Oracle 10g database
Hi Friends,
I would like to configuer Oracle Dataguard for my Oracle 10g Database.
Please provide me the configuration document.(step by step guide)
Regards,
DBHi
Go throw below link. This would be help to configure ODG..,
http://blogs.oracle.com/AlejandroVargas/2007/09/data_guard_physical_standby_im.html
http://blogs.oracle.com/AlejandroVargas/2007/10/data_guard_broker_observer_and.html
Thanks,
Mayilselvan.S
Maybe you are looking for
-
How to edit existing captured pages
Ok, I am going to try and describe this, and I appreciate your patience and thoughtfulness. I am hoping to get the language correct on the aspects of the question. I have an existing pages template which has several "captured" pages that are availa
-
I'm trying to figure out how to disable the backspace key on an input form. Or, I need to figure out why I can't type into an input field after I've backspaced(erased) all the characters?
-
Slow WFBG for deferred activities
Dear All, EBS: 12.1.0.3 - Shared Multi Node DB: 11.2.0.2 - RAC OS: RHEL x86-64 5.5 In our PROD system we have 3 WFBG schedulers. Below are the configurations: REQUEST_ID REQUESTED_BY P USER_CONCURRENT_PROGRAM_NAME Arguments
-
How to two DID different bloks work in callmgr and voice gateway
I have trouble to install two different did blocks old did block(6828 7100 to 6828 7699 have been working for two years. Add new did block 6829 3000 to 6829 3199 recently. The PTT gateway 3745 router one ip address in Call mgr gateway has two isdn pr
-
Connect SQL Developer 3 to Oracle 8.
Hi, i would like to use the new version of the SQL Developer, version 3 but the database that i use is Oracle 8 and i can´t connect. It is possible connect to Oracle 8 using SQL Developer 3? Thank you, bye :-) Edited by: user9081011 on 17-may-2011 7: