ORA-01678 parameter log_file_name_convert
Hi,
in my init.ora file I have :
LOG_FILE_NAME_CONVERT=("s:\ORADATA\DB1","u:\ORADATA\DB2","u:\ORADATA\DB1","u:\ORADATA\DB2")
And I receive this error :
ORA-01678: parameter log_file_name_convert must be two strings, a pattern and a replacement
Do you have any idea ?
Many nthanks.
Thanks, as you can see here
http://www.lc.leidenuniv.nl/awcourse/oracle/server.920
/a96536/ch1104.htm
we can have :
LOG_FILE_NAME_CONVERT
Parameter type
String
Syntax
LOG_FILE_NAME_CONVERT = [(]'string1' , 'string2' ,
'string3' , 'string4' , ...[)]
several couple of logfiles like what I have in my
init.ora file. But it does not function for me.
Message was edited by:
user522961Refer to a document at 9i, and performing actions on what you stated was 817. They are not the same.
To quote the 817 propaganda specified in my first post (had you read it closely):
The DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT parameters must have two strings. The first string is a sequence of characters to be looked for in a primary database filename. If that sequence of characters is matched, it is replaced by the second string to construct the standby database filename.
(emphasis is mine)
http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76995/standby.htm#23603
as in the following example from the same reference:
ample: Managed Standby Database on Same Host as Primary Database
Following are some sample initialization parameter settings for a managed standby database that resides on the same host as primary database PROD1.
COMPATIBLE = 8.1.6
CONTROL_FILES = /oracle/work/standby/dbs/cf1.f
DB_FILE_NAME_CONVERT = /oracle/dbs/tbs, /oracle/work/standby/dbs/standby
DB_NAME = prod1
LOCK_NAME_SPACE = stby # required for a standby on the same host as the primary
LOG_ARCHIVE_DEST = /oracle/work/standby/dbs/arc/
LOG_ARCHIVE_FORMAT = arc_%t_%s.ar
LOG_ARCHIVE_TRACE = 8
LOG_FILE_NAME_CONVERT = /oracle/dbs/t1, /oracle/work/standby/dbs/standby_t1
STANDBY_ARCHIVE_DEST = /oracle/work/standby/dbs/arc/
Example: Managed Standby Database on Different Host from Primary
Similar Messages
-
Dear all,
10.2.0.2 on linux
We are getting the below error in alert log and synchronization stopped
ORA-00922: missing or invalid option
Tue Oct 11 20:40:41 2011
PRMX: Alter session failed: ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16025: parameter LOG_ARCHIVE_DEST_2 contains repeated or conflicting attributes
ORA-16154: suspect attribute: LGWR
ORA-00922: missing or invalid option
Tue Oct 11 20:40:41 2011
Errors in file /u01/PROD/db/tech_st/10.2.0/admin/PROD_dbprod/bdump/prod_j000_23657.trc:
ORA-16025: parameter LOG_ARCHIVE_DEST_2 contains repeated or conflicting attributes
ORA-16154: suspect attribute: LGWR
ORA-00922: missing or invalid option
Tue Oct 11 20:40:41 2011
PRMX: Alter session failed: ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16025: parameter LOG_ARCHIVE_DEST_2 contains repeated or conflicting attributes
ORA-16154: suspect attribute: LGWR
ORA-00922: missing or invalid optionparameters :
SQL> show parameter log
NAME TYPE VALUE
audit_syslog_level string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
log_archive_config string DG_CONFIG=(PROD,PROD_STDBY)
log_archive_dest string
log_archive_dest_1 string LOCATION=/u01/PROD/db/Archive
MANDATORY
log_archive_dest_10 string
NAME TYPE VALUE
log_archive_dest_2 string SERVICE=PROD_STDBY LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRI
MARY_ROLE) REOPEN=15 NET_TIMEO
UT=30 DB_UNIQUE_NAME=PROD_STDB
Y
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
NAME TYPE VALUE
log_archive_dest_9 string
log_archive_dest_state_1 string enable
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
NAME TYPE VALUE
log_archive_duplex_dest string
log_archive_format string %t_%s_%r.dbf
log_archive_local_first boolean TRUE
log_archive_max_processes integer 2
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer integer 15276032
log_checkpoint_interval integer 100000
log_checkpoint_timeout integer 1200
log_checkpoints_to_alert boolean TRUE
NAME TYPE VALUE
log_file_name_convert string
logmnr_max_persistent_sessions integer 1
remote_login_passwordfile string EXCLUSIVEAny idea what am missing ?
KaiKaiS wrote:
Dear all,
10.2.0.2 on linux
We are getting the below error in alert log and synchronization stopped
ORA-00922: missing or invalid option
Tue Oct 11 20:40:41 2011
PRMX: Alter session failed: ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16025: parameter LOG_ARCHIVE_DEST_2 contains repeated or conflicting attributes
SQL> show parameter log
log_archive_dest_2 string SERVICE=PROD_STDBY LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRI
MARY_ROLE) REOPEN=15 NET_TIMEO
UT=30 DB_UNIQUE_NAME=PROD_STDB
YAny idea what am missing ?
KaiHi,
Try change the log_archive_dest_2
SQL > alter system set log_archive_dest_2 = 'SERVICE="PROD_STDBY", LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PROD_STDBY';Cheers -
ORA-16024: - ORA-32004 - Parameter modification Error
Hi all,
I have two errors after modifying the LOG_ARCHIVE_DEST_1 parameter. I've run this...
ALTER SYSTEM SET LOG_ARCHIVE_DEST_1='LOCATION=/u04/archive/EST OPTIONAL REOPEN=300' SCOPE=spfile;
and after restarting the instance, I found these errors
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-16024: parameter LOG_ARCHIVE_DEST_1 cannot be parsed
I checked the spfile and I discovered an error in it due this change:
*.log_archive_dest_1='LOCATION=/u04/archive/EST OPTIONAL REPO^H^HOPEN=300'
"^H^H" these characters were inserted because an stty config error and I was not able to see them.
How should I procede to recover my instance?
ThanksThanks! I really appreciate your help!
I have no need to do a recovery, I just wanted to say only bringing it open again.
I am not able to start it up in nomount mode...
Thanks by your help!
EdStevens wrote:
martinmorono wrote:
Hi all,
I have two errors after modifying the LOG_ARCHIVE_DEST_1 parameter. I've run this...
ALTER SYSTEM SET LOG_ARCHIVE_DEST_1='LOCATION=/u04/archive/EST OPTIONAL REOPEN=300' SCOPE=spfile;
and after restarting the instance, I found these errors
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-16024: parameter LOG_ARCHIVE_DEST_1 cannot be parsed
I checked the spfile and I discovered an error in it due this change:
*.log_archive_dest_1='LOCATION=/u04/archive/EST OPTIONAL REPO^H^HOPEN=300'
"^H^H" these characters were inserted because an stty config error and I was not able to see them.
How should I procede to recover my instance?
ThanksFirst, is your instance in need of recovery? these look like non-fatal errors to me. Since you had intended that archive destination to be optional, I presume you have another, non-optional, destination that is good?
Are you able to do a 'startup nomount'? That's as far as you need to get to issue ALTER SYSTEM commands against the spfile to correct the bad value.
And btw, you didn't need to bounce the system in the first place. log_archive_dest_n is a dynamic parameter - you could have specified scope=both and kept on trucking - or gotten an error at that time:
SQL> alter system set log_archive_dest_2='location=c: lksdjf optional' scope=both;
alter system set log_archive_dest_2='location=c: lksdjf optional' scope=both
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16024: parameter LOG_ARCHIVE_DEST_2 cannot be parsed
SQL> alter system set log_archive_dest_2='location=c:\temp optional' scope=both
System altered.
SQL> alter system set log_archive_dest_2='' scope=both;
System altered.
SQL> -
Init.ora file parameter 'processses' not working
When I change the number of processes in my init.ora file from the default of 30 to 200, I get an error when accessing from SQLPlus that Oracle cannot be found. I run Oracle 8.1.6i on a Solaris v7 platform. Any suggestions???
I think your database could not "be found"
'cause it isn't up.
Change the init.ora file parameter 'processses' to 'processes' and restart
the database.
Oracle refuses starting up, if there are
mistyped parameters in init<SID>.ora.
C.Scholten -
ORA-02097: parameter cannot be modified
Hi,
today morning in my ALERTLOG I have this :
Unable to restore resource manager plan to '':
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00439: feature not enabled: Database resource manager
How can I see which parameter that cannot be modified was asked ?
Many thanks before.Hi
this is due to bug 4343398.8 - the details of which are below.
Bug 4343398 Alert log reports ORA-2097 / ORA-439 on 10.1.0.4 Standard Edition
This note gives a brief overview of bug 4343398.
Affects:
Product (Component) Oracle Server (Rdbms)
Range of versions believed to be affected Versions >= 10.1.0.4
Versions confirmed as being affected
* 10.1.0.4
* 10.1.0.5
* 10.2.0.2
Platforms affected Generic (all / most platforms affected)
It is believed to be a regression in default behaviour thus:
Regression introduced in 10.1.0.4
Fixed:
This issue is fixed in
* 10.2.0.3 (Server Patch Set)
Symptoms:
Related To:
* Error May Occur
* ORA-2097 / ORA-439
* (None Specified)
Description
This problem is introduced in 10.1.0.4 Standard Edition
by the fix for bug 4039780 .
In Standard Edition 10.1.0.4 errors such as those below
can appear in the alert log periodically:
Unable to restore resource manager plan to '':
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00439: feature not enabled: Database resource manager
These errors can be ignored as resource manager is not enabled in
Standard Edition.
Hope that helps ! -
INIT.ora-COMPATIBLE parameter
Hi,
My oracle version is 11.2.0.2 but in INIT.ora the parameter COMPATIBLE is set to 10.1.0.2.0.How does it impact DB?Does it mean that optimizer will use 10.1.0.2 features? Does it affect the performance of DB/queries in any manner?How will it impact if i change the vaue of this parameter t0 11.2.0.2 in INIT.ORA?Please throw some light on it
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 26 12:59:29 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter compat
NAME TYPE VALUE
compatible string 10.1.0.2.0Thanks.Thanks Hemant again.
Pasted from the link.
<How the COMPATIBLE Initialization Parameter Operates
The COMPATIBLE initialization parameter operates in the following way:
It controls the behavior of your database. For example, if you run an Oracle Database 11g Release 2 (11.2) database with the COMPATIBLE initialization parameter set to 10.1.0, then it generates database structures on disk that are compatible with Oracle Database 10g Release 1 (10.1). >
So eventhough the oracle version is 11.2.0.2.0 it works more or less like 10.1.0.2.Is my understanding correct?If so,then there is no point in upgrading oracle to 11.2 if this parameter has a lower value.Pls correct me.
Thanks. -
I am trying to create a materialized view with the rfresh time every night 4 am , and i am getting the error : any suggestions whats wrong ? here is the sql
CREATE MATERIALIZED VIEW BDS_COST_CATEGORY_MV
STORAGE( INITIAL 64K NEXT 64K)
BUILD IMMEDIATE
REFRESH COMPLETE ON DEMAND
START WITH SYSDATE
NEXT ROUND(SYSDATE + 1) + 4/24
AS
Here is what i get
ORA-23319: parameter value "ROUND(SYSDATE + 1) + 4/24 " is not appropriate
ORA-06512: at "SYS.DBMS_JOB", line 57
ORA-06512: at "SYS.DBMS_JOB", line 134
ORA-06512: at "SYS.DBMS_IREFRESH", line 186
ORA-06512: at "SYS.DBMS_IREFRESH", line 369
ORA-06512: at "SYS.DBMS_REFRESH", line 88
ORA-06512: at "SYS.DBMS_REFRESH", line 62
ORA-06512: at "SYS.DBMS_ISNAPSHOT", line 76
ORA-06512: at line 1
thanksWhat is your database version?
works fine for me (on 10.2.0.3)
SQL> create materialized view bds_cost_category_mv
2 storage( initial 64k next 64k)
3 build immediate
4 refresh complete on demand
5 start with sysdate
6 next round(sysdate + 1) + 4/24
7 as
8 select * from emp;
Materialized view created.Best regards
Maxim -
Init.ora EVENT parameter to trace processes?
Thanks to all who read my question and offer suggestions!
I have seen in a book the ability to trace individual background processes.
It gave an example of adding the following 2 lines to the init.ora file:
event = "10246 trace name context forever"
event = "10500 trace name context forever"
After stopping and restarting it creates trace files for the PMON and SMON
processes in the Background_Dump_Dest folder.
But my question... is there any reference chart anywhere that shows you what
event numbers you would use for other background processes?
I am running 8.1.7 on Windows 2000
Thank you for your help!
[email protected]Thanks Hemant again.
Pasted from the link.
<How the COMPATIBLE Initialization Parameter Operates
The COMPATIBLE initialization parameter operates in the following way:
It controls the behavior of your database. For example, if you run an Oracle Database 11g Release 2 (11.2) database with the COMPATIBLE initialization parameter set to 10.1.0, then it generates database structures on disk that are compatible with Oracle Database 10g Release 1 (10.1). >
So eventhough the oracle version is 11.2.0.2.0 it works more or less like 10.1.0.2.Is my understanding correct?If so,then there is no point in upgrading oracle to 11.2 if this parameter has a lower value.Pls correct me.
Thanks. -
ORA-19208: parameter 1 of function XMLFOREST must be aliased
I'm running the below query on 10gR2 against the sample HR schema and getting the ORA-19208 error. I've aliased everything I can see and am still getting the error. What am I missing?
Thanks,
Bob S.
select XMLRoot(
XMLElement("DEPARTMENT",
XMLForest(D.DEPARTMENT_ID as "D1",
D.DEPARTMENT_NAME as "D2",
D.MANAGER_ID as "D3",
D.LOCATION_ID as "D4") as "AAA",
XMLForest(
(select XMLAgg(
XMLElement("EMPLOYEE",
XMLForest(E.EMPLOYEE_ID as "E1",
E.FIRST_NAME as "E2",
E.LAST_NAME as "E3",
E.EMAIL as "E4",
E.PHONE_NUMBER as "E5",
E.HIRE_DATE as "E6",
E.JOB_ID as "E7",
E.SALARY as "E8",
E.COMMISSION_PCT as "E9",
E.MANAGER_ID as "E10",
E.DEPARTMENT_ID as "E11") as "BBB",
XMLForest(
(select XMLAgg(
XMLElement("JOB HISTORY",
XMLForest(JH.EMPLOYEE_ID as "JH1",
JH.START_DATE as "JH2",
JH.END_DATE as "JH3",
JH.JOB_ID as "JH4",
JH.DEPARTMENT_ID as "JH5") as "CCC" ))
from HR.JOB_HISTORY JH
left outer join HR.EMPLOYEES E on E.EMPLOYEE_ID = JH.EMPLOYEE_ID
left join HR.DEPARTMENTS D2 on D2.DEPARTMENT_ID = JH.DEPARTMENT_ID
left join HR.JOBS J2 on J2.JOB_ID = JH.JOB_ID)) as "EEE"))
from HR.EMPLOYEES E
join HR.JOBS J on J.JOB_ID = E.JOB_ID
where D.DEPARTMENT_ID = E.DEPARTMENT_ID
) as "DDD")
,VERSION '1.0', STANDALONE NO) as "XXX"
from HR.DEPARTMENTS D;The two subqueries were not aliased, I've added aliases "MAX1" and "MAX2"...
select XMLRoot(
XMLElement("DEPARTMENT",
XMLForest(D.DEPARTMENT_ID as "D1",
D.DEPARTMENT_NAME as "D2",
D.MANAGER_ID as "D3",
D.LOCATION_ID as "D4"
) as "AAA",
XMLForest(
(select
XMLAgg(
XMLElement("EMPLOYEE",
XMLForest(E.EMPLOYEE_ID as "E1",
E.FIRST_NAME as "E2",
E.LAST_NAME as "E3",
E.EMAIL as "E4",
E.PHONE_NUMBER as "E5",
E.HIRE_DATE as "E6",
E.JOB_ID as "E7",
E.SALARY as "E8",
E.COMMISSION_PCT as "E9",
E.MANAGER_ID as "E10",
E.DEPARTMENT_ID as "E11"
) as "BBB",
XMLForest(
(select
XMLAgg(
XMLElement("JOB HISTORY",
XMLForest(JH.EMPLOYEE_ID as "JH1",
JH.START_DATE as "JH2",
JH.END_DATE as "JH3",
JH.JOB_ID as "JH4",
JH.DEPARTMENT_ID as "JH5"
) as "CCC"
from HR.JOB_HISTORY JH
left outer join HR.EMPLOYEES E on E.EMPLOYEE_ID = JH.EMPLOYEE_ID
left join HR.DEPARTMENTS D2 on D2.DEPARTMENT_ID = JH.DEPARTMENT_ID
left join HR.JOBS J2 on J2.JOB_ID = JH.JOB_ID
) as "MAX1" -- This was one missing alias
) as "EEE"
from HR.EMPLOYEES E
join HR.JOBS J on J.JOB_ID = E.JOB_ID
where D.DEPARTMENT_ID = E.DEPARTMENT_ID
) as "MAX2" -- This was another missing alias
) as "DDD"
VERSION '1.0',
STANDALONE NO
) as "XXX"
from HR.DEPARTMENTS D;Max
[My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/17/supporto-di-xml-schema-in-oracle-xmldb/] -
InitSID.ora file parameter
Hi ,
We using ECC 6.0 with Oracle 10.2.0.2 , we need to change the parameter db_cache_sie from 294 mb to 1 gb , So i edit the file and change the parameter . Then i restart the system . After restart the system i checked the parameter it will changed to 1gb . But today i just checked the parameter , it will show the old parameter 294 mb .
So kindly tell me what is happening and tell me the solution to change the parameter .
Regards
SelvanHi ,
Oracle 10g always use spfile for the purpose of maintaining database parameters .So you want to make any changes then first you need to create pfile from spfile because you cannot make changes directly in spfile as its not recommended by oracle.
So first change pfile from spfile by givind command create pfile from spfile via sql prompt .Then modify the parameter in pfile & again give command create spfile from pfile & restart your databse to make the changes effective.
Or the best solution to change the database parameter is to change via sql prompt prompt eg::
alter system set <parameter>=<value> scope=spfile
Thanks..
Mohit -
Standby database with different directory structure
Hi,
sorry to say that we are in desupported version due to some constraint.
oracle version : 8.1.7.0.0.
os:sun 5.9
I need to create physical standby database with different directory structure:
i have created standby database with same directory structure of primary, now i have requirement to create with different directory structure.
in oracle 8i we can not give multiple parameter for db_file_name_convert(ORA-01678: parameter db_file_name_convert must be two strings, a pattern and a replacement) and i do have partitions in primary as follows:
bash-2.05$ df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 14G 5.6G 72% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 11G 40K 11G 1% /var/run
dmpfs 11G 0K 11G 0% /dev/vx/dmp
dmpfs 11G 0K 11G 0% /dev/vx/rdmp
swap 11G 656K 11G 1% /tmp
/dev/dsk/c1t0d0s3 25G 18G 6.8G 72% /oracle
/dev/vx/dsk/suportaldg/oracle1
12G 11G 1.1G 91% /oracle1
/dev/vx/dsk/suportaldg/oracle2
12G 8.1G 3.7G 69% /oracle2
/dev/vx/dsk/suportaldg/orapurge
200G 182G 17G 92% /orapurge
/dev/vx/dsk/suportaldg/oracle3
12G 10G 1.9G 85% /oracle3
/dev/vx/dsk/suportaldg/oracle4
12G 12G 58M 100% /oracle4
/dev/vx/dsk/suportaldg/oracle5
7.0G 5.9G 1.0G 86% /oracle5
/dev/vx/dsk/suportaldg/oracle6
7.0G 6.4G 564M 93% /oracle6
/dev/vx/dsk/suportaldg/oracle7
23G 23G 358M 99% /oracle7
/dev/vx/dsk/suportaldg/oracle8
13G 13G 165M 99% /oracle8
/dev/vx/dsk/suportaldg/oracle9
23G 22G 1.4G 94% /oracle9
/dev/vx/dsk/suportaldg/oracle10
12G 10.0G 1.9G 85% /oracle10
/dev/vx/dsk/suportaldg/oracle11
39G 36G 2.1G 95% /oracle11
/dev/vx/dsk/suportaldg/oracle12
39G 38G 1.1G 98% /oracle12
/dev/vx/dsk/suportaldg/oracle13
68G 65G 2.6G 97% /oracle13
/dev/vx/dsk/suportaldg/oracle14
200G 199G 1.3G 100% /oracle14
/dev/vx/dsk/suportaldg/oracle15
200G 196G 3.6G 99% /oracle15
/dev/vx/dsk/suportaldg/oracle16
70G 64G 5.5G 93% /oracle16
/dev/vx/dsk/suportaldg/oracle20
7.0G 6.4G 609M 92% /oracle20
/dev/vx/dsk/suportaldg/oracle50
28G 26G 2.0G 93% /oracle50
/dev/vx/dsk/suportaldg/oratranslog
185G 165G 19G 90% /oratranslogso how i can create standby database with different directory structure, help is appreciated.
Thanks
Edited by: prakashdba on Mar 5, 2009 11:04 PMLooks like very difficult and inform you mgmt about the drawbacks of running olderv ersions
may be you can try something like this but i dont know whether it is supported or not
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle3','/dev/vx/dsk/suportaldg/STDBY/oracle3']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle4','/dev/vx/dsk/suportaldg/STDBY/oracle4']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle5','/dev/vx/dsk/suportaldg/STDBY/oracle5'] -
ORA-02097 when set parameter REMOTE_LISTENER
We have a 3 node RAC of 11.2 on Redhat Linux 2.5. We installed the grid infrastructure and has the 3 listeners start in grid_home with identical listener.ora like LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
LISTENER_CCHPRD =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb1-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb2-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb3-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb2)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb3)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=OFF # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by AgentThe 3 listeners on the 3 nodes all have the similar status:Listener Parameter File /u01/app/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/cchORdb3/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.2.0.52)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.2.0.152)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "cchprd" has 3 instance(s).
Instance "cchprd1", status READY, has 2 handler(s) for this service...
Instance "cchprd2", status READY, has 3 handler(s) for this service...
Instance "cchprd3", status READY, has 2 handler(s) for this service...
Service "cchprdXDB" has 3 instance(s).
Instance "cchprd1", status READY, has 1 handler(s) for this service...
Instance "cchprd2", status READY, has 1 handler(s) for this service...
Instance "cchprd3", status READY, has 1 handler(s) for this service...
The command completed successfullyAccording to helps of the Furom and Oracle doc in http://www.oracle.com/technology/products/database/clustering/pdf/scan.pdf, we need to set the parameter REMOTE_LISTENER=SCAN:PORT. To find the SCAN name[oracle@cchORdb1 ~]$ srvctl config scan
SCAN name: cchORdb-rac, Network: 1/10.2.0.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /cchORdb/10.2.0.250
[oracle@cchORdb1 ~]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521Now set the parameter from instance 2 SQL> select instance_name from v$instance;
INSTANCE_NAME
cchprd2
SQL> alter system set remote_listener ='cchORdb-rac' scope=both;
alter system set remote_listener ='cchORdb-rac' scope=both
ERROR at line 1:
ORA-32008: error while processing parameter update at instance cchprd3
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00119: invalid specification for system parameter REMOTE_LISTENER
ORA-00132: syntax error or unresolved network name 'cchORdb-rac'
ORA-32008: error while processing parameter update at instance cchprd1
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00119: invalid specification for system parameter REMOTE_LISTENER
ORA-00132: syntax error or unresolved network name 'cchORdb-rac'Sorry for the long post, but here are the short questions:
1) Why 'alter system set remote_listener ='cchORdb-rac' scope=both' does not work?
2) I suspect the listener.ora may not very good. I could not find any docs on how to configure listener.ora in Oracle 11.2 RAC. It was said that it is not documented yet. Can some one share with me your listener.ora files and the listener status as output of lsnrctl status.
Thanks.try setting with the port number
example
alter system set remote_listener ='cchORdb-rac:1521' scope=both; -
Hi all,
I'm testing setup of primary and standby database and everything seems to work normally.
Now, I want to set up DG Broker so I can test switching it over and back.
So, I went through steps by Gavin (ref. http://gavinsoorma.com/2010/03/11g-data-guard-broker-dgmgrl-configuration-quick-steps/).
All went well until I showed configuration after enabling the broker.
Then I got error: ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
So, then I check the DG log files and on the standby database, I see errors:
2013-03-26 11:03:52.457 Executing SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']
2013-03-26 11:03:52.457 SQL Execution error=604, sql=[ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']. See error stack below.
2013-03-26 11:03:52.457 ORA-00604: error occurred at recursive SQL level 1
2013-03-26 11:03:52.457 ORA-02097: parameter cannot be modified because specified value is invalid
2013-03-26 11:03:52.457 ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
2013-03-26 11:03:52.458 RSM0: Failed to set property LogArchiveMinSucceedDest
2013-03-26 11:03:52.458 RSM0: return status of set property 'LogArchiveMinSucceedDest' is ORA-16788
2013-03-26 11:03:52.458 02010000 1827537550 Operation EDIT_RES_PROP canceled during phase 1, error = ORA-16788
2013-03-26 11:03:52.458 02010000 1827537550 DMON: Entered rfm_release_chief_lock() for EDIT_RES_PROP
2013-03-26 11:03:52.460 02010000 1827537550 DMON: EDIT_RES_PROP operation completedSo now, i check the DG InconsistentProperties
First, standby: tststby2
================
DGMGRL> show database 'tststby2' InconsistentProperties;
INCONSISTENT PROPERTIES
INSTANCE_NAME PROPERTY_NAME MEMORY_VALUE SPFILE_VALUE BROKER_VALUE
tststby2 LogArchiveMinSucceedDest 1 1
Then, primary: tstprim2
================
DGMGRL> show database 'tstprim2' InconsistentProperties;
INCONSISTENT PROPERTIES
INSTANCE_NAME PROPERTY_NAME MEMORY_VALUE SPFILE_VALUE BROKER_VALUESo, looking now in the database, I check standby and it shows:
log_archive_min_succeed_dest integer 1
And, checking primary, it shows:
log_archive_min_succeed_dest integer 1
Okay, so what's next?
I tried resetting the LogArchiveMinSucceedDest to see if that would help, but it just gave me error.
DGMGRL> edit database 'tststby2' set property 'LogArchiveMinSucceedDest'=1;
Error: ORA-16788: unable to set one or more database configuration property valuesI do see that my LOG_ARCHIVE_DEST_STATE_2 is set to ENABLE in primary, and is set to DEFER in standby, but it doesn't seem to let me change it in standby.
What else can I check?
Adding a couple of more things that might shed light on this:
======================================
on tstprim2 (primary)
==============
SQL> sho parameter convert
NAME TYPE VALUE
db_file_name_convert string tststby2, tstprim2
log_file_name_convert string tststby2, tstprim2
on tststby2 (standby)
==============
NAME TYPE VALUE
db_file_name_convert string tstprim2, tststby2
log_file_name_convert string tstprim2, tststby2
SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
PROCESS STATUS
ARCH CLOSING
ARCH CLOSING
RFS IDLE
RFS IDLE
RFS IDLE
RFS IDLE
MRP0 APPLYING_LOG <== as you can see, the standby database is working properly
35 rows selected.Edited by: 974632 on Mar 26, 2013 9:06 AMOkay, I will check that.
Meanwhile, I'm trying a standard manual switchover, which worked fine.
But, when I try to switch logfiles, it is just hanging.
When i check alert log, it shows errors:
Tue Mar 26 12:24:31 2013
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance tststby2 - Archival Error
ORA-16014: log 1 sequence# 380 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/redo1/tststby2/redo01a.rdo'
ORA-00312: online log 1 thread 1: '/redo2/tststby2/redo01b.rdo'
Tue Mar 26 12:24:33 2013
krsk_srl_archive_int: Enabling archival of deferred physical standby SRLs
krsk_srl_archive_int: Enabling archival of deferred physical standby SRLsI have a feeling it might be because I don't have my dest_2 set correctly.
The reason I suspect that is because, when I try to enable dest_2, I see error:
SQL> alter system archive log all;
alter system archive log all
ERROR at line 1:
ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
SQL> alter system set log_archive_dest_state_2=enable;
alter system set log_archive_dest_state_2=enable
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16028: new LOG_ARCHIVE_DEST_STATE_2 causes less destinations than LOG_ARCHIVE_MIN_SUCCEED_DEST requiresMy dest_2 is set at (remember this is now primary on my standby server):
log_archive_dest_2 string SERVICE=tststby2 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=tststby2My dest_1 is set at:
log_archive_dest_1 string LOCATION=USE_DB_RECOVERY_FILE_DEST
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=tstprim2Okay, so now, out of desperation, here's what I did, which seems to have worked.
(I had previously also enabled dest_state_3 per the instructions in the original web page notes)
SQL> alter system set log_archive_dest_3='LOCATION=/arch/tststby2';
System altered.
SQL> alter system archive log all;
System altered.Now, when I check my location, i see new files just put into that location.
$ <tststby2> /arch/tststby2>ll
total 13484
drwxr-xr-x 2 oracle dba 4096 Mar 26 12:47 ./
drwxr-xr-x 6 oracle 300 4096 Mar 22 10:56 ../
-rw-r----- 1 oracle dba 7453184 Mar 26 12:47 log_1_376_809878919.arc
-rw-r----- 1 oracle dba 6177792 Mar 26 12:47 log_1_377_809878919.arc
-rw-r----- 1 oracle dba 14336 Mar 26 12:47 log_1_378_809878919.arc
-rw-r----- 1 oracle dba 96768 Mar 26 12:47 log_1_380_809878919.arc
-rw-r----- 1 oracle dba 47616 Mar 26 12:47 log_1_381_809878919.arcOne other point of reference is that I created my primary and standby based on your webpage:
http://www.visi.com/~mseberg/data_guard_on_oracle_11_step_by_step.html
The only main differences are path locations and names of primary and standby database.
(Thank you mseberg. You are very good explaining things very well.) -
Log_file_name_convert is ignored, why?
I'm running 10.2.0.3.0 and trying to restore a database onto a box where I have no /u02 mount point. Thus, I'm attempting to use the log_file_name_convert. However, following the examples doesn't work.
I put log_file_name_convert = (/u02/,/u01/)
into my init.ora then did a
create spfile from pfile.
startup mount;
used show parameter to verify the log_file_name_convert is set. Yet the alter database open reset logs errors out because it can't find /u02. Why is the log_file_name_convert being ignored?
Screen shot below:
SQL> connect /as sysdba
Connected.
SQL> show parameter convert
NAME TYPE VALUE
db_file_name_convert string
log_file_name_convert string /u02/, /u01/
SQL>
RMAN> alter database open resetlogs;
RMAN-00571: ============================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===========================================
RMAN-03002: failure of alter db command at 07/03/2007 18:12:50
ORA-00344: unable to re-create online log '/u02/oradata/p1/redog2m1.dbf'
ORA-27040: file create error, unable to create file
SVR4 Error: 2: No such file or directory
RMAN>
Thank you,
JasonHi,
Parameter LOG_FILE_NAME_CONVERT is used for log file name of standby database/clone database.
http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10755/initparams113.htm
Use "ALTER DATABASE RENAME FILE" command to rename the logfiles.
I did following testcase in 10.2.0.3.0 database
-- Completed RMAN backup
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
FIRST_CHANGE# FIRST_TIM
1 1 8 52428800 1 NO CURRENT
2968877 04-JUL-07
2 1 6 52428800 1 YES INACTIVE
2968842 04-JUL-07
3 1 7 52428800 1 YES INACTIVE
2968848 04-JUL-07
SQL> alter system archive log current;
System altered.
SQL> select member from v$logfile;
MEMBER
C:\ORADATA\ORA10GR2DB1\REDO03.LOG
C:\ORADATA\ORA10GR2DB1\REDO02.LOG
C:\ORADATA\ORA10GR2DB1\REDO01.LOG
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
-- Deleted datafile associated with tablespace USERS2
RMAN> startup mount;
Oracle instance started
database mounted
Total System Global Area 167772160 bytes
Fixed Size 1289508 bytes
Variable Size 150995676 bytes
Database Buffers 12582912 bytes
Redo Buffers 2904064 bytes
RMAN> run{
2> set until logseq 9;
3> restore database;
4> recover database;
5> }
executing command: SET until clause
Starting restore at 04-JUL-07
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
archive log thread 1 sequence 8 is already on disk as file C:\ORADATA\ORA10GR2DB1\ARCH2\ARC00008_0627077438.001
archive log filename=C:\ORADATA\ORA10GR2DB1\ARCH2\ARC00007_0627077438.001 thread=1 sequence=7
archive log filename=C:\ORADATA\ORA10GR2DB1\ARCH2\ARC00008_0627077438.001 thread=1 sequence=8
media recovery complete, elapsed time: 00:00:04
Finished recover at 04-JUL-07
RMAN>
SQL> alter database rename file 'C:\ORADATA\ORA10GR2DB1\REDO03.LOG' to 'C:\ORADATA\ORA10GR2DB1\REDO\REDO03.LOG';
Database altered.
SQL> alter database rename file 'C:\ORADATA\ORA10GR2DB1\REDO02.LOG' to 'C:\ORADATA\ORA10GR2DB1\REDO\REDO02.LOG';
Database altered.
SQL> alter database rename file 'C:\ORADATA\ORA10GR2DB1\REDO01.LOG' to 'C:\ORADATA\ORA10GR2DB1\REDO\REDO01.LOG';
Database altered.
SQL> alter database open resetlogs;
Database altered.
SQL> select status from dba_data_files where tablespace_name='USERS2';
STATUS
AVAILABLE
SQL> select member from v$logfile;
MEMBER
C:\ORADATA\ORA10GR2DB1\REDO\REDO03.LOG
C:\ORADATA\ORA10GR2DB1\REDO\REDO02.LOG
C:\ORADATA\ORA10GR2DB1\REDO\REDO01.LOG
Regards,
Vaibhav -
Hello Friends,
Really appreciate your help/inputs on the below Error Message encountered while running a Concurrent Program--using SOA:Same encountered in recently refreshed DEV instance, Can it be related to some Developement Instance Configuration related to SOA, as same working as expected in PROD.PLEASE ASSIST
Need your inputs on the Error Message we are getting which Invoking OSB Service.
"Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA "
Can you please review and confirm if the same encountered before or assist on the same:
XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
-- Define the SOAP request according the the definition of the web service being called
l_soap_request :=
'<?xml version = "1.0" encoding = "UTF-8"?>'
|| '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prox="http://OmnicareFinance/ProxyInput/">'
|| '<soapenv:Header/>'
|| '<soapenv:Body>'
|| '<prox:InboundProcess>'
|| '<Source_system>'||g_source_instance||'</Source_system>'
|| '<Run_mode>'||g_run_mode||'</Run_mode>'
|| '<Batch_key>'||g_batch_key||'</Batch_key>'
|| '<Request_id>'||g_request_id||'</Request_id>'
|| '<Invoice_Header_File_name>'||g_file_name||'</Invoice_Header_File_name>'
|| '<Invoice_Line_File_name>'||NULL||'</Invoice_Line_File_name>'
|| '<File_location>'||g_file_location||'</File_location>'
|| '</prox:InboundProcess>'
|| '</soapenv:Body>'
|| '</soapenv:Envelope>';
Oracle Apps Log File
-->Entering XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
--> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
-->Response> status_code: "200"
-->Response> reason_phrase: "OK"
-->Response> http_version: "HTTP/1.1"
-->Response From OSB: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:prox="http://OmnicareFinance/ProxyInput/"/><soapenv:Body xmlns:prox="http://OmnicareFinance/ProxyInput/"><prox:InboundProcessResponse><status>E</status></prox:InboundProcessResponse></soapenv:Body></soapenv:Envelope>
-->OSB Response: E
-->Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA
--> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
-->Entering XXFIN_AP_INVOICES_INT_IB_PKG.capture_error_info
THANKS
ANKURHi..
>
# symptom: ORA-00381: cannot use both new and old parameters for buffer cache size specification
# cause: Both db_block_buffers and db_cache_size parameters are defined in the init.ora (instance parameter file). The db_block_buffers parameter has been deprecated and has been maintained only for backward compatibility. The db_cache_size parameter is one of the size parameters which defines the size of the cache for buffers. These parameters cannot be combined. Setting this along with the Dynamic SGA parameters errors out.
>
For sga_target refer to [http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams193.htm#REFRN10256]
which quotes
>
SGA_TARGET specifies the total size of all SGA components. If SGA_TARGET is specified, then the following memory pools are automatically sized:
*Buffer cache (DB_CACHE_SIZE)
* Shared pool (SHARED_POOL_SIZE)
* Large pool (LARGE_POOL_SIZE)
* Java pool (JAVA_POOL_SIZE)
* Streams pool (STREAMS_POOL_SIZE)
If these automatically tuned memory pools are set to non-zero values, then those values are used as minimum levels by Automatic Shared Memory Management. You would set minimum values if an application component needs a minimum amount of memory to function properly.
>
So, the what ever the value are set for the parameter will act as minimum value when sga_target is set.
HTH
Anand
Maybe you are looking for
-
Hi everyone! I bought my iPhone 5 from Covent Garden Apple Store in London. I am still keeping the receipt with me. Due to my problem with sleep wake button, i would like to have repair service and i found out that it is in the change program. For th
-
Why can't I use face time or send meg.
OOk I am longed in to my Apple ID and all but ever time I try use use face time or send mesg. It tills me not delverd....help
-
Payment medium program for outgoing transfers payments in Portugal
Hello experts, we need to customize automatic payments with payment way T (standard outgoing transfers) for Portugal and we need to be customized with the correct program to create a DME file. Has anyone experiece with portuguese banking settings (m
-
So I've been having this problem lately where my phone goes hot in my pocket and it drains the battery quickly, also my SD card which holds onto anything you download or take pictures in the phone, it says its not in there, but I checked and the card
-
Dear all, i have 14 aironet 1142 work as atounomous but i found this events in syslog said that and i dunno if this is a big problem: ios crypto fips self test passed int g0/1 , change state to up int dot radio 0 , change sate to up but i don't und