Starting logminer oracle 10g database
Please i need assistance on how to succesfully start logminer on my oracle database.
after trying to create the dictionary.ora file i get this error:
SQL> EXECUTE DBMS_LOGMNR_D.BUILD('dictionary.ora', -
'C:\oracle\product\10.2.0\db_1\', -
DBMS_LOGMNR_D.STORE_IN_FLAT_FILE);BEGIN DBMS_LOGMNR_D.BUILD('dictionary.ora', 'C:\oracle\product\10.2.0\db_1\',
DBMS_LOGMNR_D.STORE_IN_FLAT_FILE); END;
ERROR at line 1:
ORA-01308: initialization parameter utl_file_dir is not set
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 3474
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 3552
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 12
ORA-06512: at line 1
please help to resolve this issue
thank you all
For all files you need to create from Oracle on the O/S
you need
either
- a directory listed in the utl_file_dir parameter
- a (symbolic) directory object
Utl_file_dir is for backwards compatibility only, but as you don't have directory objects, the parameter was interpreted as a hardcoded utl_file_dir directory.
To create directory objects issue
create directory logmnr_output as 'C:\oracle\product\10.2.0\db_1\';
grant read,write on logmnr_output to public;
For this solution you don't need to bounce the database.
You need to change the hardcoded directory name in logmnr_output
The other solution
alter system set utl_file_dir='C:\oracle\product\10.2.0\db_1\' scope=spfile;
and bounce the database
If you would have looked up the error message, you could easily have come up with this solution yourself.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
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. -
Win32 Oracle 10g Database Server Installation problems
Hello,
I have recently installed the Oracle 10g Database Server for Win32. The installation seemed to be successful. I used the Enterprise option and all the suggested defaults. Ihave the following services installed and started after the installation:
o OracleDBConsoleORCL [started]
o OracleOraDb10g_home1iSQL*Plus [started]
o OracleOraDb10g_home1SNMPPeerEncapsulator [manual]
o OracleOraDb10g_home1SNMPPeerMasterAgent [manual]
o OracleOraDb10g_home1TNSListener [started]
o OracleServiceORCL [started]
I have created the following files:
# LISTENER.ORA Network Configuration File: d:\oracle10gServer\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\oracle10gServer)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = d:\oracle10gServer)
(SID_NAME = ORCL)
# TNSNAMES.ORA Network Configuration File: d:\oracle10gServer\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
I go to the DOS console and type:
c:> sqlplus scott/tiger@ORCL
and I get:
ERROR: ORA-28000: the account is locked
I did this right after I restarted my computer.
When I use the Enterprise Manager at:
http://localhost:5500/em/
I get for ORCL:
Status: Status Pending
Status Pending Since: Unavailable
Seems that I can never get the database started properly?! When I press the Startup/Shutdown button I get:
Current Status: open
This is the correct current database status, although it doesnot match the current status in the sitemap page
What does this mean? Do you think this may contain the clue to the answer to this problem?
When I restart the Database I get the same status: unavailable.
I need your help to resolve this problem. The alternative is to revert back to Oracle 9i DB Server. Thank you in advance.
gkkI can help you with the SCOTT account being locked. Try:
sqlplus /nolog
connect / as sysdba
alter user scott identified by tiger account unlock; -
Errors in manual creation of oracle 10g database
I created oracle 10g database manually and i am getting post installation errors.. could you please help out?
I executed @?/sqlplus/admin/pupbld.sql but it still shows
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
i tried to see
SQL> desc product_user_profile;
ERROR:
ORA-04043: object "SYSTEM"."SQLPLUS_PRODUCT_PROFILE" does not exist
not there?? any other scripts to be run ? please guide me.
2. I can not able login sys@sid as sysdba
SQL> select * from v$pwfile_users;
no rows selected
i changed
remote_login_passwordfile string EXCLUSIVE
re-started db but no help...
SQL> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01990: error opening password file
I re-created
$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/orapwmydb.ora password=xxxx entries=5 force=y
but no help..
Could one please help out... ! great thanks in advance..thanks for prompt reply .. but still one issue remain..
oracle DEVS $ sqlplus sys@sid sysdba
SQL*Plus: Release 10.1.0.4.0 - Production on Thu Jan 7 10:51:44 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01031: insufficient privileges
but i can able to login as sqlplus sys as sysdba
SQL> select * From v$pwfile_users;
no rows selected
i tired to do
SQL> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01990: error opening password file
'/u02/app/oracle/product/10.1.0/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
there is already one password file with orapwsid.ora.. how this should be solved ? please help. thanks -
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 -
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;
****************************************************************** -
Auditing in oracle 10g database and oracle 10g application server
Dear friends,
We have oracle 10g application server and oracle 10g database server in place.My criteria is to audit users connected using oracle application user credentials to the database.
Can you please tell me how can i do it.
Thanks & regards,Its the database connection you want to track. The session audit will show where it came from.
Auditing is turned using this command:
alter system set audit_trail = DB scope=spfile;
Note: The use of spfile will require a DB bounce before audit starts
To audit Sessions:
audit create session;
Query by Audit Type:
SELECT A.USERNAME,
OS_USERNAME,
A.TIMESTAMP,
A.RETURNCODE,
TERMINAL,
USERHOST
FROM DBA_AUDIT_SESSION A
WHERE USERHOST = <replace with iAS servername> ;
By User
SELECT USERNAME,OBJ_NAME,ACTION_NAME , TIMESTAMP
FROM DBA_AUDIT_TRAIL WHERE USERNAME = 'SCOTT';
Check for users sharing database accounts
select count(distinct(terminal)),username
from dba_audit_session
having count(distinct(terminal))>1
group by username;
Attempts to access the database at unusual hours
SELECT username, terminal, action_name, returncode,
TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS'),
TO_CHAR (logoff_time, 'DD-MON-YYYY HH24:MI:SS')
FROM dba_audit_session
WHERE TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') <
TO_DATE ('08:00:00', 'HH24:MI:SS')
OR TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') >
TO_DATE ('19:30:00', 'HH24:MI:SS');
Attempts to access the database with non-existent users
SELECT username, terminal, TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS')
FROM dba_audit_session
WHERE returncode <> 0
AND NOT EXISTS (SELECT 'x'
FROM dba_users
WHERE dba_users.username = dba_audit_session.username);
Other audits you might consider:
audit grant any object privilege;
audit alter user;
audit create user;
audit drop user;
audit drop tablespace;
audit grant any role;
audit grant any privilege;
audit alter system;
audit alter session;
audit delete on AUD$ by access;
audit insert on AUD$ by access;
audit update on AUD$ by access;
audit delete table;
audit create tablespace;
audit alter database;
audit create role;
audit create table;
audit alter any procedure;
audit create view;
audit drop any procedure;
audit drop profile;
audit alter profile;
audit alter any table;
audit create public database link;
Best Regards
mseberg -
Language Handling in Oracle 10g Database
I want to know that how language works in oracle 10g database at micro level.Actually what happen when we insert any record into database and how database handle it.
from insertion to storage and displaying any stored record...what exaclty happens?
how oracle 10g handle it?That would be big long session.
You can start from following link,
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm -
Oracle 10g database homepage not working?
Oracle 10g database homepage not working?
Hi just i installed oracle database 10g express edition but after the restart the oracle database homepage wont open http://127.0.0.1:8080/apex that link always telling cannot display...
here i have posted lsnrctl status
pls help
thanks in advance
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY…
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 25-SEP-2010 17:52:11
Uptime 0 days 1 hr. 28 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\se…
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\se…
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIP…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOS…
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfullyI had a problem of accessing Oracle 10g database homepage. After a couple of days of research and discussions with coworker we found a solution.
Here is the solution:
1. Find out your default browser.
2. Configure your default web browser to connect to the Oracle Database XE Database Home Page as stated
here:
http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#CIHHJEHF
If this does not help de-install Oracle XE and reinstall following the instruction. During re-installation find out your default browser and configure it as instructed.
I suspect when the default web browser changes the Oracle 10g XE Database Home Page stops working.
Good luck -
"dbstart" error in oracle 10g database in LINUX
Hi,
i have oracle 10g database in LINUXwhen i give "dbstart" command under oracle database bin folder, i get following error
"Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr"
how can i fix this error.
i want to make oracle listener, database and EM db console as auto start during system start up.
i think if this dbstart command is not working, then i am not sure how else can i make them autostart
how can i acheive this.
Thanks in Advance,
Philip.--- Posted: Oct 19, 2005 3:38 PM
lol, I believe he must have figured it out one way or another. -
Oracle 10g database listener port range?
Hi there
Can you share me oracle 10g database listener port range (start port to end port No). default port is 1521
Regards
Jewel
Edited by: user623166 on Jul 31, 2012 10:41 PMI think you will find your answer in below thread :
listener port number
Osama .. -
Oracle 10g Database Administration Workshop I
Dears !
How i may get a soft copy of the Oracle 10g Database Administration Workshop I from the net for downloading in free.
Thanks.Ashraf,
Besides the fact that the soft copy is and only is to be used by Oracle University trainers and is a properity of Oracle and that's make the use of it outside oracle illegal if you are not a part of OU, I would say one more thing.If you are really on the level to start with oracle database administration learning which seems to be true from the request you made,you wont be able to clear ANY doubt from the book alone. You need some one to have a talk/discussion to clear them and thats why its called ILT,instructor lead training. There is no use at all of the book if you don't get the doubts clear and I can gurantee that by juse reading the book,soft/hard whatever copy,you wont get anything.So it better to come in OU and do a proper course.If you think price is the issue than you can do the same from a partener too where price would be less as well.
Aman.... -
I had migrated Oracle 10g database from Windows to Oracle 11g Linux
I had migrated Oracle 10g database from Windows to Oracle 11g Linux. The database is performing very slow.
Please guide me where I have to begin (starting point) looking into it.
Some document stated gather system statistics. How to check system statistics is up to date
What are the crucial initialization parameter ?Hi,
Let me just point you out to the documentation, which may concern you:
I had migrated Oracle 10g database from Windows to Oracle 11g Linux. The database is performing very slow.
Managing Optimizer Statistics
How to check system statistics is up to date
Managing Optimizer Statistics
What are the crucial initialization parameter ?
Configuring a Database for Performance
Thanks &
Best Regards, -
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
-
Contract and billing question.
I'm leaving to Basic Combat Training in mid September and I'm getting a phone beforehand so I can keep contact with people when they start allowing phone time, and so I can keep contact through Advanced Individual Training. I don't have a job so I've
-
Cracked iPhone 6 screen and screen is all white with different colors going down it. What do I do???
-
Settings are gone after restarting computer
After I'm restarting my computer my settings are gone. I'm not sure if all of them, but this is what I need to change: - all toolbars are enabled (in standard setting I don't have everything on all the time) - my start pages are not the same - FF beh
-
UIX Submit Validation - Internal Server Error
My UIX page (lean test page) contains the following code: <contents> <form name="test"> <contents> <textInput text="Norbert" name="Norbert" > <onSubmitValidater> <regExp pattern="Norbert" /> </onSubmitValidater> </textInput> <submitButton text="Submi
-
FMBB Budget Approval workflow is not triggered
Hi Experts, I want to activate the standard workflow for Budget Approval in FMBB t-code. I found two standard workflow templates for this WS12300025 and WS12300026 and I activated it. In both workflow templates start event is maintained as 'BUS0050'