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.
Tags: Database
Similar Questions
-
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".
-
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 advanceTYPE 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.
-
ORA-01918: user 'APDBA' does not exist
Hello, I have the following statement
The problem is that the APDBA user exists in the database and I get the error ORA-01918: user 'APDBA' does not existCREATE OR REPLACE FUNCTION APDBA.MUNIN_TBS_PCTUSED1 ( tablespace IN VARCHAR2 ) RETURN NUMBER AS A NUMBER; BEGIN SELECT round(100*(sum(bytes)/1024/1024)/(sum(maxbytes)/1024/1024),1) INTO A FROM dba_data_files WHERE tablespace_name = tablespace; RETURN A; END MUNIN_TBS_PCTUSED1; /
Thank you very muchHello again,
As said, there are a few false given ORA-01918-related bugs.
Your version seems to fit these, but you did not provide enough information to give the exact answer suffer you from one of them.There is no point in us trying to solve this problem, you must open a SR with Oracle.
Concerning
Peter -
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.
-
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
-
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
-
ORA-39083, ORA-00959: tablespace "TEST_LIVE" does not exist
Hello
I'm trying to import using impdp but I am experiencing at the below mentioned error...
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
Table main "TEST_230511." "' SYS_IMPORT_FULL_01 ' properly load/unloaded
Start "TEST_230511". ' SYS_IMPORT_FULL_01 ': TEST_230511/***@GEMSDB REMAP_SCHEMA = RΘPERTOIRE TEST_220511:test_230511 = dump_dict = test_live_230511.DMP test_230511.LOG = LOGFILE DUMPFILE.
Processing object type SCHEMA_EXPORT/USER
ORA-31684: USER object Type: 'TEST_230511' 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/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/DB_LINK
Object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE of treatment
Object type SCHEMA_EXPORT/TABLE/TABLE processing
ORA-39083: object of type THAT TABLE could not create with the error:
ORA-00959: tablespace "TEST_LIVE" does not exist
Because sql is:
CREATE TABLE 'TEST_230511 '. "" C_EXPENSECLAIMS_EMPLOYEE "("C_EXPENSECLAIMS_EMPLOYEE_ID"NUMBER (10.0),"AD_CLIENT_ID"NUMBER (10.0), NUMBER (10,0)"AD_ORG_ID","ISACTIVE"CHAR (1),"CREATED"DATE,"CREATEDBY"NUMBER (10.0), DATE 'DAY', 'UPDATEDBY" NUMBER (10.0), 'TRANSACTION_DATE"DATE, DATE 'EXPENSE_DATE', NUMBER (10.0) 'EXPENSE_TYPE_ID', 'BUDGET' CHAR (1) DEFAULT ('N'), THE NUMBER OF 'AMOUNT')
ORA-39083: object of type THAT TABLE could not create with the error:
ORA-00959: tablespace "TEST_LIVE" does not existORA-00959: tablespace "TEST_LIVE" does not exist
Oracle has clearly tell you, need tablespace whose name is TEST_LIVE on the target database was created after that you can try import again.
-
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.
-
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.
-
ORA-13780: SQL statement does not exist
Hello
on the 11g R2, I get the following message:
Any idea?SQL> variable stmt_task VARCHAR2(64); SQL> EXEC :stmt_task := DBMS_SQLTUNE.CREATE_TUNING_TASK(sql_id => 'gh9p77g1fr0kd'); BEGIN :stmt_task := DBMS_SQLTUNE.CREATE_TUNING_TASK(sql_id => 'gh9p77g1fr0kd'); END; * ERROR at line 1: ORA-13780: SQL statement does not exist. ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79 ORA-06512: at "SYS.PRVT_SQLADV_INFRA", line 125 ORA-06512: at "SYS.DBMS_SQLTUNE", line 655 ORA-06512: at line 1
Thank you.Sql and the sql_id execution plan has been emptied out of the shared pool, so oracle could not find it.
-Thank you
-
ORA-14030: partitioning column does not exist in the CREATE TABLE statement
Hi all
We are trying to create a partition materialized view and get an error below.
ORA-14030: partitioning column does not exist in the CREATE TABLE statement
Our GL_BALANCES21 and GL_CODE_COMBINATIONS21 base tables is already divided by interval of the range on Code_combination_id.
In the same way that we try to partition the view materialized
We get the error.
ORA-14030: partitioning column does not exist in the CREATE TABLE statement
Where the clause there are 4 tables gl_balances21, gl_code_combinations21, gl_periods and gl_set_of_books.
CREATE MATERIALIZED VIEW apps. BAL_PART
PARTITION BY RANGE ("CODE_COMBINATION_ID")
(SCORE LOWER (80000) VALUES,
PARTITION OF LOWER VALUES (160000),
PARTITION OF LOWER VALUES (240000),
PARTITION OF LOWER VALUES (320000),
PARTITION OF LOWER VALUES (400000),
PARTITION OF LOWER VALUES (480000),
PARTITION OF LOWER VALUES (560000),
PARTITION OF LOWER VALUES (640000),
PARTITION OF LOWER VALUES (720000),
PARTITION OF VALUES LESS THAN (800000),
PARTITION OF LOWER VALUES (880000),
PARTITION OF LOWER VALUES (960000),
PARTITION OF VALUES LESS THAN (10400000),
PARTITION OF LOWER VALUES (11200000),
PARTITION OF LOWER VALUES (12000000),
PARTITION OF LOWER VALUES (12800000),
PARTITION OF VALUES LESS THAN (13600000),
PARTITION OF LOWER VALUES (14400000),
PARTITION OF VALUES LESS THAN (15200000),
PARTITION OF LOWER VALUES (16000000),
PARTITION OF VALUES LESS THAN (16800000),
PARTITION OF VALUES LESS THAN (17600000),
PARTITION OF VALUES LESS THAN (18400000),
PARTITION OF VALUES LESS THAN (19200000),
PARTITION OF LOWER VALUES (20000000),
PARTITION OF VALUES LESS THAN (20800000),
PARTITION OF VALUES LESS THAN (21600000),
PARTITION OF VALUES LESS THAN (22400000),
PARTITION OF VALUES LESS THAN (23200000),
PARTITION OF LOWER VALUES (24000000),
PARTITION OF VALUES LESS THAN (24800000),
PARTITION OF VALUES LESS THAN (25600000),
PARTITION OF VALUES LESS THAN (26400000),
PARTITION OF LOWER VALUES (27200000),
PARTITION OF LOWER VALUES (28000000),
PARTITION OF VALUES LESS THAN (28800000),
PARTITION OF VALUES LESS THAN (29600000),
PARTITION OF VALUES LESS THAN (30400000),
PARTITION VALUES LESS THAN (MAXVALUE))
QUICKLY REFRESH ON DEMAND
SELECT the QUERY REWRITE as
SELECT GL.GL_CODE_COMBINATIONS21. ROWID C1,
GL.GL_BALANCES21. ROWID C2,
"GL". "" GL_BALANCES21 ". "" ACTUAL_FLAG, "
"GL". "" GL_BALANCES21 ". "" CURRENCY_CODE "
"GL". "" GL_BALANCES21 ". "" PERIOD_NUM, "
"GL". "" GL_BALANCES21 ". "" PERIOD_YEAR ".
"GL". "" GL_BALANCES21 ". "" SET_OF_BOOKS_ID ""SOB_ID"
"GL". "" GL_CODE_COMBINATIONS21 ". "" CODE_COMBINATION_ID ""CCID.
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT1 ",.
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT10, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" DIRECTION11, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT12, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT13, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT14, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT2 ",.
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT3. "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT4, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT5, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT6, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT7. "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT8, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT9, "
"GL". "" "" GL_PERIODS '. "" PERIOD_NAME,"
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal_Cr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal_Cr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) Open_Bal_Dr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) +.
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Close_Bal_Dr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0).
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal,
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Period_Cr,
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Period_Dr
OF GL.GL_CODE_COMBINATIONS21.
GL.GL_BALANCES21,
GL.GL_SETS_OF_BOOKS,
GL.GL_PERIODS
WHERE GL.GL_BALANCES21. CODE_COMBINATION_ID = GL.GL_CODE_COMBINATIONS21. CODE_COMBINATION_ID
AND GL.GL_SETS_OF_BOOKS. SET_OF_BOOKS_ID = GL.GL_BALANCES21. SET_OF_BOOKS_ID
AND GL.GL_PERIODS. PERIOD_NUM = GL.GL_BALANCES21. PERIOD_NUM
AND GL.GL_PERIODS. PERIOD_YEAR = GL.GL_BALANCES21. PERIOD_YEAR
AND GL.GL_PERIODS. PERIOD_TYPE = GL.GL_BALANCES21. PERIOD_TYPE
AND GL.GL_PERIODS. PERIOD_NAME = GL.GL_BALANCES21. PERIOD_NAME
AND GL.GL_PERIODS. PERIOD_SET_NAME = GL.GL_SETS_OF_BOOKS. PERIOD_SET_NAME
and gl.GL_CODE_COMBINATIONS21.summary_flag! = « Y »
ERROR on line 54:
ORA-01013: user has requested the cancellation of the current operation
I checked the metalink note saying that ensure that all columns in a partitioning column list are columns of
the table being created.
Partition is already there, on the column of code_combination_id of gl_balances21 and gl_code_combinations21.
Please suggest.
Thank youIt's your mistake:
PARTITION BY RANGE ("CODE_COMBINATION_ID")
but in your projection of column list, you have an alias he:
"GL"."GL_CODE_COMBINATIONS21"."CODE_COMBINATION_ID" "CCID",
You must use the alias as a partition key, not the name fom the secondary table column.
--
John Watson
Oracle Certified Master s/n
http://skillbuilders.com -
FDPSTP failed due to the ORA-02149: specified partition does not exist
EBS R12.1.3
Database 11.2.0.2
Error message
**Starts**23-JUL-2012 16:49:21 ORACLE error 2149 in FDPSTP Cause: FDPSTP failed due to ORA-02149: Specified partition does not exist ORA-06512: at "SYSTEM.AD_DDL", line 165 ORA-06512: at "APPS.MSC_MANAGE_PLAN_PARTITIONS", line 371 ORA-14074: partition bound must collate higher than th +---------------------------------------------------------------------------+ Start of log messages from FND_FILE +---------------------------------------------------------------------------+ j := 1 table := MSC_ATP_SUMMARY_SO partition_name : ATP_SUMMARY_SO__1 l_count := 1 Partition for instance 1 already exists table := MSC_ATP_SUMMARY_SD partition_name : ATP_SUMMARY_SD__1 l_count := 1 Partition for instance 1 already exists l_share_partition := N plan count := 0 After Create Partitions +---------------------------------------------------------------------------+ End of log messages from FND_FILE +---------------------------------------------------------------------------+
901629 wrote:
EBS R12.1.3
Database 11.2.0.2
Error message**Starts**23-JUL-2012 16:49:21 ORACLE error 2149 in FDPSTP Cause: FDPSTP failed due to ORA-02149: Specified partition does not exist ORA-06512: at "SYSTEM.AD_DDL", line 165 ORA-06512: at "APPS.MSC_MANAGE_PLAN_PARTITIONS", line 371 ORA-14074: partition bound must collate higher than th +---------------------------------------------------------------------------+ Start of log messages from FND_FILE +---------------------------------------------------------------------------+ j := 1 table := MSC_ATP_SUMMARY_SO partition_name : ATP_SUMMARY_SO__1 l_count := 1 Partition for instance 1 already exists table := MSC_ATP_SUMMARY_SD partition_name : ATP_SUMMARY_SD__1 l_count := 1 Partition for instance 1 already exists l_share_partition := N plan count := 0 After Create Partitions +---------------------------------------------------------------------------+ End of log messages from FND_FILE +---------------------------------------------------------------------------+
How do you get this error?
Please see (INSTALLER ALERT - setting the APS scores upward and Instance of Collections of data in R12 [552415.1 ID]).
Thank you
Hussein -
ORA-14313: value 'Limit' does not exist in the partition DATASET_OTHER
Hi friends,
OS: Linux
Database Version: 10.2.0.2.0
I wanted to add a partition to one of my partitioned table "mapping". Then when I tried to reverse the partitionwith the command below... I got the error ora-14313 code.
Command Used: ALTER TABLE MAPPING SPLIT PARTITION dataset_other VALUES ('CAP') INTO (PARTITION dataset_CAP TABLESPACE TBS_MAPPING_CAP, PARTITION dataset_other);
Please suggest what to do and what is the reason for this? coz of some other partition spilit command executed successfully.Error : ALTER TABLE MAPPING SPLIT PARTITION dataset_other VALUES ('CAP') INTO (PARTITION dataset_CAP TABLESPACE TBS_MAPPING_CAP, PARTITION dataset_other) * ORA-14313: Value 'CAP' does not exist in partition DATASET_OTHERERROR at line 1:
Concerning
UmeshUmesh Gupta wrote:
Here are a few recent records in table
select table_name,partition_name,tablespace_name,high_value,partition_position from USER_TAB_PARTITIONS order by partition_position TABLE_NAME PARTITION_NAME TABLESPACE_NAME HIGH_VALUE PARTITION_POSITION MAPPING DATASET_NAP TBS_MAPPING_NAP 'NAP' 379 MAPPING DATASET_MAP TBS_MAPPING_MAP 'MAP' 380 MAPPING DATASET_SAP TBS_MAPPING_SAP 'SAP' 381 MAPPING DATASET_OTHER TBS_MAPPING DEFAULT 382
Have you checked other values of 378 score very carefully. (Normally) you get the error message means that the value exists somewhere else already.
You could also point out the high_value_length, just in case where the high_value isn't really what it looks like (e.g. some backspaces hide certain content).Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
Author: core Oracle -
ORA-01720: grant option does not exist for ' APPS. FND_PROFILE'
Hi all
When creating view Schema CUSTOM the below error is coming in the deployment.
ORA-01720: grant option does not exist for ' APPS. FND_PROFILE'
Creation of the view, but while giving grants to the APPS error schema has occurred.
Can someone help us please on this?
Kind regards
Suresh Reddy.You must grant EXECUTE on fnd_profile. VALUE, in addition to the tables.
Maybe you are looking for
-
Windows 7 installation / drivers required
I have a "dv4-3029tx' and I installed Windows 8, wiping existing partitions of the drive (it will my recovery), and it would not start due to no available video driver. I want to install Windows 7 from a genuine copy of Windows, no disc HP (that I ha
-
He ke returning eps indicating that it must be defraged... on which I start it, including all... .but it only shows that he is working on "D", and then goes right to the same statement with the warning symbol... I need to have defraged! It becomes ve
-
80 GB SSD drive Alienware-only 11 display in concert.
When I specced my laptop, I chose this for the HD option. 750 GB at 7200 RPM / MIN SATA 6 Gb/s + 80 GB SSD Caching mSATA Yet when I go to system information window it tells me that my SSD drive is Size 10.50 GB (11,271,139,328 bytes) I have an infest
-
Hello everyone, I'm new to BB. now, I can't sovle this problem: how to display the information on a Web site in a BB browser, that can help me and give me a complete example... Thank you, thank you, thank you very much...
-
Computer will not stop connection at the start of the neighbor
I just build myself a new computer a week ago, and for some reason it keeps any connect to my network neighbors whenever the computer wakes up or is turned on. I tried several times to remove the network of my favorite networks and I have it configu