ORA-21700: object does not exist or is marked for deletion - nested table

Hi, please see my procedure. It comes to delete records in a table whose primary keys will be given in comma separated format.

but he triggers the following error

ORA-21700: object does not exist or is marked for deletion
ORA-06512: at the 'scott '. PKG_COUNTRY', line 4598
ORA-06512: at line 10
Pr_Del_Regional_DtlORA-21700: object does not exist or is marked for deletion
Process is complete.
Disconnection from the database tfo_user-watson.


/ * In format on 12/05/2011 14:47 (trainer more v4.8.7) * /.



Varchar_table. ARRAY TYPE IS VARCHAR2 (5); -in the scope of package


PROCEDURE Pr_Del_Regional_Dtl)
pi_v_country_id IN VARCHAR2, seperateed comma for deletion
po_results ON sys_refcursor
)
IS
l_varchar_table varchar_table: = varchar_table ();
BEGIN
pr_split_varchar_values (pi_v_country_id, l_varchar_table); -divides: separation by a comma to the nested table.

DELETE FROM regional_setup
WHERE country_id IN (SELECT *)
TABLE (l_varchar_table)); -removed
EXCEPTION
WHILE OTHERS
THEN
DBMS_OUTPUT. Put_line ("Pr_Del_Regional_Dtl" |) SQLERRM);
LIFT;
END Pr_Del_Regional_Dtl;

split-
PROCEDURE pr_split_varchar_values)
pi_v_values IN VARCHAR2,
op_varchar_table ON varchar_table
)
IS
l_v_value VARCHAR2 (3000);
l_value VARCHAR2 (10);
I PLS_INTEGER: = 0;
BEGIN
op_varchar_table: = varchar_table ();
l_v_value: = pi_v_values;

IN all, LENGTH (l_v_value) > 0
LOOP
i: = i + 1;

IF INSTR (l_v_value, ",") > 0
THEN
op_varchar_table. EXTEND;
op_varchar_table (i): =.
LTRIM (RTRIM (SUBSTR (l_v_value, 0, INSTR (l_v_value, ",") - 1)));
ON THE OTHER
op_varchar_table. EXTEND;
op_varchar_table (i): = LTRIM (RTRIM (l_v_value));
l_v_value: = ";
END IF;

l_v_value: =.
SUBSTR (l_v_value, INSTR (l_v_value, ",") + 1,
LENGTH (l_v_value));
END LOOP;
END pr_split_varchar_values;

Thanks in advance
TYPE varchar_table IS TABLE OF VARCHAR2(5); -- in package scope

Have you declared in package or database? Remember, local collection cannot be used in the SQL statement.

Tags: Database

