Testing of DataGuard got following error: ORA-25401 &; ORA-25408
I tried to test to see if the transition to the will affect a selection running session.Thank you.
No, of course not - it would be pretty useless, wouldn't it? :-)
SELECT is a superset of SESSION; He will try to keep the transparent role change, even while the session on the primary is just a SELECT statement. There are switched and continue to SELECT it on the primary again.
Kind regards
Uwe Hesse
"Don't believe it, try it!
http://uhesse.com
Tags: Database
Similar Questions
-
Listener to refuse the connection with the following error ORA-12505
Hi everyone, Am really new to the oracle database, I work on my school project work and am stuck in the middle of this error (listener refused the connection with the following error ORA-12505).
I started the time serveral listener and it is said that 'no service supported by the LISTENER', I can't access the database via sqldeveloper including trows on the same error (listener refused the connection with the following error ORA-12505, TNS:Listener currently know of SID given in connect descriptor.) In addition, my em show red arrow down to the listener. Here are my coordinates hard & software.
Oracle 11.1.0
OS: Red Hat Enterprise Linux 4 (running the operating system through Vmware workstation)
TNSNAME. ORA
LISTENER2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
((ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
)
)
AUDITEUR1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
Listner, ora
LISTNER_ORCL
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
)
IMT_ADMI =
(= DESRIPTION
(PORT = 1522))
(ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = imt_admin
)
)
LISTENER_IMTADMIN =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
I read on some forums that I need to edit somethings that am not sure cos I don't want to mess with the database, I need help on what to.
Thanks for the help in advance.(ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
Try to edit listener.ora by:
(ADDRESS = (PROTOCOL = TCP) (HOST = HOST_NAME_OF_YOUR_DATABASE_MACHINE/OR TRY USING THE IP ADDRESS OF THE DATABASE SERVER MACHINE)(PORT=1521))
Just try to edit HOST = value line above. You must use HOST_NAME_OF_YOUR_DATABASE_MACHINE or IP OF the DATABASE SERVER MACHINE.Host name can be obtained by the hostname command on the database server.
With localhost, no one can connect to the database remotely.
Concerning
Girish SharmaPublished by: Girish Sharma January 11, 2013 18:26
then after the output of commands below:
lsnrctl stop
lsnrctl start
Wait 60 seconds...
ORACLE_SID =
sqlplus scott/tiger@tnsnameShow us what is happening now.
-
Listener refused the connection with the following error: ORA-12505
Hello
Windows XP + Oracle 10.1.0.20Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 127.0.0.1:1521:XE
I checked my *.ora files and found the host 127.0.0.1 but I noticed by running the netstat command on prompt back most of my ports is captured by www.360.cn including 1521
When I try to stop the following message is displayed:
Thank you and best regardsORA-01034: ORACLE not available ORA-27101: shared memory realm does not exists
Hello
[oracle@myoramachine ~]$ oerr ora 12505 12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor" // *Cause: The listener received a request to establish a connection to a // database or other service. The connect descriptor received by the listener // specified a SID for an instance (usually a database instance) that either // has not yet dynamically registered with the listener or has not been // statically configured for the listener. This may be a temporary condition // such as after the listener has started, but before the database instance // has registered with the listener. // *Action: // - Wait a moment and try to connect a second time. // - Check which instances are currently known by the listener by executing: // lsnrctl services
// - Check that the SID parameter in the connect descriptor specifies // an instance known by the listener. // - Check for an event in the listener.log file. [oracle@myoramachine ~]$ 1. check the lsnrctl services
2 check the tnsping output:
tnsping MYORACLE
3. check the connectivity to the computer hosting your Oracle server to the port (I guess 1521):
Telnet
1521 4. in case you are not able to connect to the Oracle Server - I investigate it in several directions:
-problem of network infrastructure
-some process disturbing / virus on the server Oracle itself
-firewall problem
Good luck!
---------------------------------
http://DBA-star.blogspot.com/ -
Hello
I was trying to set up a database connection in Oracle developer j 12 c.
It's showing this exception.
I m in this news. Could someone help me pls to solve this issue.
I have attached the screen for reference.
https://www.dropbox.com/SC/ua5a92q6kwwflui/wiuCXO_gaG
Thank you
Lax
Database, you are trying to connect is ORCL? If Yes, then you suggest that you write ORCL in the dialog box where you are supposed to write the instance that is directed by the attachment instead of XE what we ORCL
-
There are ten security updates continue on not to install using windows 7 Professional 64-bit
I tired troublershooter - no success and sent e-mail online help for MS unanswered.
Suggestions MacparkTry to disable your antivirus software temporarily to see if they will install. If the problem persists, you can try to download each update and install manually from http://www.microsoft.com/downloads
In addition, make sure that you have not all programs, especially Microsoft Office programs open when you try to install these updates.
Have you applied all the instructions in the article I linked?
Releasing it's easy: with Windows | ActiveWin | Laptops | Microsoft MVP
-
Error ORA-12505 only in SQL Developer - 11g Express
Hello
I found many similar problems but no answering mine.
I installed the Oracle 11g Express version. I can connect to my database order online when I try Developer SQL I get the following error code:
Status: Failure-Test failed: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor.
i\m data trying to connect to is xe.
Here are my tnsnames.ora file content:
===============================================================================================
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Jon-portable)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
===================================================================================================
Here is the output of "tnsping xe:
Use settings files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Jon-Lapt
OP) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (0 msec)
==================================================================================================
The production of SERVICES of LSNRTCL are:
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
Service 'XEXDB' has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Managers:
"D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
DISPATCHER < machine: JON-laptop, pid: 2636 >
(ADDRESS = (PROTOCOL = tcp) (HOST = Jon-Laptop)(PORT=1064))
"Xe" service has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0 status: ready
LOCAL SERVER
The command completed successfully
=================================================================================================
NOTE: I tried to connect to ORCL with SQL Developer and put with the SYSTEM account.
Please let me know if you need more information. Thanks in advance.
you typed in the 'OracleServiceXE' chain & the listener isn't aware of any Service with this exact name.
You must only enter "XE".
-
log in - help sql: error ORA-01489: string concatena result
Here's a sql query and I am cooking a decoding, but since there are several columns invloved when I try to run it I get the following error:
ORA-01489: result of concatenating string is too long
Any kind of help is appreciated, I need to get it going or I'm dead :(
Concerning
Rahul
SQL:
Select sys_connect_by_path(c.decode_prep,'-') decode_prep
from (select "DECODE (BIAPPS_11.'|)") substr (b.all_cols, InStr(b.all_cols,',',1,a.RN) + 1, InStr(b.all_cols,',',1,a.RN+1)-InStr(b.all_cols,',',1,a.RN)-1). «, » ||' RAHULKALRA.' | substr (b.all_cols, InStr(b.all_cols,',',1,a.RN) + 1, InStr(b.all_cols,',',1,a.RN+1)-InStr(b.all_cols,',',1,a.RN)-1) |', "1", "0")' decode_prep, rownum curr, prev rownum-1
from (select rownum rn
Double connect rownum < =.
(select (length('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM ,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT ,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM')
- length(replace('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM ,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT ,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM',',')))+1 total_cols
the double)), (select ',' |') ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE ,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT SRC_EFF_FROM_DT , SRC_EFF_TO_DT, EFFECTIVE_FROM_DT, EFFECTIVE_TO_DT, DELETE_FLG, CURRENT_FLG, W_INSERT_DT, W_UPDATE_DT, DATASOURCE_NUM_ID, ETL_PROC_WID, INTEGRATION_ID, SET_ID, TENANT_ID, X_CUSTOM' | (',' double all_cols) b) c
Start by curr = 1
Connect prior curr = prev
length (sys_connect_by_path(c.decode_prep,'-')) desc order
---------------------------------------------------------------------------------------------
same as above sql only the difference is here I'm pulling the first record in the result set that top query returns:
Select ltrim (replace(decode_prep,'-','||'),'| ') decode_prep
of (sys_connect_by_path(c.decode_prep,'-') select decode_prep)
from (select "DECODE (BIAPPS_11.'|)") substr (b.all_cols, InStr(b.all_cols,',',1,a.RN) + 1, InStr(b.all_cols,',',1,a.RN+1)-InStr(b.all_cols,',',1,a.RN)-1). «, » ||' RAHULKALRA.' | substr (b.all_cols, InStr(b.all_cols,',',1,a.RN) + 1, InStr(b.all_cols,',',1,a.RN+1)-InStr(b.all_cols,',',1,a.RN)-1) |', "1", "0")' decode_prep, rownum curr, prev rownum-1
from (select rownum rn
Double connect rownum < =.
(select (length('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM ,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT ,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM')
- length(replace('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM ,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT ,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM',',')))+1 total_cols
the double)), (select ',' |') ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE ,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT SRC_EFF_FROM_DT , SRC_EFF_TO_DT, EFFECTIVE_FROM_DT, EFFECTIVE_TO_DT, DELETE_FLG, CURRENT_FLG, W_INSERT_DT, W_UPDATE_DT, DATASOURCE_NUM_ID, ETL_PROC_WID, INTEGRATION_ID, SET_ID, TENANT_ID, X_CUSTOM' | (',' double all_cols) b) c
Start by curr = 1
Connect prior curr = prev
length (sys_connect_by_path(c.decode_prep,'-')) desc order)
where rownum = 1
Published by: Mac_Freak_Rahul on November 28, 2012 01:31: in the first sql ')'
removed after desc in the last line so now this query begin and will throw an error.Mac_Freak_Rahul wrote:
@Blushadow:(1) first of all, I'm sorry for not posting my question according to the rules of the forum, next time I'll take care of that.
(2) Secondly, thanks for the solution, I have no exp with clob, but I can take a deeper look later.
(3) I just want to know if there are any other wayout, you mean the second concatenation of 4000 bytes sys_connect_by_path exhausts it might return this error?SYS_CONNECT_BY_PATH returns a VARCHAR2 data type. In SQL VARCHAR2 data type is limited to 4000 bytes, then Yes, you will get an error if the data that you generate is greater than 4000 bytes (and I say bytes rather than characters, because if your database uses a multibyte multi character set could be as little as 1000 characters)
I'm right now stable for a table who got 62 columns... I have tables that have 200 close passes: (, great, if you can throw some light on this, if your the best way and the only one to achieve?)
If you really need to concatenate strings together which exceeds 4000 bytes, then Yes you must use CLOB to store data. Oracle does not provide a native way to aggregate together in a CLOB datatype string, so why you need to write your own function.
PS: just a quick overview of my value, it will be by comparing schema1.table (s) with shema2.table (s) where table_name must be the same...
So why are you information concatenation together to achieve this goal?
-
Listener refused the connection with the following error: 12505
Hello experts,
I am facing the problem for the last two days, when I'm trying to connect to the oracle with sql developer and Jdeveloper database. Previously, it was running fing.
The description of the detal problem is
To perform the requested operation, an error has occurred:
Listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
Code provider 12505
I tested the following text, and every thing seems fine
==============================================================
E:\Users\Anutosh > lsnrctl services
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 25, 2012 20:25:34
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
The command completed successfully
E:\Users\Anutosh > lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 25, 2012 20:26:13
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start date August 25, 2012 19:04:12
Uptime 0 days 1 hour 22 min 1 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
D:\app\Anutosh\product\11.2.0\dbhome_1\network\admin\listener.ora Listener parameter file
D:\app\anutosh\diag\tnslsnr\MTECH\listener\alert\log.XML log listener
Summary of endpoints listening...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
The command completed successfully
E:\Users\Anutosh > tnsping orcl
AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on August 25, 2012 21:35:44
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
d:\app\Anutosh\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521)) (CONNECT_DATA = (SERVER =
DED
(ED) (SERVICE_NAME = orcl)))
OK (20 ms)
Content of tnsnames.ora
---------------------------------------
tnsnames.ora # Network Configuration file: d:\app\Anutosh\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
Listener.ora
-------------------
listener.ora # Network Configuration file: d:\app\Anutosh\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 = d:\app\Anutosh\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:d:\app\Anutosh\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
)
ADR_BASE_LISTENER = d:\app\Anutosh
Init.ora
------------
# Change '< ORACLE_BASE >' to point to the oracle base (that you specify to)
(# install times)
db_name = "ORCL".
memory_target = 1 G
process = 150
audit_file_dest =' < ORACLE_BASE > / admin/orcl/adump '
AUDIT_TRAIL = 'db '.
DB_BLOCK_SIZE = 8192
db_domain = "
db_recovery_file_dest =' < ORACLE_BASE > / flash_recovery_area'
db_recovery_file_dest_size = 2G
diagnostic_dest = "< ORACLE_BASE >.
Dispatchers ='(Protocol=TCP) (SERVICE = ORCLXDB)"
open_cursors = 300
Remote_login_passwordfile = 'EXCLUSIVE '.
undo_tablespace = 'UNDOTBS1.
# You can ensure that the control files are created on the separate physical
features of #.
control_files = (ora_control1, ora_control2)
' compatible ' 11.2.0 = ".Rajat says:
How can I fix the ITI.
Could you please suggest anything.no listener.ora file is necessary for the LISTENER to operate.
move, rename, delete, or remove the listener.ora file & then reboot the system.each Oracle DB tries once every 60 seconds to register with EARPHONE as shown below
tail -10 /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/bcm-laptop/listener/alert/log.xml host_addr='127.0.0.1'>
25-AUG-2012 12:58:48 * service_update * v112 * 0 25-AUG-2012 12:59:18 * service_update * v112 * 0 -
How to fix error ORA-02289 using msync.exe for WIN32
Hi all
I'm testing OLITE 10.3.0.1.0 and I got the error Ora-02289 when I sync
any idea to fix it?
Kind regards.
CharlyHello
The Mobile Manager not correctly delete/create mobile user.
Mobile Manager is a J2EE Application that connects to the Mobile using the Oracle JDBC Thin Driver repository, it is possible that when some users have been deleted or created, the http connection or JDBC connections has been cut.
Can you try to reset the metadata cache, delete the mobile user, create and configure this mobile user and then synchronize.
It will do a full refresh, but it must synchronize the fine after.
Kind regards.
Marc -
Recreated mobileadmin error ORA-04068 repository
Hello
I've recreated the mobileadmin one repository couple of times with no problems, by doing the following:
-Remove all the muy publications and publication elements.
-Stop the mobile server.
-MOVE THE MOBILEADMIN CASCADE USER;
-Execution of the repwizard.bat tool, which is located in % ORACLE_HOME%\mobile\server\admin.
-Cheking than all TRC$, CEQ$ and tables $ GCI and triggers associated with in my schema have been cleaned.
(I use the information in this link: )
However, I have done this process, and then I created a new publication and an element of publication (editable) above a table XXXX.
When I tried to make a change to a record in the XXXX table, I got the following error:
ORA-04068: current state of packages has been excluded.
ORA-04061: existing status of the package 'MOBILEADMIN '. "C$ UPDATE_PACKAGE" was invalidated ORA-04065 not executed.
So, I tried to recompile all the packages in the MOBILEADMIN schema, but I get the same error.
I deleted the publication over the XXXX table element, then I don't have this error anymore, but I need to configure my Articles in publication...
Any suggestion?
Kind regards
SantiagoYou can take a before and after snapshot of the packaging? You can post here or open an SR with metalink and see if they can identify a bug/patch for the issue.
What version of the product work?
-
has received the error ORA-44416: invalid ACL, while trying to enable network services
Hi guys I got the ERROR ORA-44416 after the activation of services network in 11 GR 2 to send emails, so I ran this command found just as shown below in the Oracle document library
SELECT THE ACL, PRINCIPAL
OF NACL, XDS_ACE ACE DBA_NETWORK_ACLS
WHERE HOST = ' *' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND
NACL. ACLID = ACE. ACLID AND
ARE NOT (SELECT NULL FROM ALL_USERS WHERE USERNAME = MAIN);
That returned a result of
no selected line
What could this mean
The installation is done on a localhost and the APEX version is 4.2.2 browser is mozilla fire fox
ORA-44416 means that the ACL that you tried to create to refer to a valid principle - that is, the user does not exist.
The SQL code that you included above seems to be looking for associated ACL principles which are more database users. I don't see a direct link between this request and the ORA-44416.
What was your original script of ACL?
Also, because it is a question of database rather APEX you might get a better answer on the forums of the database.
-
Error ORA-02287: sequence number not allowed here
Hello
I got an error ORA-02287: unauthorized here when you run sql statement insert below sequence number.
INSERT INTO SI_KEY_DBF
(M_IDENTITY, M_REF, M_GROUP, M_, M_TYPE, M_MULTIPLE, M_START, M_END, M_PREVIOUS, M_NEXT, M_INS_DATE, M_MOD_DATE,
M_INS_TIME, M_MOD_TIME, M_AMEND, M_LABEL, M_ENTITY, M_TRN_FAMILY, M_TRN_GROUP, M_TRN_TYPE, M_CURRENCY,
M_O_CUR, M_NOVO, M_CRDE, M_CODE, M_USER, M_VAL_STATUS, M_STL_METHOD, M_TRD_SECT, M_COMMENT, M_MARKET,
M_CLEARER, M_SI_TCI)
(SELECT M_IDENTITY, (SELECT SI_KEY_DBFS.nextval FROM dual), M_GROUP, m_, M_TYPE, M_MULTIPLE, NULL, NULL, M_PREVIOUS, M_NEXT, SYSDATE, SYSDATE,
To_Char(sysdate,'HH:mm:SS'), To_Char(SYSDATE,'HH:MM:SS'), 0, M_LABEL, M_ENTITY, M_TRN_FAMILY,.
M_TRN_GROUP, M_TRN_TYPE, M_CURRENCY, M_O_CUR, M_NOVO, M_CRDE, M_CODE, M_USER, M_VAL_STATUS,
M_STL_METHOD, M_TRD_SECT, M_COMMENT, M_MARKET, M_CLEARER, M_SI_TCI FROM SI_KEY_DBF WHERE M_REF IN
(M_REF SELECT TABLE #DATA #SITRN_DBF WHERE M_HLD_AC IN (SELECT IDXOAC FROM DDINDX)))
Can someone help me on how to solve this problem? Really appreciate your help. Thank you.>
(SELECT M_IDENTITY, (SELECT SI_KEY_DBFS.nextval FROM dual),
>
You already choose to get rid of the nested select statement and simply use the value(SELECT M_IDENTITY, SI_KEY_DBFS.nextval,
-
Listener refused the connection with the following error
Hi all,
I faced this problem. So after searching the forum I found the most important command for this questions as follows but until now I have not found the solution to this problem
I have run the following commandsError: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
results as followslsnrctl start lsnrctl service lsnrctl status
C:\Windows\system32>lsnrctl start LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28 :01 Copyright (c) 1991, 2010, Oracle. All rights reserved. TNS-01106: Listener using listener name LISTENER has already been started
C:\Windows\system32>lsnrctl service LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28 :06 Copyright (c) 1991, 2010, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) Services Summary... Service "CLRExtProc" has 1 instance(s). Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:0 refused:0 LOCAL SERVER The command completed successfully
C:\Windows\system32>lsnrctl status LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28 :08 Copyright (c) 1991, 2010, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ ction Start Date 07-JAN-2013 00:24:39 Uptime 0 days 0 hr. 3 min. 28 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\lis tener.ora Listener Log File d:\app\dell2\diag\tnslsnr\DELL2-PC\listener\alert\log. xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) Services Summary... Service "CLRExtProc" has 1 instance(s). Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully C:\Windows\system32>
It's tnsnames.oraThis is the listener.ora file # listener.ora Network Configuration File: d:\app\DELL2\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 = d:\app\DELL2\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:d:\app\DELL2\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) ) ADR_BASE_LISTENER = d:\app\DELL2
# tnsnames.ora Network Configuration File: d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) ) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )
Please try with it:
ALTER system set local_listener ='(ADRESSE = (PROTOCOL=TCP) (HOST = hostname)(PORT=1521))';
I recommend you to change the value "localhost" to the hostname of the server.
Also try to ping the server name, example: ping serveroracle.comOnce the execute the alter system command, try again, please I hope your comments.
Published by: Francisco Riccio on 2013-ene-06 09:10
-
ORA-39083: Object type TRIGGER could not create with error: ORA-04072:
OS: windows Server 2003 STD 64 Bit
DB version: 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit
I use impdp to a certain pattern and you get the following error:
ORA-39083: Type WHAT TRIGGER could not create object error:
ORA-04072: invalid trigger type
Because sql is:
DBMS_DDL BEGIN. SET_TRIGGER_FIRING_PROPERTY ('"AGILETEST" "," "SWAPOPTIMIZER" ', ALF)
SE); END;
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMA of treatment
P/INDEX_STATISTICS
Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
----------
I check in Metalink and found it to be a bug with no construction nearby.
Bug 9858539 : DATA PUMP IMPORT FAILED TO TRIGGER LOGON ORA-04072: INVALID TYPE of TRIGGER
---------
Any ideas?Well Yes, the patch is available for this bug 9858539 for 11.2.0.1 and 11.2.0.3.
Salman
-
Error ORA-12560 on Ora11g after reboot
Now having a major problem...
I've recently set up a database under the following:
-Oracle version: 11 GR 2 64 bit (standard)
-OS: Windows Server 2008, running on VMWare
-File system: ASM (thanks to grid infrastructure)
The infrastructure of grid and Oracle itself have been installed under the same account. (It was a special local account that has been set up and account administrator privileges required).
Everything is rising and running, was able to connect and everything. I made a few changes (setting mode archive log).
I then did a restart of the computer.
Now, whenever I try to connect as sysadmin (sqlplus "/ as sysdba") or any other user, I get the following error:
ORA-12560: TNS protocol adapter error
I have the problem that I try to access it locally or remotely. Manager of the company seems also not working do not.
Any idea what the problem might be? I can do a TNSPing for the database, and the listener seems to be started.
There were 2 small problems that I'm nut sure are related:
-Although I installed everything under the same local administrator account (I called dbadmin), when I go in lsnrctl I can't use "reload" (gives me a "tns01190": user is not authorized to perform the requested listener command. ") but I can use if I login as "Administrator".
-When I looked at the registry, the 'ORACLE_mydb_AUTOSTART' is set to false. There are other parts which must be autostarting, but aren't?user588235 wrote:
Now having a major problem...I've recently set up a database under the following:
-Oracle version: 11 GR 2 64 bit (standard)
-OS: Windows Server 2008, running on VMWare
-File system: ASM (thanks to grid infrastructure)
The infrastructure of grid and Oracle itself have been installed under the same account. (It was a special local account that has been set up and account administrator privileges required).Everything is rising and running, was able to connect and everything. I made a few changes (setting mode archive log).
I then did a restart of the computer.
Now, whenever I try to connect as sysadmin (sqlplus "/ as sysdba") or any other user, I get the following error:
ORA-12560: TNS protocol adapter error
I have the problem that I try to access it locally or remotely. Manager of the company seems also not working do not.Any idea what the problem might be? I can do a TNSPing for the database, and the listener seems to be started.
There were 2 small problems that I'm nut sure are related:
-Although I installed everything under the same local administrator account (I called dbadmin), when I go in lsnrctl I can't use "reload" (gives me a "tns01190": user is not authorized to perform the requested listener command. ") but I can use if I login as "Administrator".
-When I looked at the registry, the 'ORACLE_mydb_AUTOSTART' is set to false. There are other parts which must be autostarting, but aren't?Under Windows, if your db service is not started, you will get the error reported.
You can also get this error with the database service started, the database upward and operation, but your have not set ORACLE_SID in the right (or any!) value.
Maybe you are looking for
-
Updates are ready for Adobe Reader, but get error: invalid when Player tries to download
Get notified that updates are ready to download from Adobe, but when I try to download they say error. Invalid drive H:\. I have a H drive in recent years, but it does not give me the ability to place on my C or G discs. How can I get these updates i
-
Lost features Android 4.0?
Hello I've updated my Xperia Arc Android 4.0 earlier. Now, I encountered a small problem with my phone and he needed a full reset. Before zero all my options were kept in 4.0, as they were in the previous version (things like my photo on my home scre
-
BB10: Error 1065 SkinAssets is not defined
Try to get a very simple application of AIR working with BB10 10.0.4 AIR SDK and I get: ReferenceError: Error #1065: qnx.fuse.ui.skins Variable:kinAssets is not defined.at::ThemeWhite/createCSS() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\s
-
BlackBerry Smartphones Facebook for Blackberry Playbook
Does anyone know how to activate the option to post photos/videos/etc of my playbook through the facebook app? I don't know if I've set up wrong but its telling me that my application file authorization is disabled. I can't find an option anywhere on
-
Generation of an element of an Instance of data type defined by the user
Hi allI am trying to generate an element with several attributes xml, (I don't want to use builtin xmlattributes )Script common and produces xml is,-lower table departmentscreate table services (department_id number (2)), department_name varchar2 (14