View materialized, ORA-12008: error in the path of refresh materialized view
I want to refresh a materialized view, but I get an error ORA-12008.Does anyone have an idea? I can't find any errors in my update statement.
CREATE MATERIALIZED VIEW scott.dummy_mv
TABLESPACE test
BUILD IMMEDIATE
USING INDEX TABLESPACE idx_test
REFRESH
START WITH sysdate
NEXT ROUND(SYSDATE)+5/24
WITH PRIMARY KEY
ENABLE QUERY REWRITE
AS
SELECT KM.ID ID
,KM.USERNAME USERNAME
,KM.ABTID ABTID
FROM my_table KM
/
scott@orcl>desc dummy_mv
Name Null? Typ
----------------------------------------- -------- ----------------------------
ID NOT NULL NUMBER(4)
USERNAME NOT NULL VARCHAR2(30)
ABTID NOT NULL NUMBER(4)
scott@orcl>
BEGIN
SYS.DBMS_JOB.REMOVE(6579);
COMMIT;
END;
/
DECLARE
X NUMBER;
BEGIN
SYS.DBMS_JOB.SUBMIT
( job => X
,what => 'dbms_refresh.refresh(''"scott"."dummy_mv"'');'
,next_date => to_date('07.01.2009 05:00:00','dd/mm/yyyy hh24:mi:ss')
,interval => 'ROUND(SYSDATE)+5/24 '
,no_parse => FALSE
);
SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
COMMIT;
END;
/
scott@orcl>exec dbms_refresh.refresh('dummy_mv');
BEGIN dbms_refresh.refresh('dummy_mv'); END;
*
FEHLER in Zeile 1:
ORA-12008: error in materialized view refresh path
ORA-00947: not enough values
ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 820
ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 877
ORA-06512: in "SYS.DBMS_IREFRESH", Zeile 683
ORA-06512: in "SYS.DBMS_REFRESH", Zeile 195
ORA-06512: in Zeile 1
scott@orcl>
dealer says:
I get the same error:scott@orcl>exec dbms_mview.refresh('dummy_mv','c'); BEGIN dbms_mview.refresh('dummy_mv','c'); END; * FEHLER in Zeile 1: ORA-12008: error in materialized view refresh path ORA-00947: not enough values ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 820 ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 877 ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 858 ORA-06512: in Zeile 1
I would first check "request" from the view of the DBA_SNAPSHOTS/DBA_MVIEWS dictionary information, if it reveals something obvious.
But it looks more like an internal error when processing the update. You can get more information on the follow-up to the session error. "Alter session set sql_trace = true;" before running the update should be sufficient. Then unplug and check the trace file generated error using "tkprof" and check the output or by searching manually "err =" in the trace file.
What 4 numbers of Oracle version do you use?
Kind regards
Randolf
Oracle related blog stuff:
http://Oracle-Randolf.blogspot.com/
SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676 /.
http://sourceforge.NET/projects/SQLT-pp/
Tags: Database
Similar Questions
-
ORA-12008: error path refresh materialized view... Bug?
OK, so it's all good. Now, if I create the log of the materialized with the possibility of COMMETTRE SNA view:SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production PL/SQL Release 11.2.0.3.0 - Production CORE 11.2.0.3.0 Production TNS for Linux: Version 11.2.0.3.0 - Production NLSRTL Version 11.2.0.3.0 - Production SQL> drop materialized view log on test_tbl; Materialized view log dropped. SQL> drop materialized view mv_test_tbl; Materialized view dropped. SQL> drop table test_tbl; Table dropped. SQL> create table test_tbl( 2 test_id number(10) primary key, 3 test_name varchar2(10) not null) 4 ; Table created. SQL> insert into test_tbl values (1,'bob'); 1 row created. SQL> insert into test_tbl values (2,'joe'); 1 row created. SQL> insert into test_tbl values (3,'john'); 1 row created. SQL> commit; Commit complete. SQL> create materialized view log on test_tbl 2 with primary key , rowid, sequence 3 ( 4 test_name 5 ) 6 including new values; Materialized view log created. SQL> create materialized view mv_test_tbl 2 refresh fast on commit 3 as 4 select test_id, 5 test_name 6 from test_tbl; Materialized view created. SQL> update test_tbl set test_name = 'hello' where test_id = 1000; 0 rows updated. SQL> commit; Commit complete.
Commit an update that updates no line against a main table for a single table quickly updatable materialized view results in the error above when the log of the materialized on the main table view is created with the option of COMMETTRE YVERT. I'm guessing that's not how things are supposed to work. Or am I missing something here? Someone else has encountered this before?SQL> drop materialized view log on test_tbl; Materialized view log dropped. SQL> drop materialized view mv_test_tbl; Materialized view dropped. SQL> create materialized view log on test_tbl 2 with primary key , rowid, sequence 3 ( 4 test_name 5 ), 6 commit scn 7 including new values; Materialized view log created. SQL> create materialized view mv_test_tbl 2 refresh fast on commit 3 as 4 select test_id, 5 test_name 6 from test_tbl; Materialized view created. SQL> update test_tbl set test_name = 'hello' where test_id = 1000; 0 rows updated. SQL> commit; commit * ERROR at line 1: ORA-12008: error in materialized view refresh path ORA-01006: bind variable does not exist SQL>
See you soon.
Published by: task on 25 January 2013 13:27Hi, detaching,
Looks like that Bug ID 13910043
Concerning
Peter -
Hello
I'm putting it on oracle 11.2.0.1 to 11.2.0.3 DB level but during DBUA, I got error
"ORA-00205: error in the identification of control files, check the log of alerts for more information.
I have check the alerts log in E:\app\kmahalingam\diag\rdbms\orcl\orcl\trace\alert_orcl.txt
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SNA system picked latch-free 3
With the help of LOG_ARCHIVE_DEST_1 parameter value by default as USE_DB_RECOVERY_FILE_DEST
Autotune undo retention is enabled.
IMODE = BR
ILAT = 51
LICENSE_MAX_USERS = 0
SYS audit is disabled
Commissioning:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
Windows NT Version V6.1 Service Pack 1
UC: 8 - type 8664, 8 physical cores
Process affinity: 0 x 0 x 0000000000000000
Memory (success/Total): Ph: 3241 M / 16383 M, Ph + FCP: 16565 M / 32765 M
Using parameters in spfile E:\APP\KMAHALINGAM\PRODUCT\11.2.0\DBHOME_2\DATABASE\SPFILEORCL server-side. ORA
Parameters of the system with default values:
process = 300
sessions = 472
memory_target = 3280M
control_files = 'E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL.
control_files = 'E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
db_recovery_file_dest = 'E:\app\kmahalingam\flash_recovery_area. '
db_recovery_file_dest_size = 3912M
undo_tablespace = 'UNDOTBS1.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = "cpg.com."
dispatchers = "(PROTOCOL=TCP) (SERVICE = orclXDB)" "
audit_file_dest = "E:\APP\KMAHALINGAM\ADMIN\ORCL\ADUMP".
AUDIT_TRAIL = 'NONE '.
db_name = "orcl".
open_cursors = 300
star_transformation_enabled = 'TRUE '.
diagnostic_dest = "E:\APP\KMAHALINGAM".
Fri Mar 07 00:33:15 2014
PMON started with pid = 2, OS id = 25072
Fri Mar 07 00:33:15 2014
PSP0 started with pid = 3, OS id = 25688
Fri Mar 07 00:33:16 2014
VKTM started with pid = 4, OS id = 27608 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
Fri Mar 07 00:33:16 2014
GEN0 started with pid = 5, OS id = 11484
Fri Mar 07 00:33:16 2014
DIAG started with pid = 6, OS id = 16980
Fri Mar 07 00:33:16 2014
DBRM started with pid = 7, OS id = 2200
Fri Mar 07 00:33:16 2014
DIA0 started with pid = 8, OS id = 8024
Fri Mar 07 00:33:16 2014
MA started with pid = 9, OS id = 15688
Fri Mar 07 00:33:16 2014
DBW0 started with pid = 10, OS id = 19908
Fri Mar 07 00:33:16 2014
LGWR started with pid = 11, OS id = 22616
Fri Mar 07 00:33:16 2014
CKPT started with pid = 12, OS id = 12828
Fri Mar 07 00:33:16 2014
SMON started with pid = 13, OS id = 10184
Fri Mar 07 00:33:16 2014
RECCE has started with pid = 14, OS id = 28984
Fri Mar 07 00:33:16 2014
MMON started with pid = 15, OS id = 22288
Fri Mar 07 00:33:16 2014
MMNL started with pid = 16, OS id = 12072
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
commissioning or shared server 1...
Environment ORACLE_BASE = E:\app\kmahalingam
Fri Mar 07 00:33:16 2014
ALTER DATABASE MOUNT
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 marked during: ALTER DATABASE MOUNT...
Fri Mar 07 00:34:46 2014
ALTER DATABASE MOUNT
Fri Mar 07 00:34:46 2014
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 marked during: ALTER DATABASE MOUNT...
Fri Mar 07 00:45:51 2014
change the database editing
Fri Mar 07 00:45:51 2014
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 scored at the course: change the editing of the database...
Fri Mar 07 00:48:13 2014
change the database editing
Fri Mar 07 00:48:13 2014
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 scored at the course: change the editing of the database...
Fri Mar 07 00:52:34 2014
Derives from detected time. Check the file path VKTM for more details.
Fri Mar 07 00:53:46 2014
Closure of proceedings (immediate)
Closure of proceedings: in addition to logons disabled
Stop background MMNL process
MMON background process stop
The high waters = 1 license
All dispatchers/dispatchers and shared servers stop
ALTER DATABASE CLOSE NORMAL
ORA-1507 marked during: ALTER DATABASE CLOSE NORMAL...
ARCH: Disabled archives due to the stop: 1089
Stop process to archive
Archiving is disabled
ARCH: Disabled archives due to the stop: 1089
Stop process to archive
Archiving is disabled
Fri Mar 07 00:53:49 2014
Stop background VKTM process
Fri Mar 07 00:53:51 2014
Instance shutdown complete
Fri Mar 07 00:54:01, 2014
Setting the default value of the parameter parallel_max_servers
320 to 285 because of the value of the process parameters (300)
Help, please
Thank you
According to spfile.
control_files = 'E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL.
control_files = 'E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL.
You mentioned
Davinapochon wrote:
E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL02. CTL file is there but there is no CONTROL01. CTL file.
So little confused here.
E:\APP\KMAHALINGAM\ORADATA\ORCL\--> must contain CONTROL01. CTL
E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\--> must contain CONTROL02. CTL
What is it now?
Anand
-
upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found
Try to repair the security permissions for iTunes for Windows and the empty/corrupted after upgrade/crash iTunes library.
TT2
-
in Windows XP when I try to remove or add a program, I get "Error 1324 the path my pictures contains an invalid character"
Hello
1 is applicable to all programs that you are trying to install this question?
See the methods listed in the section below and check if this helps you resolve the issue.
You may receive one of three error messages when you try to install Streets and Trips or MapPoint
http://support.Microsoft.com/kb/894510I hope this helps.
-
Identification of customer's Windows 7 NFS UID GID information
I am trying to connect to the Windows 7 Client NFS on a server running on a computer (VxWorks) NFS. I am able to properly connect Client NFS software by a 3rd party on the NFS server. However, when I use the Client for NFS provided by Windows 7, I am unable to connect. The \\ip address\share Z: mount"command fails with the error code"the path not found network ". I can't do a ping of the computer running the NFS server.
The NFS Client operating system: Windows 7 Ultimate, 64-bit
Data captured by Wireshark
MOUNT V1 EXPORT call 3rd party client
Identification information Flavor: AUTH_UNIX (1)
Length: 32
Stamp: 0xc7065970Machine name: PC
UID: 1000
GID: 1000MOUNT V1 EXPORT appeal of the NFS client
Identification information Flavor: AUTH_NULL (0)
Length: 0It seems that the credentials of NFS Client are not correct. How can I change the flavor of AUTH_UNIX and the UID and GID to 1000?
Hello VDAEMP,
As Eddie and Sudarshan has said, the Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the public IT pro TechNet forums below:
TechNet - Windows Server
Thank you -
DB not starting not due ORA-00205: error in the identification of 11GRAC control file
Hello
I have it configured in the OEL5 11 g RAC (11.2.0.1.0). When I tried to start the database using the command srvctl or by manually I get the below error. \
RPRC-1079: failed to start of ora.rac.db resources
ORA-00205: error in the identification of control files, see log alerts for more information
CRS-2674: beginning of 'ora.rac.db', 'ractwo' failed
CRS-2632: there is no more servers to try to place the "ora.rac.db" resource on which will achieve its investment policy
ORA-00205: error in the identification of control files, see log alerts for more information
CRS-2674: beginning of 'ora.rac.db', 'racone' failed
The content of the alert below log.
ORA-00210: could not open the specified control file
ORA-00202: control file: "+ RACDG/rac/controlfiles/control02.ctl".
ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control02.ctl
ORA-15001: diskgroup 'RACDG' does not exist or is not mounted
ORA-15055: unable to connect to the ASM instance
ORA-27140: attach to post/wait installation failed
ORA-27300: OS dependent operating system: invalid_egid failed with status: 1
ORA-27301: OS Error Message: operation not permitted
ORA-27302: an error occurred at: skgpwinit6
ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)
ORA-00210: could not open the specified control file
ORA-00202: control file: "+ RACDG/rac/controlfiles/control01.ctl".
ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control01.ctl
ORA-15001: diskgroup 'RACDG' does not exist or is not mounted
ORA-15055: unable to connect to the ASM instance
ORA-27140: attach to post/wait installation failed
ORA-27300: OS dependent operating system: invalid_egid failed with status: 1
ORA-27301: OS Error Message: operation not permitted
ORA-27302: an error occurred at: skgpwinit6
ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)
But my ASM instance is running and I am able to see the controlfiles.
State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block
EXTERN MOUNTED N 512 4096 1048576 20472 13772 0 13772 0 N RACDG.
I don't know is there any problem of perission. Oracle cluster and DB is running as user 'oracle '.
Nobody does face this problem before? Let me know where to check this error.
Kind regards
007
Hello
Check "the correct permission must be" - rwsr - s - x '.»»»
Stop the CRS.
Change the permissions of the file to GI_HOME/bin/oracle for "- rwsr - s - x":$su - grid
$cd GI_HOME/bin
$chmod 6751 oracle
Oracle-l $lsStart the /CRS.
Start your database.
Thank you
Sundar
-
Get ORA-00942 error with the clause, but not when the user sys.
Hello
About 3 weeks ago we increased our memary to PGA_aggregate_target = 60 GB, SGA_target = 58 GB Oracle instance. About 1 week ago our cognos user started having errors ORA-00942 for these queries generated with clause, with the same authorization. i.e.
with 'aBmtQuerySubject4' as
(select "BANK_NOTE_ADI_INFO_T". ' ' PRINT_BATCH_ID ' 'PRINT_BATCH_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
'BANK_NOTE_ADI_INFO_T '. ' ' RDP_ID ' 'RDP_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' FI_ID ' 'FI_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' DEPOSIT_NB ' 'DEPOSIT_NB '.
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_MACHINE_ID ' 'PROCESS_MACHINE_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' OUTPUT_STACKER_TYPE_CE ' 'OUTPUT_STACKER_TYPE_CE '.
'BANK_NOTE_ADI_INFO_T '. ' ' PARTITION_KEY ' 'PARTITION_KEY '.
'BANK_NOTE_ADI_INFO_T '. ' ' LOAD_ID ' 'LOAD_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' SERIAL_NUMBER_ID ' 'SERIAL_NUMBER_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' SHIFT_NB ' 'SHIFT_NB '.
'BANK_NOTE_ADI_INFO_T '. ' ' BANK_NOTE_COUNT_NB ' 'BANK_NOTE_COUNT_NB '.
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
)
'CountResultQuery5' as
(select count ("aBmtQuerySubject4". "BANK_NOTE_COUNT_NB") 'C_1' "
, count (1) 'C_2' of 'aBmtQuerySubject4 '.
After having count (*) > 0)
Select 'CountResultQuery5 '. "' C_2 ' 'Count1.
of 'CountResultQuery5 '.
;
with 'aBmtQuerySubject4' as
(select "BANK_NOTE_ADI_INFO_T". ' ' LOAD_ID ' 'LOAD_ID '.
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
)
'CountResultQuery5' as
(select count ("aBmtQuerySubject4". "LOAD_ID") 'C_1' "
, count (1) 'C_2 '.
of 'aBmtQuerySubject4' having count (*) > 0
)
Select 'CountResultQuery5 '. "' C_2 ' 'Count1' of 'CountResultQuery5 '.
;-output like:
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
*
ERROR at line 3:
ORA-00942: table or view does not exist
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
*
ERROR at line 3:
ORA-00942: table or view does not existSince 2 days ago, we get ORA-0403.
One thing I noticed that the coguser can run above queries correctly after they are run by a user sys...
Could you please help me on how I can resolve ORA-00942 error?
Thank you very much, much in advance for all your help and your advice! :-)
Jihong.
"One thing I've noticed the coguser can run over queries correctly after they are run by a user sys... »
Jihong,
Do you mean that queries can be run successfully as a sys user, or as long as once a sys cognos user user has run the query at least once?
Gerard
-
upgrading startup ORA-00205: error in the identification of control files
Hello
I do a manual upgrade of 10.2.04 to 11.2.03.
I installed 11.2.0.3.
Ran utlu112i.sql
Copied TNSNAMES and LISTENER.ora, init.ora of 10g of House to the respective directories in 11g.
A commented all the dump_dest paramteres in init.ora 11g and added the diagnostic_dest parameter
exports all varaiables as follows.
Export ORACLE_HOME = / oracle/ora11203
export PATH = $ORACLE_HOME/bin: $PATH
export ORACLE_SID = OMIGTEST
Export TNS_ADMIN = $ORACLE_HOME/network/admin
export ORACLE_BASE = / oracle/ora11203/app/ora11203
Now when I try to start DB of the unix session where all above variables are defined, I get after publication.
In init.ora 11 g (which is copied from 10 g), I commented on our path of control file entry.SQL> startup upgrade ORACLE instance started. Total System Global Area 1636892672 bytes Fixed Size 2183056 bytes Variable Size 1090519152 bytes Database Buffers 536870912 bytes Redo Buffers 7319552 bytes ORA-00205: error in identifying control file, check alert log for more info Alert log says as below. ORACLE_BASE from environment = /oracle/ora11203/app/ora11203 Thu Aug 23 15:03:36 2012 ALTER DATABASE MOUNT ORA-00210: cannot open the specified control file ORA-00202: control file: '/oracle/ora11203/dbs/cntrlOMIGTEST.dbf' ORA-27037: unable to obtain file status HPUX-ia64 Error: 2: No such file or directory Additional information: 3 ORA-205 signalled during: ALTER DATABASE MOUNT...
Well want to help me because I do the upgrade for the first time.
Thank you
Published by: user10698496 on August 24, 2012 02:47Yes.
BR,
Pinela. -
ORA-12545 error when the connection to the remote server
Hello
Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit
DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits
I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.
When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.
[oracle@server ~] $ sqlplus scott/tiger@proddb01
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@server ~] $ sqlplus
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter the user name: scott
Enter the password:
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Enter the user name:
Here's my env:
[oracle@server ~] $ echo $ORACLE_SID
PRODRD01
[oracle@server ~] $ echo $ORACLE_HOME
/opt/Oracle/app/product/11.2.0/Client_1
[oracle@server ~] $
Input TNS is:
PRODRD01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRODRD01)
)
)
I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.
Clues please?
Best regards
user130038 wrote:
Hello
Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit
DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits
I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.
When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.
[oracle@server ~] $ sqlplus scott/tiger@proddb01
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@server ~] $ sqlplus
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter the user name: scott
Enter the password:
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Enter the user name:
Here's my env:
[oracle@server ~] $ echo $ORACLE_SID
PRODRD01
[oracle@server ~] $ echo $ORACLE_HOME
/opt/Oracle/app/product/11.2.0/Client_1
[oracle@server ~] $
Input TNS is:
PRODRD01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRODRD01)
)
)
I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.
Clues please?
Best regards
When '@proddb01' is not used, then sqlplus can only connect to a local database, & there is no local database on the client system
-
ORA-01502 error in the case of a unique index unusable and dml in bulk
Hi all.
The BP is 11.2.0.3 on a linux machine.
I did a unique index unusable and issued a dml on the table.
Howerver, oracle gave me the error ORA-01502.
In order to avoid the ORA-01502 error, should I drop the unique index and bulk make dml and rebuild the index?
Or is there another solution without recreating the unique index?
Thanks in advance.create table hoho.abcde as select level col1 from dual connect by level <=1000 10:09:55 HOHO@PD1MGD>create unique index hoho.abcde_dx1 on hoho.abcde (col1); Index created. 10:10:23 HOHO@PD1MGD>alter index hoho.abcde_dx1 unusable; Index altered. Elapsed: 00:00:00.03 10:11:27 HOHO@PD1MGD>delete from hoho.abcde where rownum < 11; delete from hoho.abcde where rownum < 11 * ERROR at line 1: ORA-01502: index 'HOHO.ABCDE_DX1' or partition of such index is in unusable state
Best regards.Do I have to accept the unique index maintenance workload(undo generation/redo for undo generation) when doing bulk dml?
I think so.
The amount of data you load compared to existing data in the table?
If say for example, you add 20%, and then to compare the retention of 20% adds data during the major part collect to create all of the index after insertion so
you choose the drop/recreate the unique indexBest regards
Mohamed Houri
www.hourim.WordPress.com -
ORA-12008: error path refresh materialized view
Hello world
I get a weird error when I try to do a quick refresh on my materialized view. My basic approach is simple, that I had a newspaper of MV on my fact table with all the columns required by the materialized view, sequence, including NEW rowid VALUES.
I have my setup of materialized with a view my summary level, COUNT (*) and COUNT (EXP) for every SUM (EXP). I check the MV_CAPABILITIES_TABLE, and of course, it can be run with fast refresh. I have my fact table in the schema USER1 and my materialized in USER2 schema view.
When I create the materialized view, there is no problem. If I immediately executes a fast refresh (EXEC DBMS_MVIEW. REFRESH ('MY_MV', 'F'); ), once again, no problem.
However, if I run the ETLs that update the source fact table, and then I run the quick update again, I get ORA-120008.
But if I do the exact same MV in the scheme of the User1, I have no problem making quick refreshes. What is happening with this? Is the owner of the table must be the one with the materialized view? User1 and USER2 are on the same PB and have the same table space. Should User2 also select additional subsidies on the source fact table? What I give to select on the MVIEW connect you somehow?
Thanks for the help!
-JoeThe mview journal is a separate table. You must grant select, insert, update, delete on it to the user mview.
-
ORA-12096 error in the log of the materialized on %s view. %s
Hello
I confronted the message special error 'error ORA-12096 in materialized view to connect... ". "When you try to insert it into a table. But... There is not a newspaper of view materialized (none in the current schema or the schema of other users).
Note: I use OraDB10g v2
Thank you.. .to much
SIMSIM,
There should be a mview newspaper that would create this error. This first success looking on google,
http://www.orafaq.com/Forum/t/66160/0/
Check 3 queries mentioned in there with mview and post comments. I hope that we would get little lead.
See you soon
Aman... -
' RMAN: ORA-19502: error on the write file.
Hi all
I have an oracle 9.2.0.6, I take primary database backup, my DB is on Sun box and the data file are raw file systems...
But while taking backup I get an error...
I checked on the internet and I got to know that the error occurred because of the space as such catalogue is on win 2003 oracle db catalog House is having 20 GB of space, while I take backup H:\ here I'm not having more than 100 GB of space...
Please help me solve this problem...
RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of backup command on ch1 channel at 05/11/2009 13:00:19 ORA-19502: write error on file "H:\mainbackup\bk_inc0_65_1", blockno 269825 (blo cksize=8192) ORA-27063: skgfospo: number of bytes read/written is incorrect Additional information: 131072 Additional information: 1048576
The catalog database can be "everywhere". Logically, it makes sense that it is NOT on the same server as the database target.
However, the server on the target database process is one that reads the database files. The server process must connect AS SYSDBA.
See
http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/setup003.htm#sthref211See MetaLink Note # 145843.1 which explains how an RMAN backup of a database on the TARGET computer can write to a drive mounted shared on the network. This is the TARGET database server that must be able to 'see' the shared drive. (The Note covers installation of Windows privileges).
The RMAN Script must specify the mapping that the TARGET server uses for the drive shared as destination drive BackupSet. For example, a database on a Windows Server can write to a drive that is mapped from another Windows Server.For the database on the Solaris server to write to your disk in Windows, you must use NFS, such as Windows 'export' the reader and Solaris Server "monte" drive with a name of 'local' mapping (for example/MNT) and not a name of windows.
-
Error 1324 - the path my pictures contains an invalid character
I tried to run the printer driver for my new HP printer, and also to install MYOB on my computer and both times I got the above error and failed to load programs. At that point, I was running Vista and have just upgraded to Windows 7, but the same problem exists.
Anyone has any advice for me please?
I tried to run the printer driver for my new HP printer, and also to install MYOB on my computer and both times I got the above error and failed to load programs. At that point, I was running Vista and have just upgraded to Windows 7, but the same problem exists.
Anyone has any advice for me please?
Hello
http://support.Microsoft.com/search/default.aspx?query=Error+1324
You should contact HP support
http://welcome.HP.com/country/us/en/support.html
have a great day with OneCare Scan + 50 tips Windows 7even infected with the center of privacy? Learn how to remove this Blog search & response threat Sysinternals Live Tools + Of Live Labs PIVOT + Photosynth + Microsoft Security + Microsoft SUPPORT + Microsoft Live Labs + TRANSLATOR + Office 2010 beta + get Windows LIVE!
Maybe you are looking for
-
Hi all I have a problem that extends to a second monitor screen. I have a t620 with two displays connected via DisplayPort (DisplayPort on Client) and DisplayPort on monitor. Both screens are detected and ThinPro is 'cloned' on both screens. Then I c
-
I'm completely new to DAQ - MX but enough experianced in LabView/.net. I have a simple task of vew to play with my USB-6509: I need numeric constant values for a time to indefinent control the output relays. My problem is that your examples of numeri
-
Original title: Thinkpoint virus Trojan.Horse.Win32.PAV.64 Hello, this morning I received the popup described in: http://www.Malekal.com/Rogue_Faux_MicrosoftSecurityEssentials.php I allowed him to take action, just as described. However, now when I
-
Problems with Windows search and PDF files
Server 2008 R2, the client is Windows 7. I store invoices in digital format PDF in one hand. The server took to the index folder and its contents, added the last addition to Adobe pdf, but if I search documents for words I know are there, nothing i
-
Calls of "Service Control Manager".
Hi, I keep on receiving phone calls from people who say they are of Service Control Manager telling me that my computer's security is compromised. They are making great efforts to convince me that they are genuine, and they know my name, address (and