ORA-01078 & LRM-00109 error help
I have installed Oracle 11g x86_64 on to my laptop (OS - Fedora 13). On installing when I tried using the command "startup", it showed me the below error.
$ sqlplus / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/home/kritu/app/kritu/product/11.2.0/dbhome_1/dbs/initorcl.ora'
***NOTE*** But the location doesn't have "initorcl.ora", but instead has got only "init.ora".
Need support from anyone who can help me out in finding the solution to the problem. Thanks in advance.
Hi;
please check below notes:
Database Startup Fails With Errors ORA-01078 And ORA-27046 Or Just ORA-01078 [ID 405847.1]
LRM-00109 and ORA-01078 when Using DBCA after Modifying Creation Script Destination [ID 226709.1]
Startup of an Oracle 9i, 10g, 11g Instance using SPFile or Init.ora Parameter File [ID 162491.1]
Regard
Helios
Similar Messages
-
Multiple Homes ORA-01078 LRM-00109
Hi,
i have three ORACLE_HOMEs with two databases at the same server in two homes which are named "stg" and "infra". Yes, it comes from an Oracle Collaboration Suite installation :-)
After a restart of the server i'm facing the ORA-01078 LRM-00109 errors if i'm trying to start the infra-tier database.
Because the stg-home is the main home, i have added the infra TNS and Listener informations to the stg-home Listener and TNSNames files.
I'm using ONE Listener of the stg-tier.
It's trying to use the stg-config files with the infra tier and it fails with the errors above:
SQL> startup;
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'C:\OCS_ONEBOX\STG\DATABASE\INITIASDB.O
RA'
SQL> startup;
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'C:\OCS_ONEBOX\STG\DATABASE\INITIASDB.ORA'
Should i try to create a initiasdb.ora in the stg-tier which points to the correct spfile of the infra tier or daoes it overwrite other files after the startup? Or how could i switch the homes for startup?
My tnsnames and Listener entries seems to be okay. The stg-tier database startsup without problems.
Thank you,
MauriceOh, i'm using WinXP SP2 and Oracle 9i.
The data of the STG-tier (Remember: infra does not work with the errors):
Listener:
# LISTENER.ORA Network Configuration File: C:\ocs_onebox\stg\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 = cc10206)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\ocs_onebox\stg)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = Storage.world)
(ORACLE_HOME = C:\ocs_onebox\stg)
(SID_NAME = Storage)
(SID_DESC =
(GLOBAL_DBNAME = iasdb.cc10206.cckt_ac.comconsult.de)
(ORACLE_HOME = C:\ocs_onebox\infra)
(SID_NAME = iasdb)
TNSNAMES:
# TNSNAMES.ORA Network Configuration File: C:\ocs_onebox\stg\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA.CCKT-AC.COMCONSULT.DE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
INST1_HTTP.CCKT-AC.COMCONSULT.DE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cc10206)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
STORAGE.CCKT-AC.COMCONSULT.DE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cc10206)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = STORAGE)
(SERVICE_NAME = Storage.world)
IASDB.CCKT-AC.COMCONSULT.DE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cc10206)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = iasdb.cc10206.cckt_ac.comconsult.de)
(SID = iasdb)
) -
ERROR:ORA-01078,LRM-00109
HI all,
I am stuck ,plz help me i have created new database on unix server,the problem is i am able to connect from TOAD & SQL*plus...but when i try using cmd prompt (Telnet), i am unable to connect ,it gives me the error..
ORA-01078,LRM-00109..plz solve my issue...
Thanks,
MIKE...ORA-01078 indicates your database itself is not up. How is it that you can connect through TOAD to this database?
but not getting ointo sql promt on serverwhat do you mean by this? Do you mind doing a copy-paste of your screen and posting here so that we have a better idea of what you are looking at? -
Startup errors: ORA-01078, LRM-00109
VM: Oracle Virtual Box
Oracle Database installed: 12.1.0.2.0
OS: Oracle Linux 7
Problem: When I try to start the oracle database in SQLPLUS, I get errors. Please see 2 attached files.
Thanks for your help.792311 wrote:
Thank you for your help.
I am getting the following error when I try to create PFILE:
CREATE PFILE must be done from sqlplus prompt & not from OS command line
We, you & I, don't know what actual ORACLE_SID is.
Is it DB12C, or 12cdb?
When was last time this DB successfully started?
What changed since then? -
Hi,
I have installed Oracle 11g on SUSE Linux 10 successfully.But i dont know whether the database is running or not.When i try to access "Oracle Enterprise Manager", it says that network problem. But however when i ping the system, its giving proper response.
Secondly, when im trying to startup the database using SQL, it gives me the following errors:
ORA-01078 : failure in processing system parameters
LRM-00109 : could not open parameter file '/home/app/oracle/product/11.1.0/db_1/initsales.ora'
where "sales" is my Oracle Database SID.
Thirdly, can anyone please tell me how to check all oracle related services on linux?
please help me in solving these issues.
Thanks in advance.
Regards,
AbdulORA-01078 : failure in processing system parameters
LRM-00109 : could not open parameter file '/home/app/oracle/product/11.1.0/db_1/initsales.ora'
$ORACLE_SID=SALES
$export ORACLE_SID
$ech $ORACLE_SID
$sqlplus \nolog
SQL> connect /as sysdba
SQL> select name from v$database;
Thirdly, can anyone please tell me how to check all oracle related services on linux?
Check Listener:
$lsnrctl status
$ps -ef|grep tns
Check Oracle Background Processes:
$ps -ef|grep smon
$ps -ef|grep ora_
$ps -ef|grep oracle
Regards,
Sabdar Syed. -
Error: ORA-12560 TNS : Protocol Error help need urgently
HI
i m working on win 2k adv server
i installed orcale 8i
and then i started sql plus
and entered us id and pass : scott / tiger
and also tried :system / manager
but i m having this error
plz tellme how can i solve it
Error: ORA-12560 TNS : Protocol Error
plz do it soon
Nurali
03002199037You're attempting to go across SQL*Net. I'm a unix guy so I can't help very much except to point this out.
On Unix I'd either undefine the TWO_TASK environmental variable. Probably a reg entry on 2k.
Or configure Sql*Net.
Ken -
ORA 12170 : Connection timeout error : Help needed
Hi,
The scenario is as follows: I have Oracle 11g R2 installed on a Windows Server 2008 (32-bit) server. The database SID is 'PGMS'. I am accessing (or want to access remotely) the Oracle database from the Visual Studio 2008 development environment (client environment) running on a Windows XP (SP3) platform. I have already installed the ODAC (Ver. 11.2.0.2.1) package for the Visual Studio environment.
I have created a sample Windows Forms application that uses the Oracle data access components. The sample schema HR in the Oracle database has already been unlocked. This is the schema that I am using in the application.
The issue that I am facing is that when I am adding the data connection in the Visual Studio environment; 'Test Connection' functionality returns the following error: ORA-12170 ... Connection timed out.
I have checked the TNSNAMES.ORA file, and everything is as is mentioned in the Oracle documentation. It is as follows:
PGMS=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.161)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PGMS)
Kindly request the community to help me out in overcoming the error and in making the connection successfully. We have a System administrator but not a database administrator. The Oracle installation has been done by me.
Thanks,
Renj
----------Sunny, it's as follows:
(1) SQLNET.ORA file contents are as follows:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
(2) LISTENER.ORA file content are as follows:
# listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.161)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\Administrator
Edited by: Renjith2 on May 9, 2011 3:17 PM
Edited by: Renjith2 on May 9, 2011 3:22 PM -
I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
I have following users and groups as
[grid@orcl11g ~]$ id grid
uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
[grid@orcl11g ~]$ id oracle11g
uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
.bash_profile edited for oracle11g user as
"export TMP=/tmp
export ORACLE_HOSTNAME=orcl11g
export ORACLE_UNQNAME=ora11g
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=ora11g
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
.bash_profile edited for grid user as
"export TMP=/tmp
export ORACLE_HOSTNAME=orcl11g
export ORACLE_UNQNAME=+ASM
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/grid
export GRID_HOME=$ORACLE_BASE/product/11.2.0/grid
export ORACLE_SID=+ASM
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
When I log on as grid user. I check the followings:
[grid@orcl11g ~]$ crsctl check has
CRS-4638: Oracle High Availability Services is online
[grid@orcl11g ~]$ srvctl status database -d ora11g
Database is running.
[grid@orcl11g ~]$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> select status from v$instance;
STATUS
STARTED
Till here everything seems to be OK!!!!
When I log as oracle user. I check the followings:
[oracle11g@orcl11g ~]$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
Connected to an idle instance.
SQL> select status from v$instance;
select status from v$instance
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'
Also when I log on as a grid user again and use following commands to shutdown and start database again the STATUS of instance is again STARTED not OPEN.
[grid@orcl11g ~]$ srvctl stop database -d ora11g -o normal
[grid@orcl11g ~]$ srvctl start database -d ora11g
And also when I edit /etc/oratab file. I change N to Y for +ASM. But when restart system it seems not changed value is N again.
+ASM:/u01/app/grid/product/11.2.0/grid:N # line added by Agent
ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
NOW QUESTIONS!!!!!
1. Why I can't change the status of database to OPEN as grid user?
2. The status is always STARTED when querying v$instance. İs it status of +ASM or database?
3. When checking database as grid user it seems to be Database runnning... If running why it is not in OPEN state? What is running means here?
4. When I log on as oracle user and query v$instance, then error shown above occured. And also when startup the database then another error occured as in above. WHY?
5. When I edit /etc/oratab file manually why second row saved but the first one is changed after restart the system?
6. Normally, which user have to start, stop or manage database? I think that oracle user is necessary for managing database and the grid user is only for managing ASM and Oracle Restart.
PLEASE HELP ME TO SOLVE THIS CHAOTİC SİTUATİON!!!
Thanks,
DBA_84I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox)
Pl identify exact version of 11gR2 to 4 decimal places. As noted in your other thread - Failed to start oracle-ohasd, error: Inappropriate ioctl for device ohasd failed to start at roothas.pl - you will need a minimum version of 11.2.0.3 for Linux 6.x - using a lower version may result in unexpected issues or problems. -
Hello Experts,
I am getting the following error while try to start database. In the respective directory I am not able to find initorrcl.ora file.
Please help. Its urgent fro my project/job.
Error:
startup nomount
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file \APP\US31998\PRODUCT\11.1.0\DB_1\DATABASE\INITORCL.ORA'The init.ora file actullay located in the *\app\US31998\product\11.1.0\db_1\srvm\admin* directory.
I copied the same file and putting into the *\app\US31998\product\11.1.0\db_1\database* directory
After I copied its saying the following errer while runnning the startup nomount command
startup nomount
ORA-01078: failure in processing system parameters
ORA-00439: feature not enabled: Real Application Clusters
-----------------------------------init.ora file---------------------------------------------------------------------------------------
# $Header: init.ora 25-jul-01.18:03:38 rajayar Exp $
# Copyright (c) 1991, 2001, Oracle Corporation. All rights reserved. */
# Example INIT.ORA file
# This file is provided by Oracle Corporation to help you customize
# your RDBMS installation for your site. Important system parameters
# are discussed, and example settings given.
# Some parameter settings are generic to any size installation.
# For parameters that require different values in different size
# installations, three scenarios have been provided: SMALL, MEDIUM
# and LARGE. Any parameter that needs to be tuned according to
# installation size will have three settings, each one commented
# according to installation size.
# Use the following table to approximate the SGA size needed for the
# three scenarious provided in this file:
# -------Installation/Database Size------
# SMALL MEDIUM LARGE
# Block 2K 4500K 6800K 17000K
# Size 4K 5500K 8800K 21000K
# To set up a database that multiple instances will be using, use the
# same file for all instance. Place all instance-specific parameters
# at the end of the file using the <sid>.<parameter_name> = <value> syntax.
# This way, when you change a public
# parameter, it will automatically change on all instances. This is
# necessary, since all instances must run with the same value for many
# parameters. For example, if you choose to use private rollback segments,
# these must be specified differently for each instance, but since all gc_*
# parameters must be the same on all instances, they should be in one file.
# INSTRUCTIONS: Edit this file and the other INIT files it calls for
# your site, either by using the values provided here or by providing
# your own.
# replace "clustdb" with your database name
db_name = clustdb
compatible=9.0.0
db_files = 1024 # INITIAL
#INITIAL
#db_files=80
#SMALL
#DB_files=400
#MEDIUM
#db_files=1000
#LARGE
control_files = ("\\.\clustdb_control1", "\\.\clustdb_control2")
db_file_multiblock_read_count = 8 # INITIAL
# db_file_multiblock_read_count = 8
#SMALL
#db_file_multiblock_read_count = 16
#MEDIUM
#db_file_multiblock_read_count = 32
#LARGE
#Datawarehouse
db_block_size=8192
# Transaction processing
# db_block_size=4096
open_cursors=300
#Transaction processing
#sort_area_size=524288
#Datawarehouse
sort_area_size=1048576
large_pool_size=1048576 #Transaction processing, Datawarehouse
db_cache_size=50331648 #Datawarehouse, Transaction processing
java_pool_size=67108864 #Datawarehouse, Transaction processing
# db_block_buffers = 200 # INITIAL
# db_block_buffers=100 #SMALL
# db_block_buffers =550 # MEDIUM
# db_block_buffers=3200 #LARGE
#shared_pool_size = 52428800 # INITIAL
shared_pool_size = 67108864 # datewarehouse, transaction processing
log_checkpoint_interval = 10000
processes = 59 # INITIAL
# processes = 50
#SMALL
#processes = 100
#MEDIUM
#processes = 200
#LARGE
parallel_max_servers = 5
#SMALL
# parallel_max_servers = 4 x (number of CPUs)
#MEDIUM
# parallel_max_servers = 4 x (number of CPUs)
# LARGE
log_buffer = 8192 # INITIAL
#log_buffer = 8192
#SMALL
#log_buffer = 32768
#MEDIUM
#log_buffer = 163840
#LARGE
# audit_trail = true # if you want auditing
# timed_statistics = true # if you want timed statistics
max_dump_file_size = 10240 # limit trace file size to 10 K each
# Uncommenting the line below will cause automatic archiving if archiving has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest = %ORACLE_HOME%/admin/clustdb/arch
# log_archive_format = "%%ORACLE_SID%%T%TS%S.ARC"
# If using private rollback segments, place lines of the following
# form at the end of this file:
# <sid>.rollback_segments = (name1, name2)
# If using public rollback segments, define how many
# rollback segments each instance will pick up, using the formula
# # of rollback segments = transactions / transactions_per_rollback_segment
# In this example each instance will grab 40/10 = 4:
# transactions = 40
# transactions_per_rollback_segment = 10
# Global Naming -- enforce that a dblink has same name as the db it connects to
global_names = TRUE
# Edit and uncomment the following line to provide the suffix that will be
# appended to the db_name parameter (separated with a dot) and stored as the
# global database name when a database is created. If your site uses
# Internet Domain names for e-mail, then the part of your e-mail address after
# the '@' is a good candidate for this parameter value.
# db_domain = us.acme.com # global database name is db_name.db_domain
# Uncomment the following line if you wish to enable the Oracle Trace product
# to trace server activity. This enables scheduling of server collections
# from the Oracle Enterprise Manager Console.
# Also, if the oracle_trace_collection_name parameter is non-null,
# every session will write to the named collection, as well as enabling you
# to schedule future collections from the console.
# oracle_trace_enable = TRUE
# define directories to store trace and alert files
background_dump_dest=%ORACLE_HOME%/admin/clustdb/bdump
user_dump_dest=%ORACLE_HOME%/admin/clustdb/
db_block_size = 4096
remote_login_passwordfile = exclusive
# text_enable = TRUE
# The following parameters are needed for the Advanced Replication Option
job_queue_processes = 2
# job_queue_processes = 4 #datawarehouse
# job_queue_interval = 10
# job_queue_keep_connections = false
distributed_transactions = 5
open_links = 4
# The following parameters are instance-specific parameters that are
# specified for two instances named clustdb1 and clustdb2
undo_management=AUTO # For automatic undo management
# = MANUAL For manual/RBS undo management
cluster_database= true
cluster_database_instances=2
remote_listener=LISTENERS_CLUSTDB
# First instance specific parameters
clustdb1.thread=1
clustdb1.instance_name=clustdb1
clustdb1.instance_number=1
clustdb1.local_listener=listener_clustdb1
clustdb1.remote_login_passwordfile = exclusive
# Comment out clustdb1.undo_tablespace and uncomment clustdb1.rollback_segments
# when undo_management=MANUAL
clustdb1.undo_tablespace = UNDOTBS1
# clustdb1.rollback_segments = (rbs1_1,rbs1_2)
# Second instance specific parameters
clustdb2.thread=2
clustdb2.instance_name = clustdb2
clustdb2.instance_number = 2
clustdb2.local_listener = listener_clustdb2
clustdb2.remote_login_passwordfile = exclusive
# Comment out clustdb2.undo_tablespace and uncomment clustdb2.rollback_segments
# when undo_management=MANUAL
clustdb2.undo_tablespace = UNDOTBS2
# clustdb2.rollback_segments = (rbs2_1,rbs2_2)
-----------------------------------init.ora file--------------------------------------------------------------------------------------- -
Startup DB, error ORA-01078
Hi,
I tried to startup the db but I receive erros.
This is the operation I do:
[oracle@server04 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Apr 21 16:18:26 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.1.0/db_1/dbs/initRDBTest.ora'Whan can I solve?
Thansk, bye bye.The second line means the mentioned file does not exist.
Please make sure it exists.
When running into an error please ALWAYS consult the online error messages manual, before asking for clarification.
Sybrand Bakker
Senior Oracle DBA -
ORA-01078 error message when trying to start database
Hi,
I am trying to clone a production database to use it as a standby on a different server. When I try to startup the database I get the below error message. I tryied starting it up from EM, but got "ORA-01078: failure in processing system parameters" error message.
SQL> startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
LRM-00101: unknown parameter name 'db_cache_size'
LRM-00101: unknown parameter name 'dispatchers'
LRM-00101: unknown parameter name 'fast_start_mttr_target'
LRM-00101: unknown parameter name 'pga_aggregate_target'
LRM-00101: unknown parameter name 'undo_management'
LRM-00101: unknown parameter name 'undo_retention'
LRM-00101: unknown parameter name 'undo_tablespace'
ORA-01078: failure in processing system parameters
SQL>
This is my "ini" file:
*.aq_tm_processes=1
*.background_dump_dest='d:\oracle\admin\mydb\bdump'
*.compatible='9.2.0.0.0'
*.control_files='d:\oracle\oradata\mydb\control01.ctl','d:\oracle\oradata\mydb\control02.ctl','d:\oracle\oradata\mydb\control03.ctl'
*.core_dump_dest='d:\oracle\admin\mydb\cdump'
*.db_block_size=8192
*.db_cache_size=629145600
*.db_domain='skmconsulting.com'
*.db_file_multiblock_read_count=16
*.db_name='mydb'
*.dispatchers='(PROTOCOL=TCP)'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
*.instance_name='mydb'
*.java_pool_size=33554432
*.job_queue_processes=10
*.large_pool_size=8388608
*.log_archive_format='arch_mydb_%t_%s.arc'
*.log_archive_dest = D:\oracle\archive-logs\mydb
*.log_archive_start=TRUE
*.max_enabled_roles=148
*.open_cursors=500
*.optimizer_mode='rule'
*.pga_aggregate_target=25165824
*.processes=200
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=83886080
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='d:\oracle\admin\mydb\udump'
Any ideas?
Thanks.Also tried this, and got the same error:
oradim.exe -delete -sid mydb
set ORACLE_HOME=D:\oracle\ora92
oradim.exe -new -sid mydb -intpwd pw -startmode manual
set oracle_sid=mydb
sqlplus /nolog
conn sys/pw as sysdba
startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
ORA-12538: TNS:no such protocol adapter -
When I run database using pfile and everything is OK. But after creating spfile from pfile I've got such errors:
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00123: invalid character 0 found in the input fileCan anyone suggest me solution to resolve this problem?Try to check metalink note ID 736970.1 or/and check if you don't have comment (#) lines on your pfile.
-
Please help: Case Statement - ORA-01722: invalid number Error
Hi All,
I'm trying to use Case statement to recode Cancelled statuses into two groups
'Reject' if the difference between first date and last date is less than 29 and
'Accept' if the difference between first date and last date is greater than 30
Here is my 'test' data:
STATUS FIRST_DATE LAST_DATE
Transfer 10/08/2011 10/09/2011
Mover 10/08/2011 15/09/2011
Cancel 10/08/2011 16/09/2011
Cancel 10/08/2011 5/09/2011
Here is the syntax
select a.*,
(CASE WHEN a.STATUS ='Cancel' THEN (round(a.LAST_DATE-a.FIRST_DATE))
ELSE 0
END) CAN_DAYS,
(CASE WHEN 'CAN_DAYS' >29 THEN 'Reject'
WHEN 'CAN_DAYS' <30 THEN 'Accept'
END) Reject_Accept
from test a
The first CASE statement works fine and gives me this
STATUS FIRST_DATE LAST_DATE CAN_DAYS
Transfer 10/08/2011 10/09/2011 0
Mover 10/08/2011 15/09/2011 0
Cancel 10/08/2011 16/09/2011 37
Cancel 10/08/2011 5/09/2011 26
but the second CASE produces ORA-01722: invalid number Error. It is something to do with the CAN_DAYS data type, Oracle doesn't see it as Numeric i think.
The result i want to see would be
STATUS FIRST_DATE LAST_DATE CAN_DAYS Reject_Accept
Transfer 10/08/2011 10/09/2011 0
Mover 10/08/2011 15/09/2011 0
Cancel 10/08/2011 16/09/2011 37 Accept
Cancel 10/08/2011 5/09/2011 26 Reject
Could someone please help me to fix the syntax?
Thank you in advance,This seems to give you your desired results...
with test as
( select 'Transfer' as status, to_date('10/08/2011') as first_date, to_date('10/09/2011') as last_date from dual union all
select 'Mover' , to_date('10/08/2011') , to_date('15/09/2011') from dual union all
select 'Cancel' , to_date('10/08/2011') , to_date('16/09/2011') from dual union all
select 'Cancel' , to_date('10/08/2011') , to_date('05/09/2011') from dual
select status
, first_date
, last_date
, CAN_DAYS
, CASE
WHEN CAN_DAYS = 0 THEN NULL
WHEN CAN_DAYS < 30 THEN 'Reject'
WHEN CAN_DAYS >= 30 THEN 'Accept'
END Reject_Accept
from ( select status
, first_date
, last_date
, CASE
WHEN STATUS ='Cancel' THEN round(LAST_DATE-FIRST_DATE)
ELSE 0
END CAN_DAYS
from test
; -
ORA-02068: following severe error from LNK -(Prob with HS ODBC pls. help)
HI Every one...
Please help me out...
Problem in d/b link using generic connectivity of oracle to connect MS Access here are the details ...
ORACLE VERSION - Oracle8i Release 8.1.7.0.0
OS - WINDOWS 2000 Service Pack 3
MSAccess 2000
I sussessfully created System DSN steps....
ODBC Data Source Administrator -> System DSN -> ADD -> (select) Microsoft Access
Driver [*.mdb] Version- 4.00.6200.00 -> ODBC Microsoft Access Setup (Data Source
Name = dbq and selected the MS Access database file. and OK -> OK
HS parameter file...
Location .... D:\oracle\ora81\hs\admin
Name........ initdbaccess.ora
HS_FDS_CONNECT_INFO =dbq
HS_FDS_TRACE_LEVEL =off
listener.ora
Location.... D:\oracle\ora81\network\ADMIN
(SID_DESC =
(SID_NAME = dbaccess)
(ORACLE_HOME = D:\oracle\ora81)
(PROGRAM = hsodbc)
TNSNames.ora
Location.... D:\oracle\ora81\network\ADMIN
DBACCESS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SID = dbaccess)
(HS = OK)
I stop the listener and start it again.... then on sqlplus.....
SQL> connect qu3/qu3@mysys
Connected.
SQL> create database link lnk using 'DBACCESS';
Database link created.
SQL> select * from t_emp_main@lnk;
select * from t_emp_main@lnk
ERROR at line 1:
ORA-02068: following severe error from LNK
ORA-03114: not connected to ORACLE
Why this Error is comming.... any solution pls......
Thanks in advance....
SMGHelp please... problem still pending ....
-
Hello everyone :
I can't switchover to primary. following is error and information.
RHEL 6.3 x86-64
Oracle database 11.2.0.3.0 Enterprise edition
Primary database = orclprmy
Standby database = orclstby1
##### /etc/hosts on orclstby1
[root@orclstby1 admin]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.50.211 ttprmy
192.168.50.212 orclstby1
### DG broker error
DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected.
DGMGRL> show configuration;
Configuration - TTDGConfig1
Protection Mode: MaxPerformance
Databases:
orclstby1 - Primary database
Error: ORA-16778: redo transport error for one or more databases
orclprmy - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
ERROR
DGMGRL>
########### listener.ora on orclstby1
[root@orclstby1 admin]# cat listener.ora
# listener.ora Network Configuration File: /u2/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclstby1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=orcl)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
(SID_DESC =
(GLOBAL_DBNAME=orclstby1)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
(SID_DESC =
(GLOBAL_DBNAME=orclstby1_DGMGRL)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
ADR_BASE_LISTENER = /u2/oracle
############## tnsnames.ora on orclstby1
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl))
orclprmy =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy))
orclprmy_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy_DGMGRL))
orclstby1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1))
orclstby1_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1_DGMGRL))
##### alert log on orclstby1.
Fatal NI connect error 12504, connecting to:
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=oracle)(HOST=orclstby1)(USER=oracle)))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.50.211)(PORT=1521)))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 06-SEP-2013 13:19:55
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
There is problem in alert log.
In the /etc/hosts file. The standby server (orclstby1) ip is 192.168.50.212. but alert log is 192.168.50.211.
Is any idea?
Thanks for help.
消息编辑者为:user4914135#### on primary database
SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
DEST_NAME STATUS TARGET ARCHIVER SCHEDULE VALID_TYPE VALID_ROLE DB_UNIQUE_NAME
ERROR
LOG_ARCHIVE_DEST_1 VALID LOCAL ARCH ACTIVE ALL_LOGFILES ALL_ROLES orclprmy
LOG_ARCHIVE_DEST_2 VALID REMOTE LGWR PENDING ALL_LOGFILES PRIMARY_ROLE orclstby1
LOG_ARCHIVE_DEST_3 INACTIVE LOCAL ARCH INACTIVE ALL_LOGFILES ALL_ROLES NONE
#### on standby database
SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
DEST_NAME STATUS TARGET ARCHIVER SCHEDULE VALID_TYPE VALID_ROLE DB_UNIQUE_NAME
ERROR
LOG_ARCHIVE_DEST_1 VALID PRIMARY ARCH ACTIVE ALL_LOGFILES ALL_ROLES orclstby1
LOG_ARCHIVE_DEST_2 ERROR STANDBY LGWR PENDING ONLINE_LOGFILE PRIMARY_ROLE orclprmy
ORA-12504: TNS:listener was not given the SERVICE_NAME in
CONNECT_DATA
LOG_ARCHIVE_DEST_3 INACTIVE PRIMARY ARCH INACTIVE ALL_LOGFILES ALL_ROLES NONE
#### log_archive_dest on primary database
SQL> show parameter log_archive_dest
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string location=/u3/arch/orcl vali
d_for=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=orclprmy
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
log_archive_dest_19 string
log_archive_dest_2 string service="orclstby1", LGWR ASYNC
NOAFFIRM delay=0 optional comp
ression=disable max_failure=0
max_connections=1 reopen=300 d
b_unique_name="orclstby1" net_ti
meout=30, valid_for=(all_logfi
les,primary_role)
log_archive_dest_20 string
log_archive_dest_21 string
log_archive_dest_22 string
#### log_archive_dest on standby database
SQL> show parameter log_archive_dest
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string location=/u3/arch/orclstby1 vali
d_for=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=orclstby1
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
log_archive_dest_19 string
log_archive_dest_2 string service=orclprmy ASYNC valid_for
=(ONLINE_LOGFILE,PRIMARY_ROLE)
db_unique_name=orclprmy
log_archive_dest_20 string
log_archive_dest_21 string
log_archive_dest_22 string
log_archive_dest_23 string
log_archive_dest_24 string
log_archive_dest_25 string
#### spfile on standby database
</u2/oracle/product/11.2.0/dbhome_1/dbs> strings spfileorclstby1.ora
orcl.__db_cache_size=1040187392
orclstby1.__db_cache_size=1090519040
orcl.__java_pool_size=16777216
orclstby1.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orclstby1.__large_pool_size=16777216
orcl.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
orclstby1.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=536870912
orclstby1.__pga_aggregate_target=536870912
orcl.__sga_target=1610612736
orclstby1.__sga_target=161061273
orcl.__shared_io_pool_size=0
orclstby1.__shared_io_pool_size=0
orcl.__shared_pool_size=503316480
orclstby1.__shared_pool_size=469762048
orcl.__streams_pool_size=16777216
orclstby1.__streams_pool_size=0
*.archive_lag_target=0
*.audit_file_dest='/u2/oracle/admin/orclstby1/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u2/oracle/oradata/orclstby1/control01.ctl','/u2/oracle/fast_recovery_area/orclstby1/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_file_nam
e_convert='orcl','orclstby1'
*.db_name='orcl'
*.db_recovery_file_dest='/u2/oracle/fast_recovery_area'
*.db_recovery_file_dest_size=5218762752
*.db_unique_name='orclstby1'
*.deferred_segment_creation=FALSE
*.dg_broker_start=TRUE
*.diagnostic_dest='/u2/oracle'
*.fal_client='orclstby1'
*.fal_server='orclprmy'
*.log_archive_config='dg_config=(orclprmy,orclstby1)'
*.log_archive_dest_1='location=/u3/arch/orclstby1 valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstby1'
*.log_archive_dest_2='ser
vice=orclprmy ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orclprmy'
*.log_archive_dest_state_2='ENABLE'
orcl.log_archive_format='orcl_%t_%s_%r.arc'
*.log_archive_format='orclstby1_%t_%s_%r.arc'
orclstby1.log_archive_format='orclstby1_%t_%s_%r.arc'
*.log_archive_max_processes=4
*.log_archive_min_succeed_dest=1
orcl.log_archive_trace=0
orclstby1.log_archive_trace=0
*.log_file_name_convert='orcl','orclstby1'
*.open_cursors=300
*.pga_aggregate_target=536870912
*.processes=
1500
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=1655
*.sga_target=1610612736
*.standby_file_management='AUTO'
*.undo_tablespace='UNDOTBS1'
</u2/oracle/product/11.2.0/dbhome_1/dbs>
Thank you for your help.
Maybe you are looking for
-
I am using an iPad 2 and I can't find out how to use the optimum app with the apple tv mirroring function. Is there anyway to do this?
-
How to open two files in the one window in PSE11?
In older versions of PSE I was able to open two picture files in the same window by just resizing them smaller so that I could deal with them side by side........I couoldn't do it in PSE=10, and I upgraded to PSE11 and still don't know how to do it.
-
Dear Guyz, I'm new in Oracle forms. i would like to use my own customized login form. anyone give me an idea, i dont want to use oracle default login i have the below table based on the below table I i wanna to call or open other forms. DESC MN_LOGI
-
Error 17004. Trying to load a dll on remote machine
Hi, I am trying to control a network simulator using a dll that is in a remote PC. I run into this error 17004 I gave in C/C++ Module Path: \\<PC Name>\C\MX847010\Remote Library\RmtSvcLib.dll (this is accessible from the PC with test stand) I also ad
-
Where can I get (buy) new templates?
Hey Folks, Im just wondering if anyone knows any other website where i can get new templates, I found here but not much stuff for pages 08 http://www.keynotepro.com/index.html -joey