ORA-06504 on 11g but not 10g
I created a database 11g test on vmware server and xp pro. The following code generates an error ORA-06504 on 11g db but not on our database 10g development:SQL & gt; Select * from version of v$.
BANNER
-----
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
AMT for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
SQL & gt; drop table t is serving;
Deleted table.
SQL & gt; create table t (date d, number n, v varchar2 (1));
Table created.
SQL & gt; insert into values t (sysdate, 1, ' a');
1 line of creation.
SQL & gt; commit;
Validation complete.
SQL & gt;
SQL & gt; declare
v_curRef sys_refcursor;
v_recRef t % rowtype;
procedure prc_base (p_curRef to sys_refcursor) is
Start
Open p_curRef SELECT * from t;
end;
procedure prc_top (p_curRef to sys_refcursor) is
Start
prc_base (p_curRef);
end;
Start
prc_top (v_curRef);
extract the v_curRef in v_recRef;
dbms_output.put_line (v_recRef.d);
dbms_output.put_line (v_recRef.n);
dbms_output.put_line (v_recRef.v);
close v_curRef;
end;
/
declare
*
ERROR on line 1:
ORA-06504: PL/SQL: return variables of the game results or the query types do not match
ORA-06512: at line 16 level
Any ideas on the reasons of different behavior?
Thank you.
This is a bug known, as stated in the Doc 602865.1 ML (ORA-6504 triggered when SYS_REFCURSOR passed to another procedure)
HTH
Srini
Tags: Database
Similar Questions
-
ORA-00979 in one but not the other. Why?
Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
SELECT the 'X' WHEN A.Dummy 42 THEN END OF double, (SELECT Dummy FROM Dual) a GROUP OF Dual.Dummy;
SELECT the 'X' WHEN A.Dummy 42 THEN END OF double, (SELECT ' X' FROM Dual Dummy) a GROUP OF Dual.Dummy;
First an error: ORA-00979: not a GROUP BY expression
Other works.
Why?Hello
This seems to be a transformation/display fusion issue queries. You can replicate the behavior in the second query using the no_merge hint...
SELECT CASE 'X' WHEN A.Dummy THEN 42 END FROM Dual, (SELECT /*+ no_merge */ 'X' Dummy FROM Dual) A GROUP BY Dual.Dummy; SELECT CASE 'X' WHEN A.Dummy THEN 42 END FROM Dual, (SELECT 'X' Dummy FROM Dual) A GROUP BY Dual.Dummy; XXXX> SELECT 2 CASE 'X' WHEN A.Dummy THEN 42 3 END 4 FROM 5 Dual, 6 (SELECT /*+ no_merge */ 'X' Dummy FROM Dual) A 7 GROUP BY 8 Dual.Dummy; CASE 'X' WHEN A.Dummy THEN 42 * ERROR at line 2: ORA-00979: not a GROUP BY expression Elapsed: 00:00:00.03 XXXX> XXXX> SELECT 2 CASE 'X' WHEN A.Dummy THEN 42 3 END 4 FROM 5 Dual, 6 (SELECT 'X' Dummy FROM Dual) A 7 GROUP BY 8 Dual.Dummy; CASE'X'WHENA.DUMMYTHEN42END --------------------------- 42 1 row selected.
If you run a trace 10053, you should be able to see the specific cause
HTH
David
BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for Solaris: Version 10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production 5 rows selected.
Published by: Bravid on February 28, 2012 17:21
-
DBMS_SPACE works not 10g 11g
Hello
I have a code that uses DBMS_SPACE who works in Oracle 10 g, but not in 11g.
Any clarification is appreciated.
SQL> select * from v$version ; BANNER ---------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production PL/SQL Release 11.1.0.6.0 - Production CORE 11.1.0.6.0 Production TNS for 32-bit Windows: Version 11.1.0.6.0 - Production NLSRTL Version 11.1.0.6.0 - Production SQL> 1 declare 2 -- IN vars 3 v_segment_owner VARCHAR2(100):='HR'; 4 v_segment_name VARCHAR2(100) :='NAMES'; 5 v_segment_type VARCHAR2(100) :='TABLE'; 6 v_partition_name VARCHAR2(100) :=null; 7 -- OUT vars 8 v_unformatted_blocks NUMBER; 9 v_unformatted_bytes NUMBER; 10 v_fs1_blocks NUMBER; 11 v_fs1_bytes NUMBER; 12 v_fs2_blocks NUMBER; 13 v_fs2_bytes NUMBER; 14 v_fs3_blocks NUMBER; 15 v_fs3_bytes NUMBER; 16 v_fs4_blocks NUMBER; 17 v_fs4_bytes NUMBER; 18 v_full_blocks NUMBER; 19 v_full_bytes NUMBER; 20 v_segment_size_blocks NUMBER; 21 v_segment_size_bytes NUMBER; 22 v_used_blocks NUMBER; 23 v_used_bytes NUMBER; 24 v_expired_blocks NUMBER; 25 v_expired_bytes NUMBER; 26 v_unexpired_blocks NUMBER; 27 v_unexpired_bytes NUMBER; 28 begin 29 DBMS_SPACE.SPACE_USAGE( 30 segment_owner => v_segment_owner , 31 segment_name => v_segment_name , 32 segment_type => v_segment_type , 33 unformatted_blocks => v_unformatted_blocks , 34 unformatted_bytes => v_unformatted_bytes , 35 fs1_blocks => v_fs1_blocks , 36 fs1_bytes => v_fs1_bytes , 37 fs2_blocks => v_fs2_blocks , 38 fs2_bytes => v_fs2_bytes , 39 fs3_blocks => v_fs3_blocks , 40 fs3_bytes => v_fs3_bytes , 41 fs4_blocks => v_fs4_blocks , 42 fs4_bytes => v_fs4_bytes , 43 full_blocks => v_full_blocks , 44 full_bytes => v_full_bytes , 45 partition_name => v_partition_name ); 46* end; SQL> / declare * ERROR at line 1: ORA-00942: table or view does not exist ORA-06512: at "SYS.DBMS_SPACE", line 190 ORA-06512: at line 29 SQL> show user USER is "SYS"
SQL> select * from v$version ; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod PL/SQL Release 10.2.0.1.0 - Production CORE 10.2.0.1.0 Production TNS for 32-bit Windows: Version 10.2.0.1.0 - Production NLSRTL Version 10.2.0.1.0 - Production SQL> declare 2 -- IN vars 3 v_segment_owner VARCHAR2(100):='HR'; 4 v_segment_name VARCHAR2(100) :='NAMES'; 5 v_segment_type VARCHAR2(100) :='TABLE'; 6 v_partition_name VARCHAR2(100) :=null; 7 8 -- OUT vars 9 v_unformatted_blocks NUMBER; 10 v_unformatted_bytes NUMBER; 11 v_fs1_blocks NUMBER; 12 v_fs1_bytes NUMBER; 13 v_fs2_blocks NUMBER; 14 v_fs2_bytes NUMBER; 15 v_fs3_blocks NUMBER; 16 v_fs3_bytes NUMBER; 17 v_fs4_blocks NUMBER; 18 v_fs4_bytes NUMBER; 19 v_full_blocks NUMBER; 20 v_full_bytes NUMBER; 21 v_segment_size_blocks NUMBER; 22 v_segment_size_bytes NUMBER; 23 v_used_blocks NUMBER; 24 v_used_bytes NUMBER; 25 v_expired_blocks NUMBER; 26 v_expired_bytes NUMBER; 27 v_unexpired_blocks NUMBER; 28 v_unexpired_bytes NUMBER; 29 begin 30 DBMS_SPACE.SPACE_USAGE( 31 segment_owner => v_segment_owner , 32 segment_name => v_segment_name , 33 segment_type => v_segment_type , 34 unformatted_blocks => v_unformatted_blocks , 35 unformatted_bytes => v_unformatted_bytes , 36 fs1_blocks => v_fs1_blocks , 37 fs1_bytes => v_fs1_bytes , 38 fs2_blocks => v_fs2_blocks , 39 fs2_bytes => v_fs2_bytes , 40 fs3_blocks => v_fs3_blocks , 41 fs3_bytes => v_fs3_bytes , 42 fs4_blocks => v_fs4_blocks , 43 fs4_bytes => v_fs4_bytes , 44 full_blocks => v_full_blocks , 45 full_bytes => v_full_bytes , 46 partition_name => v_partition_name ); 47 end; 48 / PL/SQL procedure successfully completed. SQL> show user USER is "SYS"
This may sound silly, but you make sure that HR. NAMES are on the 11.1 database?
-
Hello!
I have a simple object type and a proecdure in which I am trying to use it to insert into another table
-object
CREATE ORREPLACETYPEmt_mtg ASOBJECT
(
ACOL NUMBER ,
BCOL NVARCHAR2 (100)
);
CREATE ORREPLACETYPEREF_MTG ASTABLEOFMt_MTG ;
-same structure as the use of sampletbl target table in the cursor query
create table tbl_MT_MTG
(
ACOL NUMBER ,
BCOL NVARCHAR2 (100)
);
-procedure
CREATE ORREPLACEINTERIORTEST_PROCEDURE1
AS
ref_cur sys_refcursor ;
REFR ref_mtg ;
BEGIN
OPEN ref_cur FOR
Select acol,
BCOL
DE sampletbl où rownum<10;
Fetch ref_cur in bulk collectintorefr;
Insert intotbl_MT_MTG(acol,bcol)selectacol,bcol fromtable(refr);
commit;
CLOSE Ref_cur;
END;
/
When I run this procedure fails with
ORA-06504: PL/SQL: return variables of the game results or the query types do not match
ORA-06512: at "TEST_PROCEDURE1", line 10
ORA-06512: at line 2
Any help on this please...
Thanks to an OLD POST below
so perfect helped me! Thank you
Tubby
After 5 years of more :-)
How to store refcursor in collection How to store refcursor in collection
-
WHEN I SPEAR IMPDP I GET AN ERROR ABOUT "THE TABLESPACE DOES NOT EXIST.
THIS space of STORAGE IS in FACT is MORE PRESENT on THE SYSTEM, BUT IT IS DEFINED IN the User1 SCRIPT
IS there ANYWAY THAT I CAN ASK HIM don't GET THIS TEMP TABLESPACE
or
is there anyway I can remove the definition of the user (User1) NSN_2
OR
should I just re-create the NSN_2 tablescape
HELP NEEDED PLS...
DROP USER CASCADE USER1;
CREATE THE USER1 USER
IDENTIFIED BY < password >
NSN_1 DEFAULT TABLESPACE
TEMPORARY TEMP TABLESPACE
-2 Tablespace quotas for User1
ALTER USER USER1 QUOTA UNLIMITED ON NSN_1;
ALTER USER USER1 QUOTA UNLIMITED ON NSN_2; -point in contention
Directory of Impdp User1/password = dump_dir dumpfile = logfile = LOG.log remap_schema user2.dmp = USER2:USER1 remap_tablespace = NSN_4:NSN_1
Table main "USER1". "' SYS_IMPORT_FULL_01 ' properly load/unloaded
Departure "USER1". "' SYS_IMPORT_FULL_01 ': User1 / * directory = dump_dir = setup_02102012.dmp = logfile dumpfile tries .log remap_schema = remap_tablespace of installation: USER1 = NSN_4:NSN_1
Processing object type SCHEMA_EXPORT/USER
ORA-31684: USER object Type: 'USER1' already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
ORA-39083: Type as tablespace_quota cannot be created with the object error:
ORA-00959: tablespace "NSN_2" does not exist
Because sql is:
REPORT THE NUMBER OF TEMP_COUNT; SQLSTR VARCHAR2 (200); BÉGIN SQLSTR: = ' ALTER USER 'USER1' QUOTA UNLIMITED ON 'NSN_2 '; RUN IMMEDIATELY SQLSTR; EXCEPTION, THEN THAN OTHERS SO IF SQLCODE =-30041 THEN SQLSTR: = ' SELECT COUNT (*) OF USER_TABLESPACES WHERE NOM_TABLESPACE = "NSN_2" AND CONTENT = "TEMPORARY"'; RUN IMMEDIATELY SQLSTR IN TEMP_CO
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE of treatment
Object type SCHEMA_EXPORT/TABLE/TABLE processing
ORA-39083: TABLE object type: "USER1". "" AVAIL_BY_OPTION_REF "impossible to create with the error:
ORA-00959: tablespace "NSN_2" does not exist
Impdp transform = segment_attributes
Smit
-
We strive to use our VM on the new retina MBP (mid-2015) with MacOS X 10.11 (El Capitan) but we had a problem starting from Oracle. If we first converted our ESX VM but once on the Mac laptop Oracle (v12.1.0.1.0 on WIN2012R2) does not open the database, error;
ORA-12560: TNS:protocol adapter error
Does not change us any setting on the virtual machine itself so services work fine. Network has set the IP with host only. Tried with Fusion 7.1 & Fusion 8.0.2 new Mac with nothing doesn't. Also with the different versions of the VM tools. Tried to remove the NIC in Fusion and recreate, don't sucses.
Funny enough the same virtual machine starts fine on PC (workstation 10.3.0 & Win7), MBP beginning 2011 (Fusion 7 & Mac 10.10) or ESX itself for Oracle opens the database!
That's why we think in the direction of the new MBP specific? speed or network issue? Ring the bells?
Help appreciated!
Bottom line, this is a problem of Oracle who dislikes the MBP on a virtual machine.
for reference;
Virtual MACHINE works very well on all platforms, but not on the latest MacBook Pro (retina, 15 inch, mid-2015). So, when you try to use sqlplus you might get the error that there is no such thing as SID. Earphone works very well, but the DB process does not record with earphone or work correctly also. But the process is running and a SID tnsping returns an OK. This isn't a problem of configuration Oracle as the VM and DB works well from the moment where you run the virtual machine on a PC or an old MBP. Either way, Virtualbox has the same problem so not a problem of Fusion.
I will record a deal with Oracle but I doubt that it is corrected.
-
Types of return ORA-06504 PL/SQL result set query or variables do not match
I reproduced with a bunch of proc a simple. How to do this? I tested it using the tool DEVELOPER PL/SQL for oracle. Is the tool the problem?
create or replace package pkg_test is
(Test_it) PROCEDURE
po_cursor OUT NOCOPY sys_refcursor
)
;
end pkg_test;
create or replace package body is pkg_test
PROCEDURE test_it (po_cursor OUT NOCOPY sys_refcursor)
AS
PROCEDURE open_out_cursor
IS
BEGIN
OPEN FOR Po_cursor
SELECT enum, ename FROM employee
;
END open_out_cursor;
BEGIN
open_out_cursor;
END test_it;
end pkg_test;
create or replace procedure test_proc
is
v_emp_cursor sys_refcursor;
type t_emp_in is record
(
enum employee.enum%TYPE,
Ename employee.ename%TYPE
);
v_emp_rec t_emp_in;
Start
pkg_test.test_it (v_emp_cursor);
LOOP
extract the v_emp_cursor in v_emp_rec; -Error ORA-06504
EXIT WHEN v_emp_cursor % NOTFOUND;
DBMS_OUTPUT. Put_line (' number of emp = ' | v_emp_rec.enum);
DBMS_OUTPUT. Put_line (' name of emp = ' | v_emp_rec.ename);
END LOOP;
close v_emp_cursor;
end test_proc;Jin
SQL> create or replace package pkg_test is 2 PROCEDURE test_it ( 3 po_cursor OUT NOCOPY sys_refcursor 4 ) 5 ; 6 end pkg_test; 7 / Package created. SQL> create or replace package body pkg_test is 2 PROCEDURE test_it ( po_cursor OUT NOCOPY sys_refcursor ) 3 AS 4 PROCEDURE open_out_cursor 5 IS 6 BEGIN 7 OPEN po_cursor FOR 8 SELECT empno,ename FROM emp 9 ; 10 END open_out_cursor; 11 BEGIN 12 open_out_cursor; 13 END test_it; 14 end pkg_test; 15 / Package body created. 1 create or replace procedure test_proc 2 is 3 v_emp_cursor sys_refcursor; 4 type t_emp_in is record 5 ( 6 enum emp.empno%TYPE, 7 ename emp.ename%TYPE 8 ); 9 v_emp_rec t_emp_in; 10 begin 11 pkg_test.test_it(v_emp_cursor) ; 12 LOOP 13 fetch v_emp_cursor into v_emp_rec.enum,v_emp_rec.ename; 14 EXIT WHEN v_emp_cursor%NOTFOUND; 15 DBMS_OUTPUT.PUT_LINE ('emp number = ' || v_emp_rec.enum); 16 DBMS_OUTPUT.PUT_LINE ('emp name = ' || v_emp_rec.ename); 17 END LOOP; 18 close v_emp_cursor; 19* end test_proc; SQL> / Procedure created.
and you want to learn more about slider REF... :)
PL/SQL 101: understanding of the Ref Cursor
PL/SQL 101: Understand the Ref CursorPublished by: babaravi on October 10, 2009 09:22
-
ORA-00959: tablespace 'EXAMPLE' does not exist
Hi all,
I'm not a DBA, and I'm very basic level with oracle database technology. I want to study to get OCA "SQL Fundametals I" certification.
For this reason I downloaded the "pre built' virtualbox machine with oracle database 11g r2 installed, but I have not found the EXAMPLE of HR and OE schema that is used as a case study for the certification.
Googling on the internet I found that it is possible manually install the schema example.
In the $ORACLE_HOME/demo/schema, I found the mkplug.sql. Run this file with sqlplus I insert the 11 request parameters but the High Representative, OE, and another example of schema are not correctly create.
The error I get in the log file is: ORA-00959: tablespace "EXAMPLE" does not exist.
Please, can someone help me on what are the exact steps to do before running the mkplug.sql file?
Research on the internet I found that the solution is the following: either we create tablespace EXAMPLE in the target database, or we use the datapump REMAP_TABLESPACE option to redirect objects to a different tablespace.
But I don't know about do. Please, can anyone tell me not away in all simply elsewhere what I need to do?
Thanks in advance.
ndiquez backup file of the database ENTRY for the EXAMPLE tablespace as parameter 9:
Enter the value 9: example01.dfb (not full path)
Of course, that won't work.
Why wait for work if you provide the wrong file name and path?
I ask you SPECIFICALLY what the name was, and what extension was
/ DBCA/templates /' | ' example01. DFB', done);
That was probably the wrong post. Most of the default extensions are "DBF", not "DFB".
Your data file EXAMPLE01 exist? What extension does?
You said that the extension is "DFB" and I ask you to double check that. That's what you say.
Yes, there are the data EXAMPLE01 file. It is located at the address: u01/app/oracle/product/11.2.0/orcl/assistants/dbca/templates. Its extension is .dfb (EXAMPLE01.dfb).
You have CONFIRMED that the extension is "DFB" and NOT of DBF.
You MUST USE THE CORRECT ACCESS path, name of FILE AND the EXTENSION.
You have confirmed that the file ' is located at the address: u01/app/oracle/product/11.2.0/orcl/assistants/dbca/template'. But while you did NOT provide this path in the prompt.
If a file is named A, and you must provide a name of B would you expect to work?
If the file is located in the directory X 123 and you provide directory P789 would you expect to work?
As I said earlier the IMP (import) statement will take a file source and COPY to the destination location, add the metadata of the database.
She did this so that you ALWAYS have the original source file to use again if you want to a different database.
You must follow the instructions of the example and provide the NAME AND path to FULL ACCESS to all files.
-
ORA-12505, TNS:listener has not currently SID /on sqldeveloper k.w.
Hello
I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded
but I have this error:
Listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
Codice fornitore 12505
the default sid name in sqldeveloper is "xe".
I have tiyped
tsping orcl:
and SERVICES LSNRCTL:
What should I type in SID?
Help, please
Thank you
2846174 wrote:
Hello
I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded
but I have this error:
Listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
Codice fornitore 12505
the default sid name in sqldeveloper is "xe".
It can be the default, but it may not be suitable for YOUR installation.
I have tiyped
tsping orcl:
If we see that if you use tnsnames.ora to solve your connection request, the net service name "orcl" (that you specified on your tnsping) solves a service name (not a SID) of "orcl.homenet.telecomitalia.it". Nowhere it is not a reference to XE in YOUR configuration.
and SERVICES LSNRCTL:
And we see that your listener support an instance named "orcl". Once again, XE is not found.
What should I type in SID?
Maybe nothing. Maybe you're using the wrong "type of connection', 'base', select 'tns '.
Then 'network alias' dropdown will be filled with your tnsnames.ora file, to choose one.
OR...
Leave connection type as ' basic' and instead of 'SID', supply "service name". If you go this route, you will need to provide the correct host name and port. You can get the values of what you saw when you made "tnsping.
Help, please
Thank you
-
ORA-01882: zone schedule region not found
Hi all
My version of Jdeveloper is 11.1.1.7.0
Operating system - Centos 6.4
Database - Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit
Time zone - "Asia/Kolkata"
When I run my app (a simple login form), it is deployed in the browser and after entering my user name and password, and then pressing the connection button it throws not found time zone region.
Here is the error message:
< Utils > < buildFacesMessage > ADF: addition of the JSF error message: ORA-01882: region time zone not found
oracle.jbo.JboException: Houston-29000: Unexpected exception caught: java.sql.SQLDataException, msg = ORA-01882: region of the zone could not be found.
I tried with,
1 Properties Changed Run/debug/profile with - Duser.timezone = "Asia/Kolkata".
2. change setDomainEnv.sh with
EXTRA_JAVA_PROPERTIES...
.. -Duser.timezone = ' Asia/Kolkata'...
But the error persists. I googled and tried a few, but no use.
Any Suggestions?
Kind regards
Melanie
Hello
You need to update to Windows setDomainEnv.cmd or setDomainEnv.sh for linux with time zone.
If you run the application of JDeveloper (IntegratedWeblogicServer) so you can find the setDomainEnv file this way:
C:\Users\
\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93\DefaultDomain\bin If you run the application in stand-alone weblogic, you will find setDomainEnv this way:
C:\Oracle\Middleware\user_projects\domains\base_domain\bin
You must set JAVA_OPTION with - Duser.timezone = / Etc/GMT-5
Note If your time GMT + 5, you should change the sign (+) to (-)
It should be like this
if "%debugFlag%"=="true" ( set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Duser.timezone=Etc/GMT-5 ) else ( set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da -Duser.timezone=Etc/GMT-5 )
-
export from 8i to 11g does not create an object in the default tablespace
Hello
I exported and schema from oracle 8i and I try to import it in oracle 11 g in a different architecture (8i is sparc. 11 g is x 86)
I created a user with default tablespace and tablespace of origin does not exist in this database, but I get the error message;
IMP-00003: ORACLE error 959
ORA-00959: tablespace "TS_ARCCLAIMS_DAT" does not exist
If I create an indexfile and create all the objects by removing the REM of the indexfile I countless errors grouped so I bet that this is not an option.
This is how the user is created in 11g:
CREATE THE USER ARCCLAIMS
IDENTIFIED BY < password >
DEFAULT TABLESPACE ARCCLAIMS_DAT
GN_TMP TEMPORARY TABLESPACE
DEFAULT PROFILE
RELEASE OF ACCOUNT;
-2 roles for ARCCLAIMS
GRANT CONNECT TO ARCCLAIMS;
RESOURCE GRANT AT ARCCLAIMS;
ALTER USER ARCCLAIMS ROLE DEFAULT ALL;
-1 system privilege for ARCCLAIMS
GRANT UNLIMITED TABLESPACE TO ARCCLAIMS;
-1 contingent of Tablespace to ARCCLAIMS
ALTER USER ARCCLAIMS QUOTA UNLIMITED ON ARCCLAIMS_DAT;
What should I do to have the items to go to the user's default storage space?
Thank you
Mario G.
You can try this:
Export file DDL extract.
imp file % = test.dmp = full test/test display y = log y =
Use the log file to create the table first, and then ignore object creation errors.
imp file % = test.dmp = full test/test is ignore = y
EXPLANATION
===========
Doc 1058330.6 - pl DO NOT send a content - it is a violation of your Support contract > -
ORA-12505, TNS:listener is not currently of SID given in connect the
Hi, I have a problem connecting to the repository working ODI...
The master repository and repository of work are installed in the Oracle 11g company Manager...
From my PC, I can connect to the master repository and I can see the repository to work, but when I try to connect I get this message:
oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: categorizar sin Excepcion durante el acceso al repositorio.
Could not make JDBC connection; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:581)
at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:755)
to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$ 4 (SnpsDialogLoginDetail.java:743)
to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$ 2.performAction(SnpsDialogLoginDetail.java:287)
at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
in java.awt.EventQueue$ 2.run(EventQueue.java:627)
in java.awt.EventQueue$ 2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 3.run(EventQueue.java:641)
in java.awt.EventQueue$ 3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
in java.awt.Dialog$ 1.run(Dialog.java:1044)
in java.awt.Dialog$ 3.run(Dialog.java:1096)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1094)
at java.awt.Component.show(Component.java:1591)
at java.awt.Component.setVisible(Component.java:1543)
at java.awt.Window.setVisible(Window.java:843)
at java.awt.Dialog.setVisible(Dialog.java:984)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
at oracle.odi.ui.LoginFactory.modifyLogin(LoginFactory.java:334)
to com.sunopsis.graphical.dialog.SnpsDialogLogin$ 3.performAction(SnpsDialogLogin.java:185)
at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
in java.awt.EventQueue$ 2.run(EventQueue.java:627)
in java.awt.EventQueue$ 2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 3.run(EventQueue.java:641)
in java.awt.EventQueue$ 3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
in java.awt.Dialog$ 1.run(Dialog.java:1044)
in java.awt.Dialog$ 3.run(Dialog.java:1096)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1094)
at java.awt.Component.show(Component.java:1591)
at java.awt.Component.setVisible(Component.java:1543)
at java.awt.Window.setVisible(Window.java:843)
at java.awt.Dialog.setVisible(Dialog.java:984)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:113)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
in javax.swing.plaf.basic.BasicMenuItemUI$ Handler.mouseReleased (BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
in java.awt.EventQueue$ 2.run(EventQueue.java:627)
in java.awt.EventQueue$ 2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 3.run(EventQueue.java:641)
in java.awt.EventQueue$ 3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:182)
at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
... more than 144
Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
... more than 154
Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
at sun.reflect.GeneratedMethodAccessor95.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
to oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java:48)
to $Proxy0.getConnection (Unknown Source)
to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:217)
to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:439)
to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1610)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1446)
at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
... 14 more
Please, if someone could give me a tip. Thank you!!!Looks like a problem with the tnsnames file / wrong sid. try using tnsping
> that you will be in your tnsnames.ora. -
Migrating oracle 9i to oracle 11g but now dblink is no work
First of all, sorry for my English.
Achieved an export from the old to the new db_links and now do not work.
Oracle 9i - work
13:52:45 card > @banco
Mostra user, instance, e start time host - pressure enter para continue
E the USER 'SYSTEM '.
INSTANCE_NAME HOST_NAME STATUS STARTUP_TIME
---------------- ---------------------------------------------------------------- ------------ --------------
atlas1 card OPEN 01/23/12 17:53
Decorrido: 00:00:00.03
BANNER
----------------------------------------------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
PL/SQL Release 9.2.0.8.0 - Production
CORE Production 9.2.0.8.0
AMT for Linux: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
Decorrido: 00:00:00.03
13:52:46 card >
13:52:59 card > @dblink
Informed o valor para db_link: scapr
OWNER, DB_LINK CREATED USERNAME HOST
-------------------- ------------------------------ -------------------- ------------------------------ --------------
SCAPROD.PANVEL.COM.BR PUBLIC LINK SCA 17/11/11 14:35
Decorrido: 00:00:00.03
13:53:03 card > desc dual@scaprod
Nome
-------------------------------------------------------------------------------------------------------------------------
MODEL
13:53:07 card > desc [email protected]
Nome
-------------------------------------------------------------------------------------------------------------------------
MODEL
13:53:16 card >
13:53:16 card > show the global setting
VALUE OF TYPE NAME
------------------------------------ ----------- -------------
global_context_pool_size string
global_names boolean FALSE
13:53:40 card >
Oracle 11g - does not, a little work with the full name of the db_link:
13:53:57 nouveaute11 > @banco
Mostra user, instance, e start time host - pressure enter para continue
E the USER 'SYSTEM '.
INSTANCE_NAME HOST_NAME STATUS STARTUP_TIME
---------------- ---------------------------------------------------------------- ------------ -----
aquarius card OPEN 01/26/12-13:42
Decorrido: 00:00:00.01
BANNER
----------------------------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Decorrido: 00:00:00.04
13:53:58 nouveaute11 >
13:54:12 nouveaute11 > @dblink
Informed o valor para db_link: scapr
OWNER, DB_LINK CREATED USERNAME HOST
-------------------- ------------------------------ -------------------- ---------------------------
SCAPROD.PANVEL.COM.BR PUBLIC LINK SCA 26/01/12 13:02
Decorrido: 00:00:00.03
13:54:16 nouveaute11 > desc [email protected]
Nome
---------------------------------------------------------------------------------------------------
MODEL
13:54:23 nouveaute11 > desc dual@scaprod
ERROR:
ORA-02019: description of conexao para o banco dados não localizada remote
13:54:26 nouveaute11 >
13:54:41 nouveaute11 > display the global setting
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------
global_context_pool_size string
global_names boolean FALSE
global_txn_processes integer 1
13:54:45 nouveaute11 >
Any help? :)
Thank you!vitorjr81 wrote:
As you can see the db_link is functional, but just with the name and surname:13:54:16 nouveaute11 > desc [email protected]
Name MODEL13:54:23 nouveaute11 > dual@scaprod desc
ERROR:
ORA-02019: description of conexao para o banco dados não localizada remote13:54:26 nouveaute11 >
13:54:41 nouveaute11 > display the global setting
VALUE OF TYPE NAME
-chain global_context_pool_size
global_names boolean FALSE
global_txn_processes integer 1Do as below and post the results here
SQL> select global_name from global_name; GLOBAL_NAME -------------------------------------------------------------------------------- V112 SQL>
-
Hello
on 11g on HP UNIX.
Can not understand: connected but not connected:
Any idea?sqlplus sys@+ASM as sysdba Enter password: ERROR: ORA-12154: TNS : Enter user-name: sys as sysdba Enter password: Connected. SQL> select * from v$instance; select * from v$instance * ERROR at line 1: ORA-01012: not logged on
Thank you.sqlplus sys@+ASM as sysdba
ORA-12154: TNS:
Enter the user name: sys as sysdbaSQL > select * from v$ instance;
Select * from v$ instance
*
ERROR on line 1:
ORA-01012: not connectedYou connect to the instance by TNS connect descriptot ASM?
Which alert log file shows?tnsping + ASM
-
ORA-12521: TNS:listener is not currently of requested instance...
Hi all.
I get this error ORA-12521 after system rebootOracle database 11g Release2 Oracle Grid 11g Release2 Oracle linux 5.5.
This problem only in ud1 UD2 works very well there is no error with the same configuration
but only get error on Node1.
He started working, but when I reboot the system then its the following error throughing
a lot of research and I did the same to what was mentioned in these documents.
I have read somewhere its just temporary error but if its temporary so why its giving the same error all the time on my Node1?
There should be reason for this guide please so me and if possible help me out.thanks beforehand.
Here is the error.
Note:-he started working, but when I reboot the system, then the same error is provided.SQL*Plus: Release 11.2.0.1.0 Production on Tue May 31 01:38:46 2011 Copyright (c) 1982, 2009, Oracle. All rights reserved. Enter user-name: sys/****@racdb1-taf as sysdba ERROR: ORA-12521: TNS:listener does not currently know of instance requested in connect descriptor
Hello
Try the following.
RACDB2-TAF = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = racnode2-vip)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = racnode1-vip)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = racdbXDB.localdomain.com) (INSTANCE_NAME = racdb2) (FAILOVER_MODE= (BACKUP=RACDB1-TAF) (TYPE=SELECT) (METHOD=PRECONNECT) ) ) ) RACDB1-TAF = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = racnode1-vip)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = racnode2-vip)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = racdbXDB.localdomain.com) (INSTANCE_NAME = racdb1) (FAILOVER_MODE= (BACKUP=RACDB2-TAF) (TYPE=SELECT) (METHOD=PRECONNECT) ) ) )
Sarah
Maybe you are looking for
-
Design jet 500: 500 Print Design
Does anyone know the screws of mounting/wire? I look lost in a recent move and really need this printer is operational.
-
Y570 - sound disappears when using some applications
Hello everyone, I don't understand what the problem with this laptop When using Skype, as soon as we establish contact video, sound disappears and Skype says there is a problem with my sound card I installed the drivers from the Web site, but that di
-
Several kings with several clamps
Hello, I'm playing with the pliers to various VI in Labview 2011 and I have 1 working, but I want to have more than 1 (probably 3). I already know about CTRL to make a new KING, but I have no idea how to do to send this information in the clip-VI, an
-
Hello How it would format the flash size is zero USB device ID: VID = 03F0 PID = 5307
-
Windows 7 on vmware began to tell me his real is no longer
A few months back I migrated to my laptop HP Windows 7 64 Home Premium via Vmware for my Macbook Pro. The migration itself went smoothly, but as expected windows reported it wasn't authentic. I was quite ready to purchase a full license then follow