Similar Questions

  • OIC-21700: object does not exist or is marked for deletion

    version: 11.2.0.4.0

    Hello guys, I have a user that when accessing a us01.tab1 of the table becomes the "BEAK-21700: object does not exist or is marked for deletion" error.

    when its "select * of us01.tab1 ' it's getting that error."

    but he is able to access this table if he types in individual column names of the table "select < column-1 >, < column-2 >, < column-3 > us01.tab1.

    the user is also able to "select count (*) from us01.tab1.

    It's just with "select *", is having problems with. "" It has all created necessary synonyms.

    Now when I do a "select * from us01.tab1" I get the result I wanted. As far as I see it, there is nothing wrong with the table, it is in a valid state and it does not exist in the schema us01.

    Can one help me to find what I'm missing here.

    Thank you

    The problem with that was the nested tables. I have granted execute privileges on tables nested and created of synonyms for the nested tables, and it worked. Thanks for the suggestions guys.

  • I got an error 1075 service does not exist or is marked for deletion

    When I try to start windows media sharing service reader network I get error 1075. I think I need the UPnP service but it is not in my services, how can I get and install or if im doing something wrong, can someone please help I want to stream video and audio to my xbox 360

    Hi Sarah,.

    You can also run the checker (SFC Scan) system files on the computer and check if it helps to find the UPnP service. The file system (CFS) Checker tool helps to determine if the problem you are experiencing is caused by one or more system files that are used by Windows, the System File Checker utility analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    a. Click Start and type cmd in the box start the search.

    b. right click on cmd in the list programs, and then click Run as administrator.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue

    c. at the command prompts, the following line and press ENTER: sfc/scannow

    When the analysis is complete, check to see if the problem you are experiencing is resolved. Later, try to start the UPnP service and check if it helps.

    Access the link below for more information about the System File Checker tool

    http://support.Microsoft.com/kb/929833

    I hope this helps. Let us know the results.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • ORA-12545: Connect failed because target host or object does not exist

    Hi all

    I am not able to connect database remotely. I have two servers with the name U.S. and localhost. Here are my coordinates tns:

    Details of the host server we:

    [oracle@US admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@US admin] $ more sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = US.localdomain


    [oracle@US admin] $ more/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : US.localdomain6 1 U.S.

    Remote Ping US server location:

    [oracle@US admin] $ ping 192.168.188.131

    PING 192.168.188.131 (192.168.188.131) 56 (84) bytes of data.

    64 bytes from 192.168.188.131: icmp_seq = 1 ttl = 64 time = 0,662 ms

    64 bytes from 192.168.188.131: icmp_seq = 2 ttl = 64 time = 0,558 ms

    64 bytes from 192.168.188.131: icmp_seq = 3 ttl = 64 time = 0,566 ms

    64 bytes from 192.168.188.131: icmp_seq = 4 ttl = 64 time = 0,603 ms

    64 bytes from 192.168.188.131: icmp_seq = 5 ttl = 64 time = 0.575 ms

    ^ C

    -192.168.188.131 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4002ms

    RTT min/avg/max/leg = 0.558/0.592/0.662/0.048 ms

    Details of the server remote localhost:

    [oracle@localhost admin] $ more tnsnames.ora

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@localhost admin] $ cat/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : 1 localhost6.localdomain6 localhost6


    [oracle@localhost admin] $ cat sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = localhost.localdomain

    [oracle@localhost admin] $ listener.ora more

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = prod. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = prod)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@localhost admin] $ lsnrctl status


    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 4 February 2014 16:49:36

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date February 4, 2014 16:42:09

    Uptime 0 days 0 h 7 min 26 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    Summary of services...

    Service "prod. The WORLD' has 1 instance (s).

    Instance "prod", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    Location of ping to the server hosting remote localhost:

    [oracle@localhost admin] $ ping 192.168.188.130

    PING 192.168.188.130 (192.168.188.130) 56 (84) bytes of data.

    64 bytes from 192.168.188.130: icmp_seq = 1 ttl = 64 time = 1.57 ms

    64 bytes from 192.168.188.130: icmp_seq = 2 ttl = 64 time = 0,223 ms

    64 bytes from 192.168.188.130: icmp_seq = 3 ttl = 64 time = 0,577 ms

    64 bytes from 192.168.188.130: icmp_seq = 4 ttl = 64 time = 0,571 ms

    64 bytes from 192.168.188.130: icmp_seq = 5 ttl = 64 time = 0,568 ms

    ^ C

    -192.168.188.130 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4006ms

    RTT min/avg/max/leg = 0.223/0.703/1.578/0.458 ms

    Connection database target mode ensures via RMAN:

    [oracle@localhost admin] $ rman target sys/oracle_4U@PROD auxiliary sys/oracle_4U@PROD_STBY


    Recovery Manager: release 11.2.0.1.0 - Production on Tue Feb 4 16:56:45 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-00554: initialization of the package manager internal collection failed

    RMAN-04005: target database error:

    ORA-12545: Connect failed because target host or object does not exist

    Please let me know the cause of this error and it please help me how can I solve it.

    Kind regards

    Michel

    OK, so you have a software firewall (IPTables) running.  By default, it will not be configured to accept connections on port 1521.  You have two options...

    (1) disable the firewall completely.  Run these commands to do this...

    stop /etc/init.d/iptables

    chkconfig iptables off

    The first command stops the service.  The second command prevents revived at every restart of the OS.

    (2) add an exception to the firewall for port 1521.  I'm not a Linux expert, but it should be something like this...

    Change the configuration of IPTables with vi...

    VI/etc/sysconfig/iptables

    Add a new rule as follows...

    -A of ENTRY m state - state NEW-m tcp tcp - dport 1521-j ACCEPT Pei

    Save and close, and then restart the IPTables service...

    /etc/init.d/iptables restart

    NOTE: you must always change the name of this server to something other than "localhost".

  • DESC DBA_DATA_FILES / ORA-04043: dba_data_files object does not exist

    Hi I have Oracle 10.1.0.5; on IBM AIX. After the disk failure, I have a problem with corruption of block cancel and I am unable to use dba_data_file view.



    SQL > desc dba_data_files

    ERROR:

    ORA-04043: dba_data_files object does not exist





    SQL > desc dba_tablespaces

    Name Null? Type

    ----------------------------------------- -------- ----------------------------

    NOM_TABLESPACE NOT NULL VARCHAR2 (30)

    BLOCK_SIZE NOT NULL NUMBER

    NUMBER OF INITIAL_EXTENT

    NUMBER OF NEXT_EXTENT

    MIN_EXTENTS NOT NULL NUMBER

    NUMBER OF MAX_EXTENTS

    NUMBER OF PCT_INCREASE

    NUMBER OF MIN_EXTLEN

    STATUS VARCHAR2 (9)

    CONTENT VARCHAR2 (9)

    RECORD VARCHAR2 (9)

    FORCE_LOGGING VARCHAR2 (3)

    EXTENT_MANAGEMENT VARCHAR2 (10)

    ALLOCATION_TYPE VARCHAR2 (9)

    PLUGGED_IN VARCHAR2 (3)

    SEGMENT_SPACE_MANAGEMENT VARCHAR2 (6)

    DEF_TAB_COMPRESSION VARCHAR2 (8)

    VARCHAR2 (11) RETENTION

    BIGFILE VARCHAR2



    What is the problem? Database is running.



    Thanks in advance

    Database is running.

    According to metalink following note

    ORA-4043 on DBA_ View (s) if they are described in a mount Statge [ID 296235.1] *.

    It seems completing desc DBA_ views in the State, you have to bounce back or clear the shared pool.

    For more details check the note.

  • TNS-12545: Connect failed because target host or object does not exist

    Hi all

    I have two hosts with me. 1 host1 and 2. host2. Host1 have ORCL database. And when I'm doing the tnsping to host2 for database ORCL I get error below.

    [oracle@host2 ~] $ hostname

    host2.example.com

    [oracle@host2 ~] $ tnsping ORCL

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 5 April 2014 20:31:40

    Copyright (c) 1997, 2009, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))

    TNS-12545: Connect failed because target host or object does not exist

    Here's my tns annually involves Details:

    on host1:

    [oracle@host1 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ORCL)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host1 admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    LSNRCTL > status

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host1.example.com) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date April 5, 2014 20:09:33

    Uptime 0 days 0 h 25 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/host1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=host1.example.com) (PORT = 1521)))

    Summary of services...

    Service "ORCL" has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    Service "ORCL. The WORLD' has 1 instance (s).

    Instance "ORCL", status UNKNOWN, has 1 operation for this service...

    Service 'ORCLXDB' has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    The command completed successfully

    On host2:

    [oracle@host2 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = MYTEST. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = MYTEST)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host2 admin] $ tnsname.ora more

    TNSNAME.ora: no such file or directory

    [oracle@host2 admin] $ more tnsnames.ora

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    Please help me what I do in configuring the listener and tns.

    Kind regards

    Michel

    fb767351-A660-4b18-9a9f-73bc141f6a0c wrote:

    Hi all

    I have two hosts with me. 1 host1 and 2. host2. Host1 have ORCL database. And when I'm doing the tnsping to host2 for database ORCL I get error below.

    [oracle@host2 ~] $ hostname

    host2.example.com

    [oracle@host2 ~] $ tnsping ORCL

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 5 April 2014 20:31:40

    Copyright (c) 1997, 2009, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))

    TNS-12545: Connect failed because target host or object does not exist

    If your entry for "ORCL" tnsnames decided to 'contact' indicated info.  He tried to send a ping packet to the server identified by "(HOST = host1.example.com)". "  Oracle tns transmitted the request to the network stack of BONES for the resolution and routing.  Here, 'host1.example.com' host name could not be resolved to an IP address, or if it was, it was an IP address that is a dead-end.

    Here's my tns annually involves Details:

    We see the details necessary out of your tnsping tns.  Since the application never had the host (as is obvious in the error message), nothing about the questions of the listener - he never got.

    on host1:

    As your example tnsping host2, and says that the error message obvious host1 is nowhere to be found, like the listener, none of the files of configuration on host1 question - demand ever on host1.

    [oracle@host1 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ORCL)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host1 admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    LSNRCTL > status

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host1.example.com) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date April 5, 2014 20:09:33

    Uptime 0 days 0 h 25 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/host1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=host1.example.com) (PORT = 1521)))

    Summary of services...

    Service "ORCL" has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    Service "ORCL. The WORLD' has 1 instance (s).

    Instance "ORCL", status UNKNOWN, has 1 operation for this service...

    Service 'ORCLXDB' has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    The command completed successfully

    On host2:

    Okay, the problem being that a client on host2 couldn't solve a connection to hos1, these could be revealing.

    [oracle@host2 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = MYTEST. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = MYTEST)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    Except that in the example, we work with, host2 is the customer, trying to reach a database on host1.  Any listener on host2 is totally irrelevant.

    [oracle@host2 admin] $ tnsname.ora more

    TNSNAME.ora: no such file or directory

    [oracle@host2 admin] $ more tnsnames.ora

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    It's the only tns configuration file that is important for the problem at hand.  And we already knew what he said, since the output of your command of tnsping.

    Please help me what I do in configuring the listener and tns.

    Kind regards

    Michel

    Is "host1.exampl.com" the real hostname of your machine "host1"?  Or you made that blur in your ad - thing quite legitimate to do this for security reasons.

    Whatever, this is not really a matter of tns, unless of course 'host1.example.com' is really what you put in the tnsnames file, but your server "host1" became really something else.

    Assuming that 'host1.example.com' is the correct value, debugging starts with the following:

    [oracle@host2 admin] $ ping host1.example.com

    [oracle@host2 admin] $ tracerout host1.example.com

  • Import error: ORA-01435: user does not exist

    Hi all

    I am importing a dump in the Database, the dump of old financial version 6 [EBIZ] 11g

    I gave this command:

    IMP FILE = EXPDUMP. DMP BUFFER = 524288000 FULL = THERE IGNORE = Y
    Import a user and password given system...

    Once it has started and error

    + ' MODIFY USER «INFUSE' QUOTA UNLIMITED ON «OTHERD +»
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'INFUSE' does not exist
    IMP-00017: statement failed with error ORACLE 1918:
    + "MODIFY USER «DUB_QUERY" QUOTA UNLIMITED ON «OTHERD +»
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'DUB_QUERY' does not exist
    IMP-00017: statement failed with error ORACLE 1918:
    + "MODIFY USER QUOTA UNLIMITED ON"OEM_REPOSITORY '"+" OEMV22"
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'OEMV22' does not exist
    IMP-00017: statement failed with error ORACLE 1918:
    + "MODIFY USER"W03063_ITD"QUOTA UNLIMITED ON 'TEMP' QUOTA UNLIMITED ON"OEM_R"+"
    + «EPOSITORY "«+»
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'W03063_ITD' does not exist
    +. import of objects of APPS in APPS +.
    IMP-00003: ORACLE error 1435
    ORA-01435: user does not exist
    +. import objects of DUB_QUERY to the DUB_QUERY +.
    IMP-00003: ORACLE error 1435
    ORA-01435: user does not exist
    +. import objects from SYSTEM to SYSTEM.
    +. import APPLSYS objects in the APPLSYS. +
    + "ALTER SESSION SET CURRENT_SCHEMA ="APPLSYS"" + "
    IMP-00003: ORACLE error 1435
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully

    Kindly advice me what is evil,

    I created all the data of the same files as the old database. both importing all the users will created, if its OK then why this ' * ORA-01435: user does not exist * "coming...


    Concerning

    Paja

    Published by: hamza on July 2, 2012 04:50

    I created all the data of the same files as the old database. so when importing all users will be created

    In my first test I didn't create all the users before importing, just give this command all users imported without any errors.

    Assuming that 'data files' mean 'spaces', are you sure that all the storage spaces have been created (including temporary)?

    I did the same thing to dozens of times (not with a version so old, I must say), and I got these errors when some tablespace has not been created.

  • Save for precedent: the "Attachment" object does not exist in the previous version

    I'm trying to save a very simple VI from LabVIEW 2013 SP1 to LabVIEW 2009 but I get this strange error.  The VI contains only basic ex that are available in all versions of LabVIEW (shift logical AND Select,<=, u8). ="" when="" i="" try="" to="" save="" it="" for="" labview="" 2009,="" it="" gives="" me="" the="" following="">

    Missing object.  The "Attachment" object does not exist in the previous version.

    I thought first of all it had to do with being possessed by a lvclass, but even after that I removed the class (and unplugged from the lvclass) it always gives me this warning.

    When I try to open it with 2009, it will fail to load the schema-block (error 6).

    The next thing I tried was to copy the block diagram for a new VI and re - create the connector pane, but that doesn't change anything.

    Any ideas?

    Maybe "attachment" made reference to an attached comment (the arrow of a free label for an object on the diagram). I don't expect the presence of attached comments to cause a SFPed VI to not open, but it's the only thing I can think of. Try to remove any comment attached to your diagram and SFPing and see if that solved the problem.

  • ORA-24756: transaction does not exist

    Hi guys,.

    DB version: 10.2.0.5.

    Can advise you on the error message ' ORA-24756: transaction does not exist "?
    I reco process not able to clear the uncertain transaction '30.24.90819' because of this.
    I have manually deleted it tables 2pc. However you will want to find out why Recon is not clear.

    Thank you


    Journal Alerts:
    Mon 02 dec 10:53:17 OSH 2011
    DISTRIB TRAN bea1.6B223A6F9DBE9BA3A0D3
    is local tran 30.24.90819 (hex = 1e.18.162c3)
    Insert waiting for loan tran, Yvert = 7738019887590 (hex = 709.a5ed39e6)
    Mon 02 dec 10:53:17 OSH 2011
    Errors in the /admin/bdump/ordb_reco_6561.trc file:
    ORA-24756: transaction does not exist
    Mon 02 dec 10:53:17 OSH 2011
    Errors in the /admin/bdump/ordb_reco_6561.trc file:
    ORA-24756: transaction does not exist


    In the trace file:
    2011-12-02 10:53:17.979
    ERROR, tran is 30.24.90819, ose = 0:
    ORA-24756: transaction does not exist
    2011-12-02 10:53:17.984
    ERROR, tran = 30.24.90819, session #= 2, ose = 0:
    ORA-24756: transaction does not exist

    Salvation;

    Check this thread please:
    ORA-24756

    Respect of
    HELIOS

  • Error: [ORA-02289: sequence does not exist.] -

    Hi guys!

    I have a problem when creating a package body.
    The bellows of the sequence is not known, and it is in the PACKAGE BODY:
    SELECT CAMPO_SEQ. CURRVAL IN pNewID FROM DUAL;

    Let me put the script and execution as:

    SQL > CREATE or REPLACE PACKAGE in the CAMPO_PACK
    2
    3 TYPE T_CURSOR IS REF CURSOR;
    4
    5 PROCEDURE InserirCampo (pNewID NUMBER, pCod_Requisicao NUMBER, pCod_Ti
    poCampo NUMBER, pCampo VARCHAR2, pDataInicial TIMESTAMP, TIMESTAMP, p pDataFinal
    Cod_Cidade NUMBER,
    6 pLogradouro VARCHAR2, VARCHAR2, VARCHAR2 pComplemento pNumero, GO pBairro
    RCHAR2, PDCP VARCHAR2, pProtocoloRelacionado VARCHAR2);
    PROCEDURE GetCamposByRequisicaoID (the pCod_Requisicao NUMBER, IO_CURSOR OUT 7
    T_CURSOR);
    8 PROCEDURE DeletarByRequisicaoID (pCod_Requisicao NUMBER);
    9
    10 END CAMPO_PACK;
    11.

    Package created.

    SQL > CREATE or REPLACE PACKAGE BODY CAMPO_PACK as
    2
    3 PROCEDURE InserirCampo (pNewID NUMBER, pCod_Requisicao NUMBER, pCod_Ti
    poCampo NUMBER, pCampo VARCHAR2, pDataInicial TIMESTAMP, TIMESTAMP, p pDataFinal
    Cod_Cidade NUMBER,
    4 pLogradouro VARCHAR2, VARCHAR2, VARCHAR2 pComplemento pNumero, GO pBairro
    RCHAR2, PDCP VARCHAR2, pProtocoloRelacionado VARCHAR2) AS
    5 BEGIN
    6 INSERT INTO Campo (Cod_Requisicao, Cod_TipoCampo, Campo, DataInicial, D
    ataFinal, cod_cidade, number, complement, Bairro, CEP, Logradouro, ProtocoloRel
    acionado)
    7 VALUES
    8 (pCod_Requisicao, pCod_TipoCampo, pCampo, pDataInicial, pDataFinal, BCP
    d_cidade, pLogradouro, pNumero, pComplemento, pBairro, PDCP, pProtocoloRelaciona
    (c);
    9
    * 10 SELECT CAMPO_SEQ. CURRVAL IN pNewID FROM DUAL; *
    END 11 InserirCampo;
    12
    PROCEDURE GetCamposByRequisicaoID (the pCod_Requisicao NUMBER, IO_CURSOR OUT 13
    T_CURSOR)
    14 EAST
    15 V_CURSOR T_CURSOR;
    BEGIN 16
    17 OPEN FOR V_CURSOR
    18 SELECT C, Cam.Cod_TipoCampo, Cam.Cod_Requisicao, Cam.Cod_Campo
    AM. Campo, Cam.DataInicial, Cam.DataFinal, Cid.Cod_Cidade, Cid.NomeCidade, Cid.Co
    d_UF, UF. Description UFDescricao,
    Cam.Logradouro 19, Cam.Numero, Cam.Complemento, Cam.Bairro, Ca
    m.CEP, Cam.ProtocoloRelacionado
    Campo Cam 20
    21 LEFT JOIN Cidade Cid ON Cid.Cod_Cidade = Cam.Cod_Cidade
    A JOIN LEFT 22 UF ON UF. Cod_UF = Cid.Cod_UF
    23 WHERE Cod_Requisicao = pCod_Requisicao;
    24 IO_CURSOR: = V_CURSOR;
    25 END GetCamposByRequisicaoID;
    26
    27 PROCEDURE DeletarByRequisicaoID (pCod_Requisicao NUMBER) HAVE
    BEGIN 28
    29 DELETE FROM campo
    30 WHERE cod_requisicao = pcod_requisicao;
    ENDS 31 DeletarByRequisicaoID;
    32
    END 33 CAMPO_PACK;
    34.

    Warning: Package body created with compilation errors.

    SQL > show err
    Erros para PACKAGE BODY CAMPO_PACK:

    LINE/COL ERROR
    -----------------------------------------------------------------
    10/5 PL/SQL: statement ignored
    10/12 PL/SQL: ORA-02289: sequence does not exist.
    SQL >

    What must I do to solve this problem?
    Thanks for the help!

    Anderson

    If there is no selected line then don't create the sequence by giving this command
    create sequences CAMPO_SEQ begins with 1 increment of 1;

    Arpit sinha
    www.OracleDBA.in

  • ORA-20000: Schema does not exist or insufficient privileges

    Salvation of DBA

    I do the upgrade from 9.2.0.6 to 10g database
    I'm following ID. doc. 316889.1 - step 7
    I get the following error while taking backup existing statistics as follows:

    SQL > exec dbms_stats.export_schema_stats ('WMSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('WMSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: WMSYS Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1

    SQL > exec dbms_stats.export_schema_stats ('XDB', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('XDB', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: XDB Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('WKSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('WKSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: WKSYS Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('LBACSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('LBACSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: LBACSYS Schema does not exist or not sufficient to analyze privileges
    an object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('DMSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('DMSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: DMSYS Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('SI_INFORMTN_SCHEMA', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('SI_INFORMTN_SCHEMA', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: SI_INFORMTN_SCHEMA Schema does not exist or insufficient privileges
    to analyze an object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1

    Please guide me to solve the problem above.

    Thank you
    SG

    SG,

    You can ignore these errors.

    Note: 359483.1 - upgrade from 9.2.0.6 to 10.1.0.4.2 with Applications 11.5.10.2
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=359483.1

    Kind regards
    Hussein

  • table or view does not exist error when you try to generate tables of database online.

    Hello

    I use Jdeveloper 12 c and is trying to generate tables of a database in offline mode, I created, for a connection of database online. The error message that appears is:

    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist.

    More information:

    The database I use is Oracle11g Database Release 2. And I get a warning saying that the 12 c functionality will be lost when generating an 11 g database.

    In addition, the problem occurs only when I have foreign key constraints in my table. All the other tables that have no foreign key constraints generates very well.

    Any ideas why this happens?

    Thank you!

    Instead of directly generating the DB, generate a sql script. Then, you see the generated statement and can run the script using a db sql worksheet.

    If you get the error, you can view the script here.

    Timo

  • Error 1075 coil dependacy service does not exist or has marked the removal of the form

    Have a Cannon printer who worked again for more than 12 months.  I have a moment, she does not handle and I receieved a notice that the error 1075, identified as a dependency service doesn't exist or has been marked for deletion.  I went on a Microsoft program that checked my complete system and came up with the answer PRINT SPOOLER NOT CONNECTED may NOT HELP.  I worked on this problem for two weeks check other sources on the Internet successfully.  Is the answer to this situation TO REMOVE MY WINDOWS XP PROGRAM AND re-install.

    There is another way from a command prompt, enter:

    sc qc spooler

    and you'll see everything:

    XR | GetServiceConfig SUCCESS

    Service_Name: Spooler
    TYPE: 110 WIN32_OWN_PROCESS (interactive)
    STARTUP TYPE: 2 AUTO_START
    ERROR_CONTROL: 1 NORMAL
    BINARY_PATH_NAME: C:\WINDOWS\system32\spoolsv.exe
    LOAD_ORDER_GROUP: SpoolerGroup
    TAG                : 0
    Display_name: Print spooler
    DEPENDENCIES: rpcss
    SERVICE_START_NAME: LocalSystem

  • Cannot delete alias if the referenced object does not exist

    My JavaScript does not alias in OSX when the referenced object no longer exists. The bug occurs on a network volume when the referenced object has been deleted or moved from another system. Do you have any idea how to remove/relpace this alias dead with JavaScript? Why it is not possible to remove an alias with a missing object? Thank you for helping me!

    myShortcut.remove ();

    Bildschirmfoto 2012-03-21 um 10.52.26.png

    Hmm. I have no problem removing broken aliases created in the Finder, but am not able to delete the symlinks broken on remote filesystems created with ln -s (or withile.createAlias ()f). Seems to be a bug for me, as the broken symbolic link can be deleted otherwise (in the Finder or with rm ). I guess you can use doScript() and an Applescript script:

    app.doScript('tell application "Finder" to delete POSIX file "' + myShortcut.fsName + '"', ScriptLanguage.APPLESCRIPT_LANGUAGE);
    

    Slow, however. You can use a 'do shell script' Applescript with rm but the multiple levels of bids and escape are a puzzle.

    Jeff

  • [MN] Analytic workspace object does not exist

    I follow the tutorial here: http://st-curriculum.oracle.com/obe/db/11g/r1/olap/cube/buildicubes.htm

    For our work environment, all data from the source is located in the OLAPTRAIN schema, but all dimensions and cubes are built in the User1 schema. To do this, I just changed all mappings to the good OLAPTRAIN schema. However, when I get to the step of loading and display of Cube data and click on maintain Cube SALES_CUBE I get the following error:

    INI: error creating a generic Manager definition to TxsOqConnection::generic < BuildProcess > INI: XOQ-00703: error running command OLAP DML «(STATLEN (USER1.» SALESTRACK_USER1! (TIME): ORA-34492: workspace object Analytics User1. SALESTRACK_USER1! There is no such thing as TIME.
    ') ', Generic TxsOqAWManager::evaluateExpression

    I guess that it refers to the TEMPORAL dimension of the User1, that exists. The TIME dimension was created using a template, but there seems to be something wrong with it so I recreated the dimension from scratch, you re-create the mappings between the original model of TIME. Old TIME dimension has been deleted, and now only the manually generated TIME dimension exists.

    Any ideas?

    Run the following command to list the dimension objects in the AW.

    set serverout on
    begin
    dbms_aw.execute(q'!
     aw attach USER1.SALESTRACK_USER1
     listnames dimension
    !');
    end;
    /
    

    The error suggests that the TIME is not a dimension in the AW. It is possible that you will find something like "(HAE) 1" instead because of the mishap of creation. To locate the name of the physical dimension associated with a logical (AWM) dimension, you can do this. (11.2.0.2 or later.)

    set serverout on
    begin
    dbms_aw.execute(q'!
      show objorg(dim owner 'USER1' 'TIME')
    !');
    end;
    /
    

Maybe you are looking for

  • Random BSOD - Toshiba Qosmio X 500 13R (Windows 7 Home Premium x 64) have min

    I had some problems with random BSOD on my laptop.The laptop itself is relatively new, bought in March of this year, very good model but refently that I started to have problems. One day I closed the laptop and reflections he entered mode 'sleep' but

  • Have my battery to change - Sat A40?

    Hello I have a portable Satellite A40, that I admit, almost my battery but more than a year when reached 20%, it very quickly becomes 3% in less than 5 sec and the portable switch to the standby state. Is it a problem in the software or the battery i

  • How can I set the location of the WordPad window in Windows 7?

    When I open Wordpad in Windows 7, the location of the window is partially off the screen. I can drag the window back to the screen, but after I closed the window off the screen location is used the next time I run the Wordpad application. This happen

  • I'm having a problem with the decryption of incrypted images...

    I have a problem and I need help... kindly, if anyone knows solution tell me please... the problem is I have encrypted my file of my personal photos then my windows has been corrupted and I installed the new window, but now I can not access these ima

  • Update of new PIX of FO

    I have a single PIX of YOUR 515e 6.3.3 running in production. I add a PIX 515e FO, but it runs 6.3.1. I tried to add an IP address to the new PIX of FO, he accepted the configuration and the inside interface had a link with my laptop. But the TFTP an