Error while creating standby database
Hi,
ORACLE VERSION:10.2.0.1.0
OPERATING SYSTEM:WINDOWS
While i am trying to setup a standby database i am getting the following error in my parameter file.
SQL> startup
ORA-02778: Name given for the log directory is invalid
Here is my pfile
orakill.__db_cache_size=427819008
orakill.__java_pool_size=4194304
orakill.__large_pool_size=4194304
orakill.__shared_pool_size=167772160
orakill.__streams_pool_size=0
*.audit_file_dest='E:\oracle\product\10.2.0/admin/oracle/adump'
*.background_dump_dest='E:\oracle\product\10.2.0/admin/orakill/bdump'
*.compatible='10.2.0.1.0'
*.control_files='F:\orakill/\control01.ctl','F:\orakill/\control02.ctl','F:\oradata/orakill/\control03.ctl'
*.core_dump_dest='E:\oracle\product\10.2.0/admin/orakill/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.DB_FILE_NAME_CONVERT='E:\oracle\product\10.2.0\oradata\oracle','F:\orakill\'
*.DB_NAME='oracle'
#*.db_recovery_file_dest='E:\oracle\product\10.2.0/flash_recovery_area'
*.log_archive_dest='F:\standby\aldump'
*.db_recovery_file_dest_size=2147483648
*.DB_UNIQUE_NAME='orakill'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=oracleXDB)'
*.FAL_CLIENT='orakill'
*.FAL_SERVER='oracle'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(oracle,orakill)'
*.LOG_ARCHIVE_DEST_1='LOCATION=F:\standby\aldump\ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orakill'
*.LOG_ARCHIVE_DEST_2='SERVICE=oracle LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=oracle'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.LOG_ARCHIVE_MAX_PROCESSES=30
*.LOG_FILE_NAME_CONVERT='E:\oracle\product\10.2.0\oradata\oracle','F:\orakill\'
*.open_cursors=300
*.pga_aggregate_target=202375168
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=609222656
*.STANDBY_FILE_MANAGEMENT='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='E:\oracle\product\10.2.0/admin/orakill/udump'
please help me.
Regards,
Poorna.
you seems to have issues with your setting. For instance see the controlfile parameter.
*.control_files='F:\orakill/\control01.ctl','F:\orakill/\control02.ctl','F:\oradata/orakill/\control03.ctl'
also check whatever directory given actually exist in the server.
hth,
http://borndba.com
Similar Messages
-
Gating error while creating standby database in oracle 11g
Dear Gurus
I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 10-MAY-12
using channel ORA_AUX_DISK_1
contents of Memory Script:
backup as copy reuse
targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
'/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
executing Memory Script
Starting backup at 10-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-17629: Cannot connect to the remote database server
RMAN>
Regards
RabiHello;
Generally for the connection to work you need to add something like this to the listener.ora file :
(SID_DESC =
(global_dbname = STANDBY.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = STANDBY)
)You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
Also you need an INIT for the Standby side :
STANDBY.__db_cache_size=343932928
STANDBY.__java_pool_size=4194304
STANDBY.__large_pool_size=4194304
STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
STANDBY.__pga_aggregate_target=281018368
STANDBY.__sga_target=834666496
STANDBY.__shared_io_pool_size=0
STANDBY.__shared_pool_size=469762048
STANDBY.__streams_pool_size=0
audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
audit_trail='db'
compatible='11.2.0.0.0'
control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
db_block_size=8192
db_domain='SOME.DOMAIN.COM'
db_flashback_retention_target=2880
db_name='PRIMARY'
db_recovery_file_dest_size=2147483648
db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
open_cursors=300
pga_aggregate_target=277872640
processes=150
remote_login_passwordfile='EXCLUSIVE'
sga_target=833617920
undo_tablespace='UNDOTBS1'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=DEFER
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=STANDBY
STANDBY_FILE_MANAGEMENT=AUTO
DB_UNIQUE_NAME=STANDBYFinally
startup nomount
Start RMAN and issue duplicate command
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
Keys to success
1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
2. Hard coded listener on new Standby server.
3. Correct tnsnames.ora files.
4. Correct duplicate command.
Please consider closing some of you old answered questions
Best Regards
mseberg
Edited by: mseberg on May 10, 2012 7:06 AM -
Error while creating standby database for ebs prod database
Hi,
We are getting error while trying to create a standby database for EBS database by using RMAN DUPLICATE commands,
Steps followed:
1.) Backup the primary database (Ebs PROD db). This was done on 12-Mar-2012
***RMAN backups are scheduled to run @10:00 pm every night. Flash Recovery Area has been configured and backup is taken at this location
everyday.
2.) Tar the backupset, autobackup, archivelogs etc in FRA .... and copy this to the target server (STANDBY).
*** Copy(oracle rdbms binaries and FRA) completed @12:00AM on 14-Mar-2012
3.) Tried to create standby database by using RMAN duplicate on 14-Mar-2012
RMAN> rman sys/sys@PROD auxiliary /
RMAN> duplicate target database for standby dorecover nofilenamecheck;
After, some time the RMAN DUPLICATE process errors out with,
ORA-19563: header validation failed for file
We are not sure about the cause of this error. While searching in Metalink, we got several notes (ex, 352074.1) but all the causes stated for this error
are not applicable in our case. We double checked our instance to confirm this.
We have also found that in PROD database there are 65 datafiles and after the RMAN DUPLICATE errors out in the targer server (STANDBY) the RMAN managed to restore 51 datafiles before erroring out.
# Please note PROD database was also backed up on 13-Mar-2012. We have a suspicion that backup on 13-Mar may be a possible cause for this error but we are
not sure.
Need suggestions if there can be any other possible causes???
We are in a fix and it would be appreciable if we get some quick suggestions..
Regards,
Rupdipt
Edited by: orarup on Mar 14, 2012 12:29 AMWhen opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (data file, archived log, or control file) belonging to the current database.
Kindly Ensure that the correct files are being specified for the copy or backup operation.
Regs,
Bhavi Savla. -
Getting error while creating standby database
I am creating standby database in oracle 10.2 on windows (same machine)and getting following error.Could any one please suggest me on this.
on primary database alert log file
================================================
Error 1031 received logging on to the standby
Fri Jul 17 18:09:23 2009
Errors in file c:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_4512.trc:
ORA-01031: insufficient privileges
PING[ARC0]: Heartbeat failed to connect to standby 'IDR'. Error is 1031.
================================================
my LISTENER file is as below
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = Orcl)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(SID_NAME = Orcl)
(SID_DESC =
(GLOBAL_DBNAME = idr)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(SID_NAME = idr)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
and tns file is as below
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
IDR =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = IDR)
)recreate the instance at standby database without password file
oradim -new -IDR standby -startmode manual recreate password file at primary database , copy the same password file from primary database to standby database,also make sure primary database started with REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE parameter.
Check also the primary database is able to tnsping to standby database.
Khurram -
DBCA ERROR WHILE CREATING A DATABASE
While creating a RAC database using DBCA, DBCA gave the folling error -
"Virtual IP address is not configured for cluster node "pdb1". Run
"/opt/app/oracle/product/10.2.0/oracle/bin/vipca" as "root" user to configure
it before performing the "create Database opration"
I couldn't find vipca in oracle home.
So, i started vipca from crs home as a root user and i got the following error
while configuring the VIP -
" CRS-0211: Resource 'ora.pdb1.vip' has already been registered"
Thanks,A bit old but still useful info for Raw Device
http://www.fors.com/orasupp/unix/37914_1.HTM
If you are using 10gR2 consider use ASM instead. -
Error While Creating Essbase Database From Hyperion Planning
Hi,
While creating the Essbase Database From the 'Manage Database' in Hyperion Planning, I am getting the following error:
com.hyperion.planning.olap.EssbaseException: Account (1060000)
It gets stuck at Adding Dimensions.
I have tried reconfiguring Planning, but no luck.
My Relation Repository is MS SQL Server 2005 and the Essbase and Shared Services are on a Linux box.
I am getting the following error in the Planning log
[12-Nov-2009 10:50:41]: Propegating external event[ FROM_ID: 68b6dbf1 Class: class com.hyperion.planning.sql.HspLock Object Type: -1 Primary Key: 50001 ]
[12-Nov-2009 10:50:41]: Processing cube: Plan1
[12-Nov-2009 10:50:41]: Setting System CFG properties for Attribute Dimensions
[12-Nov-2009 10:50:41]: Adding dimension: Account
[12-Nov-2009 10:50:41]: Closing outlines
com.hyperion.planning.olap.EssbaseException: Account (1060000)
at com.hyperion.planning.olap.HspEssbaseOutlineAPI.EssAddMemberEx(Native Method)
at com.hyperion.planning.olap.HspCubeRefreshTask.addDimension(Unknown Source)
at com.hyperion.planning.olap.HspCubeRefreshTask.addDimensionsAndMembers(Unknown Source)
at com.hyperion.planning.olap.HspCubeRefreshTask.buildOutlines(Unknown Source)
at com.hyperion.planning.olap.HspCubeRefreshTask.run(Unknown Source)
at com.hyperion.planning.HspJSImpl.runCubeRefresh(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.runCubeRefresh(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Thanks for your help.
Edited by: user524093 on Nov 12, 2009 4:38 PMHave you tried restarting the services and giving it a try?
Which version of Essbase/Planning are you on?
If your Essbase server name has more than 30 characters, please use NODENAME with short server name. -
Error While creating new database connection from HFM workspace
Hi,
We have recently installed HFM and was trying to create database connection from database connection manager in HFM workspace.
I am getting below error:
"Error connecting to database connection : no HssJNIDriver950 in java.library.path" initially and later
"Error connecting to database connection : com/hyperion/ap/adm/HssConn".
Any information in this direction would helpful.
Thanks,
Bhargav
Edited by: bhargavr on Jan 24, 2011 6:55 PMHi bhargavr,
We came accross the same issue. Try the following solution below for this 'KNOWN ISSUE' and let me know how you get on. Drop me a note if you have any questions regarding this post.
Error: *"Error connecting to database connection: com/hyperion/ap/adm/HssConn" While Creating a Financial Management Database Connection* [ID 1102697.1]
Modified 04-JAN-2011 Type PROBLEM Status PUBLISHED
Applies to:
Hyperion BI+ - Version: 11.1.2.0.00 and later [Release: 11.1 and later ]
Microsoft Windows x64 (64-bit)
Symptoms:
You are running the Financial Reporting Web Server on a 64-bit server.
When you try to create a new Financial Management (HFM) database connection using the Database Connection Manager in Workspace you receive the following message:
“Error connecting to database connection <connection_name>: com/hyperion/ap/adm/HssConn”
You can create a database connection in Financial Reporting Studio. When you refresh a report with a Financial Management database connection, you receive one of the following messages:
“1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: com/hyperion/ap/adm/HssConn”
or
“1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: no HssJNIDriver950 in java.library.path”
Cause:
The issue is documented in unpublished bug 9537050, and in Known Issues in the 11.1.2 Reporting and Analysis Readme. Cross-reference unpublished bug 9707353.
Solution:
In the Windows registry, take the following steps:
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\HyperionSolutions\FinancialReporting0\HyS9FRReports.
For each of the following entries, prefix the contents with text in the blue box: Env2, JVMOption13, and JVMOption17 (note that the JVMOption numbers might be slightly different in your environment).
C:\Oracle\Middleware\EPMSystem11R1\common\ADM\11.1.2.0\bin-64
If your EPM_ORACLE_HOME is not located at C:\Oracle\Middleware\EPMSystem11R1, replace that location with your location.
Restart the server.
G'Luck,
-David -
ERROR WHILE CREATING A DATABASE LINK USING HETEROGENEOUS SERVICES
I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
Probando...
Fallo.
SQL Exception
Error del repositorio: Excepción SQL.
Nombre de la Clase: CacheMediator.
Nombre del Método: getDDEntryFromDB.
Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
ORA-02063: preceding 2 lines from PRUEBA_SEH
As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????Right places to ask this question are
Heterogeneous Connectivity
Warehouse Builder -
ERROR WHILE CREATING A DATABASE LINK TO INFORMIX
I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
Probando...
Fallo.
SQL Exception
Error del repositorio: Excepción SQL.
Nombre de la Clase: CacheMediator.
Nombre del Método: getDDEntryFromDB.
Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
ORA-02063: preceding 2 lines from PRUEBA_SEH
As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????Right places to ask this question are
Heterogeneous Connectivity
Warehouse Builder -
Error while creating a database
Hi.
I am using the Oracle Database Configuration Assistant to create a database.
It gives me an error Listener start failed, maybe already running.
Later gives a message Listener configuration complete.
The listener if it was running also it automatically goes down after this.
I can see the database but not able to enter it or use it.
The following is an extract from my Listener.log file.
TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production on 29-JAN-2010 19:51:12
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
System parameter file is D:\oracle\NTAMLT99\network\admin\listener.ora
Log messages written to D:\oracle\NTAMLT99\network\log\listener.log
Trace information written to D:\oracle\NTAMLT99\network\trace\listener.trc
Trace level is currently 0
Started with pid=2140
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=NTAMLT99)(PORT=1521)))
TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied
*32-bit Windows Error: 13: Permission denied*
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
I am new to Oracle and not sure on what to interpret from this.
Please help me to resolve this.
Regards,
APHi, The user has insufficient privileges to perform the requested operation.So acquire necessary privileges and try again.
Hope it works
Shafiulla Syed -
"TNS: Protocol adapter error" while creating a database
Hi All,
I´m new to Oracle and trying to create a database.
We use Oracle 8.1.7
I´m using the Database Configuration Assistant. The problem is when creating the database I get the error:
TNS-12560 TNS: Protocol adapter error
Any help will be really appreciated.
Thanks in advance,
Carlos.Do you have ORACLE_HOME and/or ORACLE_SID defined in the environment which are different than the settings for the new database that you are trying to create?
-
Paraller Query Server Error while creating the database using DBCA on UNIX
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish Sharmauser12104101 wrote:
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish SharmaIncrease value of SESSIONS(also processes) parameter as
sqlplus "/as sysdba"
show parameter sessions
alter system set sessions =<new big value> scope=spfile;
shutdown immediate;
startup; -
Error while creating Auxiliary database through RMAN on the same host.
I got the following error while cloning a stand by database through RMAN.
I got the following error while cloning a stand by database through RMAN.
[oracle@localhost admin]$ rman auxiliary sys/clonedb@clonedb
Recovery Manager: Release 11.1.0.6.0 - Production on Mon Sep 19 10:51:48 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12154: TNS:could not resolve the connect identifier specified
My LISTENER looks like this:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
TNS Names:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
CLONEDB=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CLONEDB)
And SQLNet.ora
NAMES.DIRECTORY_PATH= (TNSNAMES,HOSTNAME, EZCONNECT)
Any help would be highly appreciated.
Thanks,
-Revku.Hello,
I think there is something wrong with the ")" in the listener.ora : the second SID_DESC is not part of the SID_LIST.
Instead of
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
)It should be :
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
)Hope it will help.
Regards,
Sylvie -
Error while mounting Standby database
Hi all,
I am getting ORA-01102: cannot mount database in EXCLUSIVE mode error when truying to mount the standby database.
SQL>alter database mount standby database ;
If anyone faced the same issue please guide me.
Thanks and Regards
Salih KMThis is script for Standby..
Primary Server Configuration
1.In the TNSNAMES.ORA of Primary DB add the entry of the Standby DB
IRCSSTDB(This is the service name in Primary DB to connect to Standby DB) =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1512))
(CONNECT_DATA =
(SERVICE_NAME = IRCS(This is the actual INSTANCE name of Running DB on Standby DB)
2. There is no need to Make any Changes in the Listener.ora of PRIMARY DB
Keep LISTENER.ORA of Primary as it is
Copy Listener.ora from Primary DB to Standby DB and make following changes
Delete All the Extra Existing listeners.
(These Updations are for the STANDBY DB)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = IRCS)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
3.In the INIT.ORA of Primary DB add Following…
log_archive_dest_2 = "service=STBY optional/Mandatory scope=BOTH"
log_archive_dest_2 = Enable
log_archive_min_succeed_dest = 2
We can add this Dynamically with the SQL*PLUS..
Standby DB Server Configuration
1.In the TNSNAMES.ORA of Standby DB add the entry of the Primary DB
primary1(ISSL)(This is the service name in Standby DB to connect to Primary DB)=
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (PORT=1521) (HOST=PRIMARY MACHINE NAME))
(CONNECT_DATA=(SERVICE_NAME=IRCS(This is the actual INSTANCE name of Running DB on Primary DB)
2.Copy Listener.ora from Primary DB to Standby DB and make following changes
Same as Above
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = IRCS)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
3. Connect to Idle instance..
1.C:\ oradim –NEW –SID ircs –INTPWD pwdfilename –STARTMODE auto –pfile E:\oracle\oradata\pfile\init.ora
2. C:\ set oracle_sid=IRCS
3. C:\ sqlplus /nolog
4. SQL:>connect sys/ircl as SYSDBA
5. SQL:>startup nomount pfile= E:\oracle\oradata\pfile\init.ora
6. SQL:> alter database mount standby database;
7. SQL :> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
4. we can also add these parameter in INIT.ORA of Standby DB
1.standby_archive_dest= /u00/app/oracle/admin/sec/arch (Same path as in
(log_archive_dest_1) in init.ora
2. Fal_client=standby1 (Service Name)
3. Fal_server=primary1 (Service Name)
Troubleshooting….
1. Check Init.ora of Primary DB
2. Try to open Standby Database in normal mode try to connect it with normal user from different Machine.
3.check *.logs file on Standby Database
4.Check v$archive_dest on Primary DB
5. lsnrctl services <listener name>….For Checking Listener, for service -
ORA-12560: TNS:protocol adapter error while creating new database
Hi,
I installed Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.03) and created the default database it had which was emrep. Once Oracle Grid Control was installed I ran the install for Oracle Database 10g Release 1 (10.1.0.2).
Now when I try to create a database I get the following error: ORA-12560: TNS:protocol adapter error.
My assumption is because I seem to have 2 Oracle home's now because I installed the Grid Control??
My question is, have I done this backwards? Should I install Oracle 10g before installing the grid control? If thats not it, can someone point me in the right direction?
FYI: The server we're using is running Windows Server 2003.
Thanks for your helpEnv variables are as follows:
ClusterLog = C:\WINDOWS\Cluster\cluster.log
ComSpec = %SystemRoot%\system32\cmd.exe
FP_NO_HOST_CHECK = NO
JSERV = D:\Oracle\Ora92/Apache/Jserv/conf
NUMBER_OF_PROCESSORS = 4
ORACLE_HOME = D:\Oracle\Ora10gGC
OS = Windows_NT <-- its actually Windows Server 2003
Path = D:\Oracle\Ora10g\bin;D:\Oracle\Ora10g\jre\1.4.2\bin\client;D:\Oracle\Ora10g\jre\1.4.2\bin;D:\Oracle\agent\bin;D:\Oracle\agent\oui\lib\win32;D:\Oracle\agent\jlib;D:\Oracle\agent\bin;D:\Oracle\agent\jre\1.4.2\bin\client;D:\Oracle\agent\jre\1.4.2\bin;D:\Oracle\Ora10gGC\bin;D:\Oracle\Ora10gGC\jlib;D:\Oracle\Ora10gGC\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
Pathext = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PERL5LIB = D:\Oracle\Ora10g\perl\lib\5.6.1\MSWin32-x86;D:\Oracle\Ora10g\perl\lib\5.6.1;D:\Oracle\Ora10g\perl\5.6.1\lib\MSWin32-x86;D:\Oracle\Ora10g\perl\site\5.6.1;D:\Oracle\Ora10g\perl\site\5.6.1\lib;D:\Oracle\Ora10g\sysman\admin\scripts
WV_GATEWAY_CFG = D:\Oracle\Ora92\Apache\modplsql\cfg\wdbsvr.app
Maybe you are looking for
-
I want to *use* very long file and path names!
This is really a plea to Microsoft... There are several threads about copying or deleting files where the path and/or file name is too long. Most have explanations of why this problem occurs. (depending on Windows version and application, the total
-
GoToAndPlay doesn't work second time
I have made a simple animation using only the timeline. The animation is covered by a button "Knapp" (alpha 0) wich activates the actions. The whole thing works fine the first time. The last action says go to and play frame 2, wich has two actions:
-
Why do my charger cables keep giving out after like three months?
I've had my phone a year and I've gotten the cord replaced like three times. It's always the part by the part that plugs into my phone that gets all twisted and such and then they cord gets glitchy and then it stops working. Is this happening to anyo
-
Where i can find the value categry code and element in cjvc
hi gurus where i can find the value categry code and element in cjvc .in which table these fields are stored.could anyone tell me relation. Thanks & Regards Sandya
-
I have used Aperture since it was launched and have for the last 4 years , only shot RAW . I have not encountered this problem before , but it is ruining my photography and would I therefore love some help please .